/* Header Styles */
header {
    font-family: 'Arial', sans-serif;
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) to control darkness */
}

header .slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

header .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

header .slide.active {
    opacity: 1;
}

header .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

header .menu-toggle {
    position: fixed;
    top: 70px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    width: 30px;
    height: 25px;
}

header .menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

header .menu-toggle .bar:nth-child(1) { top: 0; }
header .menu-toggle .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
header .menu-toggle .bar:nth-child(3) { bottom: 0; }

header .menu-toggle.change .bar:nth-child(1) { transform: rotate(45deg); top: 50%; }
header .menu-toggle.change .bar:nth-child(2) { opacity: 0; }
header .menu-toggle.change .bar:nth-child(3) { transform: rotate(-45deg); bottom: 50%; }

header .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 100px;
}

header .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: flex;
    align-items: center;
    transition: 0.3s;
    white-space: nowrap;
}

header .sidenav a:hover { color: #f1f1f1; }

header .sidenav i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

header .sidenav.open {
    width: 250px;
}

header .hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

header .hero-content {
    max-width: 1200px;
    margin-left: 150px;
    padding: 0 20px;
    text-align: left;
    margin-bottom: 100px;
}

header .hero-text { max-width: 600px; }

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

header p {
    font-size: 1rem;
    margin-bottom: 30px;
    min-height: 60px;
}

header .cta-button {
    background-color: #ff4136;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

header .cta-button:hover {
    background-color: #e53e2d;
}

header .slide-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 100%;
}

header .slide-controls button {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 15px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .slide-controls button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

header .slide-controls .prev { left: 20px; }
header .slide-controls .next { right: 20px; }

header .cart-icon {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    font-size: 24px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

header .cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

header .cart-icon:after {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

header .logo-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;

}

header .logo {
    width: 100px;
    height: auto;
    filter: invert(100%);
}

/*header .contact-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}*/

header .contact-info-left,
header .contact-info-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

header .contact-info span {
    margin: 5px 15px;
    white-space: nowrap;
}

header .contact-info i {
    margin-right: 5px;
}

header .contact-info-spacer {
    height: 20px;
    width: 100%;
}

header .typing-effect::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: white;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 1024px) {
    header .contact-info {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }
    header .contact-info-left,
    header .contact-info-right {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }
    header .contact-info span {
        margin: 2px 10px;
    }
    header .contact-info-spacer {
        height: 20px;
    }
    header .logo-container,
    header .menu-toggle,
    header .cart-icon {
        top: 100px;
    }
    header .logo {
        width: 80px;
    }
    header .sidenav {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    header .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
    }
    header .hero-text {
        max-width: 100%;
    }
    header h1 {
        font-size: 2.5rem;
    }
    header p {
        font-size: 0.9rem;
    }
    header .slide-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    header .sidenav {
        padding-top: 150px;
    }
    header .logo-container,
    header .menu-toggle,
    header .cart-icon {
        top: 120px;
    }
    header .menu-toggle {
        left: 20px;
    }
    header .cart-icon {
        right: 20px;
    }
}


/* Dropdown toggle style */
header .dropdown-toggle {
    padding: 8px 8px 8px 32px;
    font-size: 18px;
    color: #818181;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

header .dropdown-toggle:hover {
    color: #f1f1f1;
}

/* Dropdown content - initially hidden */
header .dropdown-content {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    opacity: 0;
    transform-origin: top;
}

/* Dropdown open - expands and fades in */
header .dropdown-open .dropdown-content {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
}

/* Dropdown links style */
header .dropdown-content a {
    padding: 5px 8px;
    font-size: 16px;
    color: #818181;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

header .dropdown-content a:hover {
    color: #f1f1f1;
}

/* Arrow rotation when open */
header .dropdown-open .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Arrow icon default state */
header .dropdown-toggle .arrow-icon {
    transition: transform 0.3s ease;
    margin-right: 10px;
    margin-left: 10px;
}

/* Arrow icon rotated when dropdown is open */
header .dropdown-toggle .arrow-icon.open {
    transform: rotate(180deg);
}








header .contact-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/*header .contact-info.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}*/


header .logo-container,
header .contact-info {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

header .logo-container.hidden,
header .contact-info.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}
