/* Responsive Styles for AL SADAT BRAND */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .collections-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light-gray);
        margin-top: 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 120px 0 80px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Typography */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    
    /* Collections */
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-image {
        height: 300px;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image img {
        height: 400px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 200px;
    }
    
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Collections */
    .card-image {
        height: 250px;
    }
    
    .card-overlay {
        padding: 1.5rem;
    }
    
    .card-overlay h3 {
        font-size: 1.5rem;
    }
    
    /* About */
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .brand-card {
        padding: 1.5rem;
    }
    
    .brand-card img {
        max-height: 60px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* Extra Small Phones */
@media (max-width: 320px) {
    .container {
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        min-width: 180px;
    }
    
    .card-overlay {
        padding: 1rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        padding: 1rem;
    }
}

/* Landscape Phones */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .brand-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .hero-buttons,
    .social-links {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
        color: var(--primary-black);
    }
    
    .hero::before {
        display: none;
    }
    
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
    body {
        background-color: var(--secondary-black);
        color: var(--light-gray);
    }
    
    .header {
        background-color: var(--primary-black);
    }
    
    .logo-text,
    .nav-link {
        color: var(--white);
    }
    
    .featured-collections,
    .brands-section {
        background-color: var(--dark-gray);
    }
    
    .collection-card,
    .brand-card {
        background-color: var(--secondary-black);
        color: var(--light-gray);
    }
}