/*
================================================
F.TOUCH - RESPONSIVE STYLESHEET
Mobile-First Responsive Design
Version: 2.0 - Completely Redesigned
================================================
*/

/* =========================================
   TABLET LANDSCAPE - 1024px and below
========================================= */
@media (max-width: 1024px) {
    :root {
        --container-padding: 30px;
        --section-padding: clamp(40px, 6vh, 60px);
    }

    /* Navbar */
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    /* Hero */
    .hero-button-prev,
    .hero-button-next {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .hero-button-prev {
        left: 1rem;
    }

    .hero-button-next {
        right: 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    /* Float Buttons */
    .scroll-top {
        right: 5rem;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.625rem;
    }

    /* Page Header */
    .page-header {
        padding: 7rem 0 4rem;
        min-height: 300px;
    }

    .gallery-full .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   TABLET PORTRAIT - 768px and below
========================================= */
@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-padding: clamp(35px, 5vh, 50px);
    }

    /* Topbar */
    .topbar {
        padding: 0.625rem 0;
    }

    .topbar-left {
        gap: 1rem;
    }

    .topbar-item {
        font-size: 0.8125rem;
    }

    .topbar-social a {
        width: 28px;
        height: 28px;
        font-size: 0.8125rem;
    }

    /* Navbar */
    .navbar {
        padding: 0.875rem 0;
    }

    .brand-logo-img {
        height: 42px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-tagline {
        font-size: 0.625rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        background: var(--white);
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: left var(--transition-base);
        z-index: var(--z-dropdown);
        overflow-y: auto;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .navbar-cta {
        display: none;
    }

    .navbar-toggler {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-title {
        margin-bottom: 1.25rem;
    }

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

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

    .hero-button-prev,
    .hero-button-next {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .feature-box {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    /* About */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-experience {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 1.25rem;
    }

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

    .service-image {
        height: 200px;
    }

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

    .gallery-item {
        min-width: 200px;
        max-width: 100%;
    }

    .gallery-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .gallery-filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Appointment */
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .appointment-form-container {
        padding: 2rem;
    }

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

    .contact-form-container {
        padding: 2rem;
    }

    .contact-map {
        height: 220px;
    }

    /* Footer */
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .footer-logo-img {
        height: 70px;
    }

    .footer-brand-name {
        font-size: 1.5rem;
    }

    .footer-brand-tagline {
        font-size: 0.6875rem;
    }

    /* Float Buttons */
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-top {
        bottom: 1.5rem;
        right: 4.5rem;
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }

    /* Page Header */
    .page-header {
        padding: 6rem 0 3rem;
        min-height: 250px;
    }

    .page-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .breadcrumb {
        font-size: 0.9375rem;
    }

    .gallery-full .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBILE - 576px and below
========================================= */
@media (max-width: 576px) {
    :root {
        --container-padding: 16px;
        --section-padding: clamp(30px, 4vh, 40px);
        --fs-hero-title: clamp(2rem, 8vw, 2.5rem);
        --fs-h2: clamp(1.5rem, 6vw, 2rem);
    }

    /* Topbar */
    .topbar-wrapper {
        justify-content: center;
    }

    .topbar-left {
        flex-wrap: wrap;
        justify-content: center;
    }

    .topbar-social {
        gap: 0.75rem;
    }

    /* Navbar */
    .brand-logo-img {
        height: 38px;
    }

    .brand-name {
        font-size: 1.125rem;
    }

    .brand-tagline {
        font-size: 0.5625rem;
    }

    .nav-menu {
        width: 260px;
        padding: 4.5rem 1.5rem 2rem;
    }

    /* Hero */
    .hero {
        min-height: 450px;
    }

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

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

    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero-pagination {
        bottom: 1.5rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.9375rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 1.25rem 1rem;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.625rem;
    }

    /* About */
    .about-experience {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Services */
    .service-image {
        height: 180px;
    }

    .service-body {
        padding: 1.25rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin: -3rem auto 1rem;
        font-size: 1.5rem;
        box-shadow: 0 4px 16px rgba(201, 169, 97, 0.4);
    }

    .service-title {
        font-size: 1.25rem;
    }

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

    .gallery-item {
        min-width: 100%;
        max-width: 100%;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .gallery-filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .gallery-view-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox-close {
        top: -2.5rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    /* Appointment */
    .appointment-form-container {
        padding: 1.5rem;
    }

    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-benefits {
        gap: 1.25rem;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    /* Contact */
    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .contact-map {
        height: 200px;
    }

    /* Footer */
    .footer-main {
        padding: 2rem 0 1rem;
    }

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

    .footer-logo-img {
        height: 60px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand-name {
        font-size: 1.375rem;
    }

    .footer-brand-tagline {
        font-size: 0.625rem;
    }

    .footer-desc {
        font-size: 0.875rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }

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

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

    .footer-bottom-links {
        gap: 1rem;
    }

    /* Float Buttons */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.375rem;
    }

    .scroll-top {
        bottom: 4rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Page Header */
    .page-header {
        padding: 5rem 0 2.5rem;
        min-height: 200px;
    }

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

/* =========================================
   EXTRA SMALL MOBILE - 375px and below
========================================= */
@media (max-width: 375px) {
    :root {
        --container-padding: 12px;
    }

    .hero {
        min-height: 400px;
    }

    .brand-logo-img {
        height: 35px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.5rem;
    }

    .service-image {
        height: 160px;
    }

    .btn {
        padding: 0.75rem 1.375rem;
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* =========================================
   LANDSCAPE ORIENTATION (Mobile/Tablet)
========================================= */
@media (max-width: 992px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .section-padding {
        padding: 2rem 0;
    }
}

/* =========================================
   PRINT STYLES
========================================= */
@media print {
    .topbar,
    .navbar-toggler,
    .hero-button-prev,
    .hero-button-next,
    .hero-pagination,
    .scroll-indicator,
    .gallery-filters,
    .gallery-overlay,
    .whatsapp-float,
    .scroll-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section-padding {
        padding: 1rem 0;
    }
}
