/* ========================================
   Responsive Styles
   ======================================== */

/* Large Screens */
@media (max-width: 1400px) {
    .section-title {
        font-size: 2.5rem;
    }

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

/* Tablet & Medium Screens */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* About */
    .about-grid {
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 60px auto 0;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    /* Contact */
    .contact-grid {
        gap: 60px;
    }

    /* Footer */
    .footer-grid {
        gap: 40px;
    }
}

/* Mobile & Small Screens */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    html {
        font-size: 15px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    /* Header */
    .navbar {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

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

    /* Hero */
    #hero {
        background-attachment: scroll;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        margin-top: 30px;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-name {
        font-size: 1.3rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 40px 30px;
    }

    .pricing-name {
        font-size: 1.8rem;
    }

    .amount {
        font-size: 3rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-counter {
        bottom: 15px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .member-image {
        width: 180px;
        height: 180px;
    }

    /* Testimonials */
    .testimonials-carousel {
        margin: 40px auto 30px;
        min-height: 350px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .testimonial-text::before {
        font-size: 3rem;
        top: -15px;
        left: -15px;
    }

    .testimonial-author h4 {
        font-size: 1.1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }

    .submit-button {
        padding: 15px;
    }

    .info-item {
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .info-content h3 {
        font-size: 1.1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 30px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-name {
        font-size: 1.2rem;
    }

    .amount {
        font-size: 2.5rem;
    }

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

    .lightbox-image {
        max-width: 95%;
        max-height: 80vh;
    }

    .testimonials-carousel {
        min-height: 400px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .member-image {
        width: 150px;
        height: 150px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

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

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

    .scroll-indicator {
        display: none;
    }
}

/* Print Styles */
@media print {
    #header,
    .mobile-menu-toggle,
    .scroll-indicator,
    .back-to-top,
    .lightbox {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }

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

    a {
        text-decoration: underline;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp rendering on retina displays */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* 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;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* Dark Mode (Optional - already dark by default) */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}
