/* Mobile-first responsive header styles */

/* Basic header layout 
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}*/

/* Adjust content to account for fixed header 
main {
    padding-top: 120px;
    min-height: calc(100vh - 120px);
}


.top-nav {
    background: linear-gradient(to right, #e77d11, #a32525);
    color: white;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}


.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    flex-grow: 1;
}
*/

/* Right section containing language selector */
.right-section {
    display: flex;
    align-items: center;
}

/* Language selector styles */
.language-selector {
    position: relative;
    margin-right: 15px;
}

#language-select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #fff;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    appearance: none;
    padding-right: 25px;
}

.language-selector::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

/* Menu Toggle Button */
.menu-toggle {
    position: fixed;
    top: 25px;
    right: 20px;
    margin-top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Main navigation 
.main-nav {
    background-color: rgba(255, 239, 211, 0.9);
    width: 100%;
}

.main-nav .container {
    padding: 0;
}

.main-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    color: #5a3c2a;
    padding: 12px 15px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-nav li a:hover {
    background-color: #ffd8a1;
    color: #a32525;
}

/* Mobile styles */
@media (max-width: 768px) {

    /* Toggle button icon states */
    .menu-toggle .hamburger {
        display: inline-block;
        font-size: 24px;
        transition: all 0.3s ease;
    }

    .menu-toggle .close-icon {
        display: none;
        font-size: 24px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active .hamburger {
        display: none;
    }

    .menu-toggle.active .close-icon {
        display: inline-block;
    }

    /* Main navigation styling for mobile */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        display: block;
        z-index: 999;
    }

    .main-nav.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* List styling for mobile */
    .main-nav ul {
        display: flex;
        flex-direction: column;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(90, 60, 42, 0.1);
    }

    /* Dropdown styling for mobile */
    .dropdown {
        position: relative;
    }

    .dropdown>a:after {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-left: 10px;
    }

    .dropdown.active>a:after {
        content: "\f106";
    }

    .dropdown-menu {
        display: none;
        background-color: rgba(255, 245, 228, 0.95);
        width: 100%;
        padding-left: 15px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 30px;
    }

    /* Nested dropdowns */
    .dropdown-menu .dropdown-menu {
        padding-left: 15px;
    }
}

/* Footer responsive styles */
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-section {
        margin-bottom: 25px;
    }

    .social-links {
        align-items: flex-start;
    }

    .footer-main {
        padding: 30px 0;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-bottom p {
        font-size: 12px;
        text-align: left;
    }

    .footer-bottom .container {
        text-align: left;
    }

    address {
        font-style: normal;
        line-height: 1.5;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: row;
    }

    /* Desktop dropdown styles would go here */
}