/* Mobile-first responsive design */

/* Large Desktop */
@media screen and (max-width: 1400px) {
    .container {
        padding: 0 15px;
    }
}

/* Desktop */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Tablet */
@media screen and (max-width: 992px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .workshop-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .service-hero-image {
        height: 150px;
    }
    
    /* Masters Cards */
    .master-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .master-photo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Large */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Section spacing */
    .section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Cards and Grids */
    .advantages-grid,
    .services-grid,
    .packages-grid,
    .reviews-grid,
    .philosophy-grid,
    .masters-grid,
    .values-grid,
    .faq-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form,
    .contact-form-detailed {
        padding: 1.5rem;
    }
    
    /* Package cards featured effect */
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Legal content */
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    /* Thank you page */
    .thank-you-message {
        padding: 2rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Service features list */
    .service-features ul {
        grid-template-columns: 1fr;
    }
    
    /* Pricing table */
    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Social links large */
    .social-links-large a {
        justify-content: center;
    }
    
    /* Hours grid */
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Cookie modal */
    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Mobile Medium */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    /* Hero */
    .hero {
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    /* Page hero */
    .page-hero {
        padding: 2rem 0;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary, .btn-text {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Cards */
    .advantage-card,
    .service-card,
    .package-card,
    .review-card,
    .philosophy-card,
    .faq-item,
    .info-card {
        padding: 1.5rem;
    }
    
    .master-card {
        padding: 1.5rem;
    }
    
    /* Achievement numbers */
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .achievement-item {
        padding: 1rem;
    }
    
    /* Package pricing */
    .package-price {
        font-size: 2rem;
    }
    
    /* Service pricing */
    .service-price-range {
        font-size: 1.5rem;
    }
    
    /* Contact items */
    .contact-item-large {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    /* Cookie banner */
    .cookie-content {
        padding: 0 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn-primary,
    .cookie-buttons .btn-secondary,
    .cookie-buttons .btn-text {
        width: 100%;
        text-align: center;
    }
    
    /* Form buttons */
    .form-group .btn-primary {
        width: 100%;
    }
    
    /* Navigation logo */
    .nav-logo img {
        height: 35px;
    }
    
    /* Section icons */
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Feature images */
    .feature-image {
        width: 250px;
    }
    
    /* Success icon */
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Info icons */
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Contact icons */
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Master expertise tags */
    .master-expertise {
        justify-content: center;
    }
    
    /* Step numbers */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Service images */
    .service-image {
        height: 150px;
    }
    
    /* Review stars */
    .review-stars {
        font-size: 1.2rem;
    }
    
    /* Social icons in footer */
    .social-links a {
        width: 35px;
        height: 35px;
    }
    body {
        word-break: break-word;
    }
}

/* Mobile Small */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    /* Further reduce typography */
    h1 {
        font-size: 1.4rem;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    /* Cards */
    .advantage-card,
    .service-card,
    .package-card,
    .review-card,
    .philosophy-card,
    .faq-item,
    .info-card,
    .master-card {
        padding: 1rem;
    }
    
    /* Legal content */
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    /* Thank you message */
    .thank-you-message {
        padding: 1.5rem 1rem;
    }
    
    /* Contact forms */
    .contact-form,
    .contact-form-detailed {
        padding: 1rem;
    }
    
    /* Achievement grid on very small screens */
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    /* Feature images */
    .feature-image {
        width: 200px;
    }
    
    /* Cookie modal */
    .cookie-modal-content {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .hamburger,
    .btn-primary,
    .btn-secondary,
    .btn-text {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    .page-hero {
        background: none !important;
        color: black !important;
        padding: 1rem 0;
    }
    
    .page-hero h1,
    .page-hero p {
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --accent-color: #ff6600;
        --light-text: #333;
        --border-color: #000;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}