/* ==========================================
   RESPONSIVE STYLES - TTC MEDIA
   ========================================== */

@media (max-width: 1199px) {
    .container-lg {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding-bottom: 0.5rem;
        margin: 0.25rem 0;
    }

    .nav-contact-info {
        margin-top: 1.5rem !important;
    }

    .nav-contact-info .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-text-content {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image-wrapper {
        height: 350px;
    }

    .why-us-section {
        padding: 60px 0;
    }

    .services-section,
    .testimonial-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-unit: 0.875rem;
    }

    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1.05rem;
    }

    .container-lg {
        padding: 0 1rem;
    }

    /* Navigation Mobile */
    .ttc-navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.95rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 50px 0;
    }

    .hero-section .row {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        text-align: left;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    .hero-image-wrapper {
        height: 250px;
        margin-top: 1.5rem;
    }

    /* Services Section Mobile */
    .services-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Why Us Section Mobile */
    .why-us-section {
        padding: 40px 0;
    }

    .image-placeholder {
        height: 250px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }

    .reason-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .reason-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .reason-content h4 {
        font-size: 1rem;
    }

    .reason-content p {
        font-size: 0.85rem;
    }

    /* Testimonial Section Mobile */
    .testimonial-section {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 40px 0;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .ttc-footer {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: 1.5rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .title-underline {
        width: 50px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Navbar Extra Small */
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    /* Hero Extra Small */
    .hero-section {
        padding: 35px 0;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-image-wrapper {
        height: 200px;
        margin-top: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    /* Cards Extra Small */
    .service-card {
        padding: 1.25rem;
    }

    .service-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    /* Reason Items Extra Small */
    .reason-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .reason-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* CTA Extra Small */
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.85rem;
    }

    .cta-buttons .btn {
        font-size: 0.85rem;
    }

    /* Footer Extra Small */
    .ttc-footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    /* Back to Top Extra Small */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        bottom: 1rem;
        right: 0.75rem;
    }
}

/* Portrait Mode Adjustments */
@media (max-width: 480px) {
    .hero-image-placeholder p,
    .image-placeholder p {
        font-size: 0.75rem;
    }

    .dropdown-menu {
        min-width: 180px;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-image-wrapper {
        height: 200px;
    }

    .services-section,
    .why-us-section,
    .testimonial-section,
    .cta-section {
        padding: 40px 0;
    }
}

/* High DPI Screens */
@media (min-resolution: 300dpi) {
    .service-card,
    .testimonial-card {
        box-shadow: var(--shadow-md);
    }
}

/* Print Styles */
@media print {
    .ttc-navbar,
    .back-to-top,
    .hero-shape-top,
    .hero-shape-bottom {
        display: none !important;
    }

    body {
        color: #000;
    }

    .btn-golden {
        border: 1px solid #000;
        color: #000;
        background: none;
    }

    a {
        text-decoration: underline;
    }
}
