/* Responsive Design - Mobile First Approach */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
        z-index: 10000;
        position: relative;
        cursor: pointer;
        padding: 10px;
        border-radius: 5px;
        transition: var(--transition);
    }
    
    .hamburger:hover {
        background: rgba(139, 92, 246, 0.1);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        border-top: 1px solid rgba(139, 92, 246, 0.1);
        display: none;
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        z-index: 9999;
        display: flex !important;
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        width: 100%;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(139, 92, 246, 0.1);
        color: var(--primary-color);
    }
    
    .nav-contact {
        display: none;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Promotion Section */
    .promotion {
        padding: 60px 0;
    }
    
    .promotion-title {
        font-size: 2.5rem;
    }
    
    .promotion-subtitle {
        font-size: 1.4rem;
    }
    
    .promotion-description {
        font-size: 1.1rem;
    }
    
    .promotion-features {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
        width: 100%;
    }
    
    .promotion-feature {
        min-height: 75px;
        padding: 14px 18px;
        width: 100%;
    }
    
    .btn-promotion {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About Section */
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        margin: 0;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Treatments */
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .treatment-card {
        padding: 2rem;
    }
    
    /* Units */
    .units-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .unit-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Cookie Consent */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Mobile Large */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Promotion Section */
    .promotion-title {
        font-size: 2rem;
    }
    
    .promotion-subtitle {
        font-size: 1.2rem;
    }
    
    .promotion-description {
        font-size: 1rem;
    }
    
    .btn-promotion {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    /* Cards */
    .mission-card, .approach-card {
        padding: 1.5rem;
    }
    
    .treatment-card {
        padding: 1.5rem;
    }
    
    .unit-content {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-btn {
        padding: 0.8rem 1.2rem;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Promotion Section */
    .promotion-title {
        font-size: 1.8rem;
    }
    
    .promotion-subtitle {
        font-size: 1.1rem;
    }
    
    .promotion-description {
        font-size: 0.9rem;
    }
    
    .btn-promotion {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
    
    .promotion-features {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
        width: 100%;
    }
    
    .promotion-feature {
        min-height: 70px;
        padding: 12px 15px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .feature-icon, .treatment-icon, .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .unit-image {
        height: 200px;
        font-size: 2rem;
    }
    
    .gallery-item {
        height: 180px;
        font-size: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grain-hdpi" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="150" cy="150" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="100" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="120" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="180" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="200" height="200" fill="url(%23grain-hdpi)"/></svg>');
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-scroll,
    .whatsapp-float,
    .cookie-consent {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        color: var(--text-dark) !important;
        font-size: 2rem;
    }
    
    .hero-subtitle {
        color: var(--text-light) !important;
    }
    
    .btn {
        border: 1px solid var(--text-dark);
        color: var(--text-dark) !important;
        background: transparent !important;
    }
    
    .section-title::after {
        display: none;
    }
    
    .feature-card:hover,
    .treatment-card:hover,
    .unit-card:hover,
    .testimonial-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-scroll {
        animation: none;
    }
    
    .whatsapp-btn {
        animation: none;
    }
}

/* Light Mode Support - Forced */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #111827;
        --text-light: #4B5563;
        --bg-light: #F9FAFB;
        --bg-white: #FFFFFF;
    }
    
    .header {
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-link {
        color: var(--text-dark);
    }
    
    .mission-card,
    .approach-card,
    .treatment-card,
    .unit-card,
    .testimonial-card,
    .feature-card,
    .benefit-item,
    .stat-item {
        background: var(--bg-white);
        color: var(--text-dark);
    }
    
    .contact-item,
    .whatsapp-section {
        background: var(--bg-light);
    }
    
    .footer {
        background: var(--primary-color);
    }
} 