/* =====================================================
   WHITE KUAFÖR SALON - Responsive Styles
   ===================================================== */

/* =====================================================
   Large Devices (desktops, less than 1200px)
   ===================================================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   Medium Devices (tablets, less than 992px)
   ===================================================== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-xl);
        padding: var(--spacing-2xl);
        transition: var(--transition-normal);
        z-index: var(--z-fixed);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 999;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-title span {
        font-size: 1.25rem;
        letter-spacing: 8px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content .section-subtitle,
    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-subtitle::after {
        display: block;
    }

    .about-content .btn {
        display: block;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   Small Devices (landscape phones, less than 768px)
   ===================================================== */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    .section {
        padding: var(--spacing-3xl) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        width: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-title span {
        font-size: 1rem;
        letter-spacing: 6px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-slider-controls {
        bottom: 80px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: var(--spacing-md);
    }

    .whatsapp-float span {
        display: none;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* =====================================================
   Extra Small Devices (portrait phones, less than 576px)
   ===================================================== */
@media (max-width: 575px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-img-wrapper.secondary {
        width: 60%;
        bottom: -20px;
    }

    .experience-badge {
        right: 30%;
        padding: var(--spacing-md);
    }

    .experience-badge .number {
        font-size: 2.5rem;
    }

    .service-card {
        padding: var(--spacing-xl);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .testimonial-card p {
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: var(--spacing-xl);
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-social {
        text-align: center;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* =====================================================
   Landscape Mode Adjustments
   ===================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--spacing-4xl) 0;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-description {
        margin-bottom: var(--spacing-lg);
    }

    .hero-slider-controls {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =====================================================
   Reduced Motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {

    .header,
    .hero-slider-controls,
    .scroll-indicator,
    .whatsapp-float,
    .back-to-top,
    .lightbox {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: auto;
        page-break-after: always;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}