/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-content {
        gap: 2rem;
    }

    .hero-illustration {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    .newsletter-content {
        gap: 2rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features and Services */
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .service-item {
        padding: 1.5rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 60px 0;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
    }

    .email-input {
        padding: 14px 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

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

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

    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .hero-illustration {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

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

    .feature-card,
    .service-item {
        padding: 1rem;
    }

    /* Page-specific responsive styles */
    .page-title {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .mv-grid,
    .team-grid,
    .additional-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    /* Services page responsive */
    .service-card {
        padding: 2rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }

    /* Contact page responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

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

    /* Company info responsive */
    .company-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .company-card {
        padding: 2rem 1.5rem;
    }

    .company-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .footer-copyright .company-address {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

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

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-illustration {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-illustration,
    .feature-icon,
    .service-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .newsletter,
    .footer-social {
        display: none;
    }

    .hero {
        padding: 20px 0;
        background: white;
        color: black;
    }

    .hero-title .highlight {
        color: black;
        -webkit-text-fill-color: black;
    }

    .section-title {
        color: black;
    }

    .feature-card,
    .service-item {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
