/* Header Styles */

header {
    background-color: var(--black);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-top {
    background-color: var(--primary-red);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--black);
    transform: scale(1.1);
}

.language-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-toggle button {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-toggle button.active {
    background-color: var(--white);
    color: var(--primary-red);
}

@media (hover: hover) {
    .language-toggle button:hover {
        background-color: var(--white);
        color: var(--primary-red);
    }
}

.header-main {
    padding: 15px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
    margin-left: 20px;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-social a {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .header-social a:hover {
        color: var(--dark-red);
        transform: scale(1.1);
    }
}

.order-btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .order-btn:hover {
        background-color: var(--dark-red);
        transform: translateY(-2px);
    }
}

/* Navigation */
nav {
    background-color: var(--dark-gray);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 40px;
}

.nav-menu li a {
    display: block;
    padding: 15px 0;
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-top-content {
        justify-content: center;
        text-align: center;
    }

    .header-main-content {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
    }

    .logo img {
        height: 50px;
    }
    
    /* Hide site title on mobile */
    .site-title {
        display: none;
    }
    
    /* Social icons and Order button in center */
    .header-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex: 1;
        margin: 0 10px;
    }

    .header-social {
        gap: 10px;
        display: flex;
    }

    .header-social a {
        font-size: 1.1rem;
    }
    
    /* Menu toggle stays on far right, separated */
    .menu-toggle {
        display: block;
        flex-shrink: 0;
        position: absolute;
        right: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .order-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 10px;
    }

    .social-links a {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0;
    }

    .header-actions {
        gap: 8px;
        margin: 0 5px;
    }

    .header-social a {
        font-size: 1rem;
    }
    
    .order-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 40px;
    }
}