/* ========================================
   OLYMPUS Beauty Spa & Fitness
   Responsive Styles
   ======================================== */

/* ========================================
   TABLET (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  /* Typography */
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  /* Section */
  .section {
    padding: 80px 0;
  }
  
  /* Hero */
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-page h1 {
    font-size: 2.5rem;
  }
  
  /* Navigation */
  .nav-list {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  .header .btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  /* Pillars */
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .pillar-card {
    height: 380px;
  }
  
  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  /* Story */
  .story-grid {
    gap: 40px;
  }
  
  .story-image img {
    height: 400px;
  }
  
  /* Treatments */
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Teaser */
  .teaser-content {
    gap: 40px;
  }
  
  /* Spa */
  .spa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Memberships */
  .memberships-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .membership-card {
    padding: 30px 20px;
  }
  
  .membership-card.featured {
    transform: scale(1);
  }
  
  .membership-card.featured:hover {
    transform: translateY(-10px);
  }
  
  /* Voucher */
  .voucher-banner {
    padding: 40px;
    gap: 40px;
  }
  
  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .program-card {
    grid-template-columns: 180px 1fr;
  }
  
  /* Courses */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Steps */
  .steps-grid {
    gap: 30px;
  }
  
  /* Shop */
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact */
  .contact-grid {
    gap: 40px;
  }
  
  .contact-form {
    padding: 40px;
  }
}

/* ========================================
   TABLET SMALL (max-width: 900px)
   ======================================== */
@media (max-width: 900px) {
  /* Mobile Menu */
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--beige);
  }
  
  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }
  
  .nav .btn {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
  }
  
  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pillar-card {
    height: 350px;
  }
  
  /* Memberships */
  .memberships-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* Booking */
  .booking-form {
    padding: 40px 30px;
  }
}

/* ========================================
   MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
  
  /* Section */
  .section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-page {
    min-height: auto;
    padding: 120px 20px 60px;
  }
  
  .hero-page h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* Footer */
  .footer {
    padding: 60px 0 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: none;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* CTA */
  .cta-section {
    padding: 60px 0;
  }
  
  /* Story */
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .story-image {
    order: -1;
  }
  
  .story-image img {
    height: 300px;
  }
  
  /* Treatments */
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  
  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .product-card img {
    width: 100px;
    height: 100px;
  }
  
  /* Teaser */
  .teaser-content {
    grid-template-columns: 1fr;
  }
  
  .teaser-image {
    order: -1;
  }
  
  /* Spa */
  .spa-grid {
    grid-template-columns: 1fr;
  }
  
  /* Voucher */
  .voucher-banner {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }
  
  .voucher-image {
    order: -1;
  }
  
  /* Programs */
  .program-card {
    grid-template-columns: 1fr;
  }
  
  .program-card img {
    height: 200px;
    min-height: auto;
  }
  
  /* Courses */
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Shop */
  .shop-filters {
    position: static;
  }
  
  .filters-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-categories {
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }
  
  .filter-btn {
    flex-shrink: 0;
  }
  
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-info {
    padding: 16px;
  }
  
  .product-name {
    font-size: 1rem;
  }
  
  .product-description {
    display: none;
  }
  
  .product-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .add-to-cart {
    width: 100%;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .feature-item {
    padding: 20px 15px;
  }
  
  .step-card {
    padding: 30px 20px;
  }
  
  /* Booking */
  .booking-form {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Contact */
  .contact-form {
    padding: 30px 20px;
  }
  
  /* Table */
  .table th,
  .table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  
  /* Buttons */
  .btn {
    padding: 14px 24px;
  }
  
  .btn-lg {
    padding: 16px 30px;
  }
  
  /* WhatsApp */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
  
  /* Modal */
  .modal {
    margin: 10px;
    max-height: calc(100vh - 40px);
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========================================
   MOBILE SMALL (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Header */
  .header-container {
    padding: 12px 15px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-text span {
    font-size: 0.55rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  /* Hero */
  .hero {
    padding: 100px 15px 50px;
  }
  
  .hero h1 {
    font-size: 1.85rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-logo {
    width: 80px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  /* Shop */
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Cards */
  .card-body {
    padding: 20px;
  }
  
  .pillar-overlay {
    padding: 25px 20px;
  }
  
  .pillar-overlay h3 {
    font-size: 1.35rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 30px 20px;
  }
  
  /* Icon Box */
  .icon-box {
    padding: 30px 20px;
  }
  
  /* Container */
  .container {
    padding: 0 15px;
  }
  
  /* Section Header */
  .section-header p {
    font-size: 1rem;
  }
  
  /* Divider */
  .divider::before,
  .divider::after {
    width: 50px;
  }
  
  /* Schedule Table Scroll */
  .schedule-section .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .schedule-table {
    min-width: 600px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 20px;
  }
  
  .section {
    padding: 20px 0;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
