/* =============================================
   VEGA SPA - Mobile Optimizations
   ============================================= */

/* ==================== HEADER MOBILE ==================== */
@media (max-width: 768px) {
  /* Ẩn header top trên mobile */
  .header-top {
    display: none !important;
  }

  /* ==================== NAVBAR MOBILE ==================== */
  .navbar {
    padding: 12px 0;
  }

  .navbar .container {
    padding: 0 16px;
    position: relative;
  }

  /* Logo nhỏ gọn hơn */
  .logo-img {
    width: 140px !important;
    height: auto;
  }

  /* Ẩn nút đặt lịch trong navbar trên mobile */
  .nav-cta {
    display: none !important;
  }

  /* Nút toggle menu */
  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  /* Logo ở giữa */
  .logo {
    order: 1;
  }

  /* Menu mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark-primary);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

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

  .nav-menu a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  }

  /* Overlay khi menu mở */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ==================== HERO MOBILE ==================== */
  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero buttons xếp dọc */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Hero stats */
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
  }

  .hero-stat-number {
    font-size: 28px;
  }

  .hero-stat-text {
    font-size: 11px;
  }

  /* Hero badge */
  .hero-badge {
    padding: 8px 16px;
    font-size: 11px;
  }

  /* ==================== FIXED BUTTONS MOBILE ==================== */
  .fixed-buttons {
    bottom: 80px;
    right: 15px;
    gap: 10px;
  }

  .fixed-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .fixed-btn.zalo {
    font-size: 11px;
  }



  /* ==================== SECTIONS MOBILE ==================== */
  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-tag {
    font-size: 11px;
  }

  .section-tag::before,
  .section-tag::after {
    display: none;
  }

  /* ==================== ABOUT MOBILE ==================== */
  .about-grid {
    gap: 40px;
  }

  .about-badge {
    padding: 20px 25px;
    right: 10px;
    bottom: -20px;
  }

  .about-badge .years {
    font-size: 36px;
  }

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

  /* ==================== SERVICES MOBILE ==================== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card {
    max-width: 400px;
    margin: 0 auto;
  }

  /* ==================== PRICE TABLE MOBILE ==================== */
  .price-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-column.popular {
    transform: none;
  }

  .price-column.popular:hover {
    transform: translateY(-5px);
  }

  /* ==================== CONTACT MOBILE ==================== */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Map nhỏ hơn */
  .map-container {
    height: 300px;
  }

  /* ==================== BOOKING FORM MOBILE ==================== */
  .booking-steps {
    flex-direction: column;
    gap: 10px;
  }

  .booking-step {
    padding: 12px 20px;
    font-size: 13px;
  }

  .booking-form-container {
    padding: 25px 20px;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .time-slot {
    padding: 12px 8px;
    font-size: 13px;
  }

  /* ==================== FOOTER MOBILE ==================== */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* ==================== SMALL MOBILE (< 480px) ==================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-top {
    font-size: 11px;
  }

  .contact-info a {
    font-size: 11px;
  }

  .logo-img {
    width: 120px !important;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-stat {
    width: 100%;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .fixed-buttons {
    bottom: 70px;
    right: 10px;
  }

  .fixed-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }



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

  .service-option {
    padding: 20px;
  }

  .service-option-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 80px 20px 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-stats {
    display: none;
  }

  .fixed-buttons {
    bottom: 20px;
  }
}
