/* =========================================================
   SPA WEBSITE - RESPONSIVE DESIGN
   ========================================================= */

/* =========================================================
   TABLET DEVICES (1000px and below)
   ========================================================= */

@media (max-width: 1000px) {

    /* Hide desktop navigation */
    .nav-links,
    .nav-actions {
        display: none;
    }

    /* Show mobile menu toggle */
    .menu-toggle {
        display: block;
    }

    /* Adjust grid layouts */
    .intro-grid,
    .feature-grid {
        gap: 45px;
    }

    .services-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust grid remains 3 columns on tablet */
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reduce hero section height */
    .hero {
        min-height: 700px;
    }

    /* Adjust container padding */
    .container {
        width: min(var(--container), calc(100% - 40px));
    }

    /* Service cards adjustments */
    .service-card {
        padding: 24px;
    }

    .service-title {
        font-size: 24px;
    }

    /* Gallery grid on tablet */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 8px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

}


/* =========================================================
   MOBILE DEVICES (700px and below)
   ========================================================= */

@media (max-width: 700px) {

    /* ===== CONTAINER ===== */

    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .section {
        padding: 75px 0;
    }

    /* ===== TOP BAR ===== */

    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-inner>span:first-child {
        display: none;
    }

    .top-bar {
        font-size: 11px;
        padding: 8px 0;
    }

    /* ===== HEADER ===== */

    .site-header {
        top: 35px;
    }

    .navbar {
        min-height: 80px;
    }

    .logo {
        gap: 8px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 7px;
    }

    /* ===== HERO SECTION ===== */

    .hero {
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 0;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 54px);
    }

    .hero-description {
        font-size: 14px;
        margin: 20px 0;
    }

    .hero-eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
    }

    .hero-eyebrow::before {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 48px;
        font-size: 12px;
    }

    .hero-scroll {
        display: none;
    }

    /* ===== TRUST STRIP ===== */

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px 20px;
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .trust-number {
        font-size: 28px;
    }

    .trust-text {
        font-size: 10px;
    }

    /* ===== INTRO SECTION ===== */

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-image img {
        aspect-ratio: 3 / 4;
    }

    .intro-image::after {
        display: none;
    }

    .intro-content {
        max-width: 100%;
    }

    .intro-content p {
        font-size: 14px;
    }

    /* ===== SECTION TITLES ===== */

    .section-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 42px);
        line-height: 1.1;
    }

    .section-description {
        font-size: 14px;
        margin-top: 15px;
    }

    /* ===== SERVICES ===== */

    .services {
        background: var(--color-bg-soft);
    }

    .services-header {
        display: block;
        margin-bottom: 35px;
    }

    .services-header .btn {
        margin-top: 20px;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 20px;
    }

    .service-title {
        font-size: 22px;
        margin-top: 6px;
    }

    .service-number {
        font-size: 10px;
    }

    .service-description {
        font-size: 12px;
        margin-top: 8px;
    }

    .service-link {
        font-size: 10px;
        margin-top: 15px;
    }

    /* ===== FEATURE SECTION ===== */

    .feature-section {
        background: var(--color-primary);
        color: white;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-image img {
        aspect-ratio: 3 / 4;
    }

    .feature-list {
        gap: 18px;
        margin-top: 25px;
    }

    .feature-list li {
        gap: 12px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .feature-list strong {
        font-size: 13px;
    }

    .feature-list span {
        font-size: 11px;
        margin-top: 3px;
    }

    /* ===== PACKAGES ===== */

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .package-card {
        padding: 28px;
    }

    .package-card.featured {
        transform: none;
        margin-bottom: 0;
    }

    .package-name {
        font-size: 28px;
    }

    .package-description {
        font-size: 12px;
        margin-top: 10px;
    }

    .package-price {
        font-size: 36px;
        margin: 20px 0;
    }

    .package-features li {
        font-size: 11px;
        padding-bottom: 10px;
    }

    /* ===== GALLERY ===== */

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 6px;
        margin-top: 40px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* ===== TESTIMONIALS ===== */

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 20px;
        margin: 18px 0;
    }

    .stars {
        letter-spacing: 3px;
    }

    /* ===== FAQ ===== */

    .faq-list {
        max-width: 100%;
        margin: 40px auto 0;
    }

    .faq-question {
        padding: 20px 0;
        font-size: 14px;
    }

    .faq-icon {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 13px;
        padding: 0 0 20px;
    }

    /* ===== FINAL CTA ===== */

    .final-cta {
        padding: 80px 0;
    }

    .final-cta .section-title {
        font-size: clamp(28px, 7vw, 42px);
    }

    .final-cta p {
        font-size: 14px;
        margin: 18px auto 20px;
    }

    /* ===== BUTTONS ===== */

    .btn {
        min-height: 48px;
        padding: 0 24px;
        font-size: 12px;
    }

    .btn-primary,
    .btn-gold,
    .btn-outline {
        width: 100%;
    }

    /* ===== FOOTER ===== */

    .site-footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand p {
        font-size: 12px;
        margin-top: 15px;
    }

    .footer-title {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        margin-top: 30px;
        padding-top: 20px;
        font-size: 10px;
    }

    /* ===== WHATSAPP FLOAT ===== */

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

}


/* =========================================================
   SMALL MOBILE DEVICES (480px and below)
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 42px);
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .service-title {
        font-size: 18px;
    }

    .package-name {
        font-size: 24px;
    }

    .package-price {
        font-size: 28px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .gallery-grid {
        grid-auto-rows: 120px;
        gap: 4px;
    }

}


/* =========================================================
   LARGE SCREENS (1440px and above)
   ========================================================= */

@media (min-width: 1440px) {

    .container {
        max-width: 1340px;
    }

    .section {
        padding: 130px 0;
    }

    .hero {
        min-height: 900px;
    }

    .hero-title {
        font-size: 120px;
    }

}


/* =========================================================
   PRINT STYLES
   ========================================================= */

@media print {

    .top-bar,
    .site-header,
    .hero-scroll,
    .whatsapp-float,
    .btn,
    .nav-actions {
        display: none !important;
    }

    .site-footer {
        margin-top: 40px;
        padding-top: 40px;
        border-top: 2px solid #ccc;
    }

    a {
        text-decoration: underline;
    }

    body {
        background: white;
        color: black;
    }

}


/* =========================================================
   TOUCH DEVICE OPTIMIZATIONS
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn {
        min-height: 56px;
    }

    .nav-links a {
        padding: 12px 16px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover .service-image img {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    /* Keep active states */
    .service-card:active .service-image img {
        transform: scale(1.02);
    }

}


/* =========================================================
   HIGH RESOLUTION DISPLAYS
   ========================================================= */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Slightly thinner borders on high-res displays */
    .btn {
        border-width: 0.5px;
    }

}


/* =========================================================
   DARK MODE SUPPORT
   ========================================================= */

@media (prefers-color-scheme: dark) {

    /* Optional: Add dark mode styles here if needed */
    /* Currently using light mode as per design, but hook is here for future expansion */

}