/* ===================================
   BASE RESPONSIVE STYLES
   Shared across all pages
   =================================== */

/* Base responsive settings */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Mobile Navigation (all screens below 768px) */
@media screen and (max-width: 767px) {
    /* Keep header visible but adjust for mobile */
    .header-top {
        padding: 0.5rem 0;
        font-size: 0.8rem;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.25rem;
        line-height: 1.4;
    }
    
    .contact-info span {
        display: block;
    }
    
    /* Simple navigation layout */
    .nav-container {
        padding: 0.75rem 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .site-logo h1 {
        font-size: 1.5rem;
    }
    
    /* Hide menu by default, show when active */
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 20, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(139, 92, 246, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem;
        text-align: center;
        font-size: 1rem;
    }
    
    /* Simple dropdown - always visible on mobile */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(139, 92, 246, 0.1);
        margin: 0.5rem 0;
        padding: 0.5rem;
        border-radius: 5px;
    }
    
    /* Main Content */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links a {
        font-size: 0.85rem;
    }
    
    .footer-info p,
    .additional-contact p {
        font-size: 0.75rem;
    }
}

/* Tablet (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 2rem;
    }
    
    .nav-menu {
        font-size: 0.9rem;
        gap: 0.3rem;
    }
    
    .nav-menu a {
        padding: 0.7rem 1rem;
    }
}

/* Desktop (992px+) */
@media screen and (min-width: 992px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid var(--text-accent);
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-accent);
    transition: all 0.3s ease;
}

@media screen and (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}
