/* ============================================================
   ULTRA COMPACT RESPONSIVE STYLESHEET
   Everything shrinks down aggressively for mobile devices.
   Add this file as assets/css/responsive.css
   or append to your style.css
   ============================================================ */

/* ---- Small Tablet & Large Phone (max-width: 768px) ---- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .logo-main { font-size: 25px !important; }
  .logo-sub { font-size: 7px; letter-spacing: 1.5px !important; }
  .nav-links { gap: 14px !important; }
  .nav-links a { font-size: 10px !important; letter-spacing: 1px; }
  .book-now-nav { padding: 6px 14px !important; font-size: 10px !important; }

  .hero { padding: 100px 0 40px; height: 100vh; }
  .hero-content h1, .hero-title { font-size: 3.5rem; }
  .hero-content p, .hero-sub { font-size: 0.95rem; max-width: 100%; margin-bottom: 20px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { padding: 12px 28px; font-size: 0.9rem; width: 100%; text-align: center; }

  .scroll-indicator { bottom: 20px; }
  .scroll-indicator span { font-size: 7px; }
  .scroll-line { height: 30px; }

  .ratings { padding: 30px 0; }
  .ratings-grid { gap: 24px; }
  .rating-number { font-size: 28px; }
  .rating-label { font-size: 9px; letter-spacing: 1.5px; }
  .rating-source { font-size: 8px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; }
.service-card { padding: 18px 8px; text-align: center; }
.service-icon { font-size: 1.5rem; margin-bottom: 8px; }
.service-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.service-card p { font-size: 0.7rem; line-height: 1.3; }

  .testimonials { padding: 60px 0; }
  .testimonial-grid { gap: 16px; padding: 10px 0; }
  .testimonial-card {
    flex: 0 0 calc(50% - 14px);   /* two cards per row, minus half the gap */
    min-width: 0;
    max-width: none;
    padding: 24px 18px;
}
  .testimonial-text { font-size: 0.85rem; margin-bottom: 14px; }
  .testimonial-name { font-size: 0.8rem; }
  .testimonial-stars { font-size: 14px; }

  .art-showcase { padding: 60px 0; }
  .art-grid { gap: 12px; padding: 20px 0; }
  .art-piece { min-width: 220px; height: 300px; }
  .art-caption { font-size: 8px; padding: 3px 8px; left: 8px; bottom: 8px; }
  .art-scroll-btn { width: 32px; height: 32px; font-size: 0.9rem; }

  .cinematic-quote { min-height: 40vh; }
  .quote-text { font-size: 1.2rem; padding: 0 12px; }

  .final-cta { padding: 60px 0; }
  .final-cta h2 { font-size: 1.6rem; }
  .final-cta .btn-primary { font-size: 14px; padding: 12px 30px; }

  .page-hero, .booking-hero { min-height: 40vh; padding: 110px 0 40px; }
  .page-hero-content h1 { font-size: 1.9rem; }

  .story-section { padding: 60px 0; }
  .story-grid { flex-direction: column; gap: 24px; }
  .story-text h2 { font-size: 1.8rem; margin-bottom: 14px; }
  .story-text p { font-size: 0.9rem; margin-bottom: 10px; }
  .signature { font-size: 1.5rem; margin-top: 20px; }

  .values-section { padding: 60px 0; }
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .value-card {
    padding: 16px 8px;
    border-radius: 14px;
  }
  .value-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .value-card h4 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  .value-card p {
    font-size: 0.65rem;
    line-height: 1.3;
  }

  /* Services detail cards – keep desktop layout on mobile */
  .service-detail-card {
    flex-direction: row !important;
    gap: 20px;
    text-align: left;
    padding: 30px 0;
  }
  .service-detail-card.reverse {
    flex-direction: row-reverse !important;
  }
  .service-detail-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    border-radius: 18px;
    flex-shrink: 0;
  }
  .service-detail-info h3 {
    font-size: 1.3rem;
  }
  .service-detail-info p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .service-features {
    justify-content: flex-start;
    flex-wrap: wrap;          /* pills can go to a new line */
    gap: 4px;
  }
  .service-features li {
    font-size: 0.65rem;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .service-detail-icon::after {
    position: relative;
  }

  .filter-bar { gap: 8px; padding: 10px 0 20px; }
  .filter-btn { padding: 4px 10px; font-size: 0.68rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { min-width: 0; }
  .product-image { height: 180px; }
  .product-details { padding: 14px 10px; }
  .product-name { font-size: 1rem; }
  .product-type { font-size: 0.65rem; letter-spacing: 1px; }
  .product-description { font-size: 0.72rem; line-height: 1.3; margin-bottom: 10px; }
  .product-price { font-size: 1rem; margin-bottom: 10px; }
  .product-actions { flex-direction: column; gap: 6px; }
  .product-actions .btn-primary-sm,
  .product-actions .btn-outline-sm { width: 100%; text-align: center; padding: 8px 10px; font-size: 0.75rem; }
  /* Compact product modal on mobile */
.product-modal {
    max-width: 95%;
    max-height: 85vh;
    padding: 16px;
    border-radius: 14px;
}
.modal-close {
    top: 8px;
    right: 12px;
    font-size: 1.4rem;
}
.modal-carousel img {
    max-height: 220px;          /* smaller image height */
}
.modal-carousel-nav {
    margin-bottom: 12px;
}
.modal-name {
    font-size: 1.4rem;
}
.modal-type {
    font-size: 0.7rem;
    margin-bottom: 8px;
}
.modal-price {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.modal-description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 16px;
}
.modal-actions {
    flex-direction: column;
    gap: 8px;
}
.modal-actions .btn-primary,
.modal-actions .btn-outline {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.9rem;
}


  .booking-form-section { padding: 40px 0 60px; }
  .form-card { padding: 24px 16px; border-radius: 16px; }
  .form-card h2 { font-size: 1.6rem; }
  .form-row { flex-direction: column; gap: 12px; }
  .form-group { flex: 1 1 auto; }
  .form-group label { font-size: 0.7rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 10px 14px; font-size: 0.9rem; }
  .btn-submit { width: 100%; justify-content: center; padding: 12px; font-size: 0.95rem; }
  /* Keep booking form in two columns on mobile */
  .booking-form-section .form-row {
    flex-direction: row;          /* stay side‑by‑side */
    flex-wrap: nowrap;
    gap: 12px;
  }
  .booking-form-section .form-group {
    flex: 1 1 50%;               /* each takes half the width */
    min-width: 0;
  }
  .booking-form-section .form-group input,
  .booking-form-section .form-group select {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  

  .steps-section { padding: 40px 0; }
  /* Four steps in a single row on mobile */
  .steps-grid {
    flex-wrap: nowrap;          /* prevents wrapping */
    gap: 10px;
  }
  .step-card {
    flex: 1 1 0;               /* equal width for all cards */
    max-width: none;
    padding: 20px 10px;
    border-radius: 14px;
  }
  .step-number {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }
  .step-card h4 {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  .step-card p {
    font-size: 0.65rem;
    line-height: 1.3;
  }

  /* 4 process steps per row on mobile */
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 30px;
  }
  .process-step {
    padding: 16px 8px;
    border-radius: 14px;
  }
  .process-step-number {
    font-size: 2rem;
    margin-bottom: 4px;
  }
  .process-step h4 {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  .process-step p {
    font-size: 0.65rem;
    line-height: 1.3;
  }



  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.85rem; }
  .cta-banner .btn-primary { padding: 12px 28px; font-size: 0.9rem; }

  .map-wrapper { height: 250px; margin-top: 30px; }
  .map-wrapper iframe { height: 250px; }

  .success-section, .cancel-section { min-height: 70vh; padding: 100px 0 60px; }
  .success-card, .cancel-card { padding: 28px 18px; }
  .success-icon, .cancel-icon { font-size: 3rem; margin-bottom: 12px; }
  .success-card h1, .cancel-card h1 { font-size: 1.8rem; }
  .success-card p, .cancel-card p { font-size: 0.9rem; }

  .checkout-section { padding: 100px 0 60px; }
  .checkout-grid { flex-direction: column; gap: 20px; }
  .order-summary { padding: 16px; }
  .checkout-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .checkout-item-img { width: 50px; height: 50px; }
  .checkout-total { font-size: 1.1rem; }

  .footer { padding: 40px 0 20px; }
  .footer-grid { flex-direction: column; gap: 24px; text-align: center; }
  .footer-contact { font-size: 1.2rem; letter-spacing: 1.5px; }
  .footer-links { justify-content: center; gap: 12px; }
  .footer-social { justify-content: center; }
  .copyright { font-size: 10px; margin-top: 30px; }

  /* admin pages */
  .admin-header { padding: 10px 16px; }
  .admin-header h1 { font-size: 1.4rem; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi-card { padding: 14px; }
  .kpi-card .kpi-value { font-size: 1.5rem; }
  .table-wrapper th, .table-wrapper td { padding: 6px 8px; font-size: 0.75rem; }
  .login-card { padding: 32px 24px; }
  .login-card h1 { font-size: 2rem; }
  .add-form { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---- Small Phone (max-width: 480px) ---- */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }
  .logo-main { font-size: 25px !important; }
  .logo-sub { font-size: 6px !important; }
  .nav-links a { font-size: 9px; letter-spacing: 0.5px; }
  .book-now-nav { padding: 4px 10px !important; font-size: 9px !important; }

  .hero { padding: 90px 0 30px; min-height: 80vh; }
  .hero-content h1, .hero-title { font-size: 3.2rem; line-height: 1.1; }
  .hero-content p, .hero-sub { font-size: 0.85rem; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { padding: 10px 20px; font-size: 0.85rem; }

  .ratings-grid { gap: 16px; }
  .rating-number { font-size: 24px; }
  .rating-label { font-size: 8px; }
  .rating-source { font-size: 7px; }

  .services { padding: 50px 0; }
  .service-card { padding: 18px 14px; }
  .service-icon { font-size: 1.6rem; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card p { font-size: 0.8rem; }

  .testimonial-card { min-width: 220px; padding: 18px 14px; }
  .testimonial-text { font-size: 0.8rem; }
  .testimonial-name { font-size: 0.75rem; }

  .art-piece { min-width: 180px; height: 240px; }
  .art-caption { font-size: 7px; }
  .art-scroll-btn { width: 28px; height: 28px; font-size: 0.8rem; }

  .quote-text { font-size: 1rem; }
  .final-cta h2 { font-size: 1.4rem; }
  .final-cta .btn-primary { font-size: 13px; padding: 10px 24px; }

  .page-hero, .booking-hero { min-height: 35vh; padding: 100px 0 30px; }
  .page-hero-content h1 { font-size: 3.5rem; }

  .story-image { min-height: 220px; }
  .story-text h2 { font-size: 1.5rem; }
  .story-text p { font-size: 0.8rem; }


  .value-card {
        padding: 14px 10px;
        border-radius: 12px;
    }
  .value-icon {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
  .value-card h4 {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
  .value-card p {
        font-size: 0.6rem;
        l

  .service-detail-icon { width: 55px; height: 55px; font-size: 2rem; }
  .service-detail-info h3 { font-size: 1.3rem; }
  .service-detail-info p { font-size: 0.8rem; }
  .service-features li { font-size: 0.7rem; padding: 3px 8px; }

  .filter-btn { padding: 4px 8px; font-size: 0.7rem; }

  .product-image { height: 180px; }
  .product-name { font-size: 1.1rem; }
  .product-type { font-size: 0.65rem; }
  .product-description { font-size: 0.8rem; }
  .product-price { font-size: 1rem; }
  .product-actions .btn-primary-sm, .product-actions .btn-outline-sm { padding: 8px; font-size: 0.8rem; }

  .form-card { padding: 18px 12px; }
  .form-card h2 { font-size: 1.4rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 8px 12px; font-size: 0.85rem; }
  .btn-submit { padding: 10px; font-size: 0.9rem; }

  .step-card { padding: 12px 10px; }
  .step-number { font-size: 1.6rem; }
  .step-card h4 { font-size: 0.85rem; }
  .step-card p { font-size: 0.75rem; }

  .cta-banner h2 { font-size: 1.3rem; }
  .cta-banner p { font-size: 0.8rem; }
  .cta-banner .btn-primary { padding: 10px 24px; font-size: 0.85rem; }

  .contact-card { padding: 12px; }
  .contact-card i { font-size: 1.2rem; }
  .contact-card h3 { font-size: 1rem; }
  .contact-card p, .contact-card a { font-size: 0.8rem; }

  .map-wrapper { height: 200px; }
  .map-wrapper iframe { height: 200px; }

  .success-card, .cancel-card { padding: 22px 14px; }
  .success-icon, .cancel-icon { font-size: 2.5rem; }
  .success-card h1, .cancel-card h1 { font-size: 1.5rem; }
  .success-card p, .cancel-card p { font-size: 0.85rem; }

  .checkout-item-img { width: 40px; height: 40px; }
  .checkout-total { font-size: 1rem; }

  .footer-contact { font-size: 1.1rem; letter-spacing: 1px; }
  .footer-links a { font-size: 0.75rem; }
  .footer-social { font-size: 1.1rem; }

  .admin-header h1 { font-size: 1.2rem; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi-card .kpi-value { font-size: 1.3rem; }
  .kpi-card .kpi-label { font-size: 0.7rem; }
  .table-wrapper th, .table-wrapper td { padding: 4px 6px; font-size: 0.7rem; }
  .login-card { padding: 24px 18px; }
  .login-card h1 { font-size: 1.8rem; }
}

/* Floating cart button – hidden on desktop */
.mobile-cart-btn {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.9);
    color: #DCB450;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 1.5px solid rgba(220, 180, 80, 0.4);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.mobile-cart-btn:hover {
    transform: scale(1.05);
    background: #C9A23A;
}

.mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #C9A23A;
    color: #0A0A0A;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    pointer-events: none;
}

/* Show floating button and hide header cart on mobile */
@media (max-width: 768px) {
    .mobile-cart-btn {
        display: flex;
    }
    .header .cart-icon-wrapper {
        display: none;           /* hide the header cart icon */
    }
}

/* ---- Tiny Phone (max-width: 375px) ---- */
@media (max-width: 375px) {
  html { font-size: 13px; }
  .hero-content p, .hero-sub { font-size: 0.8rem; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { padding: 8px 16px; font-size: 0.8rem; }
  .rating-number { font-size: 22px; }
  .service-card { padding: 14px 10px; }
  .service-icon { font-size: 1.4rem; }
  .service-card h3 { font-size: 1.1rem; }
  .service-card p { font-size: 0.75rem; }
  .testimonial-card { min-width: 200px; padding: 14px 12px; }
  .testimonial-text { font-size: 0.75rem; }
  .art-piece { min-width: 160px; height: 200px; }
  .quote-text { font-size: 0.9rem; }
  .story-text h2 { font-size: 1.3rem; }
  .story-text p { font-size: 0.75rem; }
  .value-card h4 { font-size: 0.9rem; }
  .value-card p { font-size: 0.75rem; }
  .service-detail-info h3 { font-size: 1.2rem; }
  .service-detail-info p { font-size: 0.75rem; }
  .product-image { height: 150px; }
  .product-name { font-size: 1rem; }
  .product-price { font-size: 0.9rem; }
  .product-actions .btn-primary-sm, .product-actions .btn-outline-sm { padding: 6px; font-size: 0.75rem; }
  .btn-primary, .btn-outline { padding: 8px 16px; font-size: 0.8rem; }
  .form-card h2 { font-size: 1.2rem; }
  .form-group label { font-size: 0.65rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 0.8rem; }
  .step-card { padding: 10px 8px; }
  .step-number { font-size: 1.4rem; }
  .step-card h4 { font-size: 0.8rem; }
  .step-card p { font-size: 0.7rem; }
  .cta-banner h2 { font-size: 1.1rem; }
  .cta-banner .btn-primary { padding: 8px 18px; font-size: 0.8rem; }
  .contact-card h3 { font-size: 0.9rem; }
  .contact-card p, .contact-card a { font-size: 0.75rem; }
  .success-card h1, .cancel-card h1 { font-size: 1.3rem; }
  .checkout-total { font-size: 0.9rem; }
  .footer-contact { font-size: 1rem; }
  .footer-links a { font-size: 0.7rem; }
  .admin-header h1 { font-size: 1.1rem; }
  .kpi-card .kpi-value { font-size: 1.1rem; }
  .table-wrapper th, .table-wrapper td { padding: 3px 5px; font-size: 0.65rem; }
  .login-card h1 { font-size: 1.5rem; }
}
}