/* ==========================================================
   Yến Nhi Wedding Studio - CSS Core Design System
   Color Palette: Soft Red (Hồng Đỏ), Crimson (#D32F2F) & White (#FFFFFF)
   ========================================================== */

:root {
  /* Colors */
  --primary: #d32f2f;
  --primary-hover: #b71c1c;
  --primary-light: #ffebee;
  --primary-soft: rgba(211, 47, 47, 0.08);
  --accent: #ff5252;
  --bg-white: #ffffff;
  --bg-light: #fcf8f8;
  --text-main: #2d2424;
  --text-muted: #7d6e6e;
  --border-light: #f5e6e6;
  --success: #2e7d32;
  
  /* Fonts */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(211, 47, 47, 0.04);
  --shadow-md: 0 10px 30px rgba(211, 47, 47, 0.06);
  --shadow-lg: 0 20px 40px rgba(211, 47, 47, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --header-height: 80px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Grid helper */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Common Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.section-divider::after {
  content: '\f004';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-light);
  padding: 0 10px;
  color: var(--primary);
  font-size: 0.8rem;
}

.section-divider.left {
  margin: 0 0 1.5rem 0;
}
.section-divider.left::after {
  background-color: var(--bg-white);
  left: 30px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}
.btn-outline-light:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================
   Header Styling (Glassmorphism & Fixed)
   ========================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: -6px;
  letter-spacing: 3px;
}

.nav-bar {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-bar {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--border-light);
  }
  .nav-bar.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================
   Hero Section Styling
   ========================================================== */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  background-image: url('/assets/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(45, 36, 36, 0.8) 30%, rgba(211, 47, 47, 0.2) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
  color: var(--bg-white);
}

.hero-subtitle {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

/* ==========================================================
   Quick Features Section
   ========================================================== */
.features-section {
  padding: 4rem 0;
  background-color: var(--bg-white);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.03);
}

.feature-card {
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================
   Services Showcase (Catalog)
   ========================================================== */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  max-width: 100%;
}

@media (max-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem;
    scrollbar-width: none; /* Hide default scrollbar for Firefox */
  }
  .category-tabs::-webkit-scrollbar {
    display: none; /* Hide default scrollbar for Chrome/Safari/Opera */
  }
  .category-tabs .tab-btn {
    flex-shrink: 0;
  }
}

.tab-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.7rem 1.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  min-height: 300px;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Service Card Design */
.service-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(211, 47, 47, 0.2);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.service-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--border-light);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.service-price-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.service-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.service-features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features-list li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* btn-select styles are defined at bottom of file with animations */

/* ==========================================================
   Customs Details Section
   ========================================================== */
.customs-section {
  padding: 8rem 0;
  background-color: var(--bg-white);
}

.customs-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.customs-img {
  flex: 1;
  background-image: radial-gradient(circle at center, var(--primary-light) 0%, transparent 70%);
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.customs-decoration-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff6f6 100%);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 450px;
  position: relative;
}
.customs-decoration-card::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px dashed var(--accent);
  opacity: 0.4;
  border-radius: 12px;
  pointer-events: none;
}

.dragon-phoenix-seal {
  background-color: var(--primary);
  color: var(--bg-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

.customs-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.customs-card-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
}

.customs-content {
  flex: 1.2;
}

.customs-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.customs-para {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.customs-list {
  list-style: none;
  margin-top: 2rem;
}
.customs-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.customs-list li i {
  color: var(--success);
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .customs-container {
    flex-direction: column;
    gap: 3rem;
  }
}

/* ==========================================================
   Booking & Form Styling
   ========================================================== */
.booking-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  background-color: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.booking-info {
  background: linear-gradient(135deg, var(--primary) 0%, #8e1c1c 100%);
  color: var(--bg-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-info-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.booking-info-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.booking-contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 2px;
}
.contact-item p {
  font-size: 1rem;
  font-weight: 500;
}

.booking-form-container {
  padding: 4rem;
}

.booking-form .form-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: #faf7f7;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.08);
}

.form-group label span.required {
  color: var(--primary);
}

.selected-items-box {
  background-color: #fff8f8;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  padding: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.selected-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.selected-item-tag i {
  cursor: pointer;
  color: var(--accent);
}

.total-estimate-box {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.success {
  display: block;
  background-color: #e8f5e9;
  color: var(--success);
  border: 1px solid #c8e6c9;
}
.form-status.error {
  display: block;
  background-color: #ffebee;
  color: var(--primary);
  border: 1px solid #ffcdd2;
}

@media (max-width: 992px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
  }
  .booking-info, .booking-form-container {
    padding: 3rem 2rem;
  }
}

/* ==========================================================
   Footer Styling
   ========================================================== */
.main-footer {
  background-color: #1e1515;
  color: #ede5e5;
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-col .footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links li a {
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer-links li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.contact-col p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  opacity: 0.8;
}
.contact-col p i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  background-color: #150e0e;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll-top-btn {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.scroll-top-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Specific styling adjustments for screens under 480px width */
@media (max-width: 480px) {
  :root {
    --header-height: 70px;
  }
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .customs-title {
    font-size: 2rem;
  }
  .customs-decoration-card {
    padding: 1.5rem 1.2rem;
  }
  .booking-info, .booking-form-container {
    padding: 2rem 1.2rem;
  }
  .booking-info-title {
    font-size: 1.8rem;
  }
  .booking-form .form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ==========================================================
   Admin Dashboard Styling
   ========================================================== */
.admin-body {
  background-color: #f7f3f3;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Admin Login screen */
.admin-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 100vh;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.admin-login-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  animation: slideUp 0.4s ease-out;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.login-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.login-error-msg {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

/* Admin Container layout */
.admin-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  animation: fadeIn 0.4s ease-in-out;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
}

.badge-admin {
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-left: 4px solid var(--text-muted);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-card.pending {
  border-left-color: #ff9800;
}

.stat-card.confirmed {
  border-left-color: var(--success);
}

.stat-card.revenue {
  border-left-color: #2196f3;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-card.pending .stat-icon {
  background-color: #fff3e0;
  color: #ff9800;
}

.stat-card.confirmed .stat-icon {
  background-color: #e8f5e9;
  color: var(--success);
}

.stat-card.revenue .stat-icon {
  background-color: #e3f2fd;
  color: #2196f3;
}

.stat-content h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stat-content p {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* Controls */
.admin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.search-box-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box-wrapper input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  background-color: var(--bg-white);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.search-box-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Bookings Table */
.bookings-table-wrapper {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.bookings-table th {
  background-color: #fcf8f8;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.bookings-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.bookings-table tr:hover {
  background-color: #fff9f9;
}

.cust-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.cust-contact a {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cust-contact a:hover {
  color: var(--primary);
}

.event-date-text {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.event-address-text {
  color: var(--text-main);
  font-size: 0.82rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.event-address-text i {
  margin-top: 3px;
  color: var(--text-muted);
}

.admin-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.admin-services-list li {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-services-list li i {
  color: var(--primary);
  font-size: 0.75rem;
}

.admin-booking-total {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.35rem;
}

.admin-booking-total span {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.booking-notes-text {
  font-size: 0.82rem;
  background-color: var(--bg-light);
  padding: 0.5rem;
  border-radius: 6px;
  display: block;
  border-left: 2px solid var(--accent);
  color: var(--text-main);
  max-width: 250px;
}

/* Status dropdown styles */
.status-select {
  padding: 0.4rem 1.8rem 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  border: 1px solid transparent;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}

.status-select.status-pending {
  background-color: #ffe8cc;
  color: #d97706;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.status-select.status-confirmed {
  background-color: #d1fae5;
  color: #065f46;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.status-select.status-completed {
  background-color: #e0f2fe;
  color: #0369a1;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.status-select.status-cancelled {
  background-color: #fee2e2;
  color: #991b1b;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23991b1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Delete button */
.btn-delete-booking {
  background-color: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-delete-booking:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.no-bookings-card {
  text-align: center;
  padding: 3.5rem;
  color: var(--text-muted);
}

.no-bookings-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.no-bookings-card p {
  font-weight: 500;
}

/* Keyframes */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .admin-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-wrapper {
    max-width: none;
  }
  .admin-container {
    padding: 1rem;
  }
}

/* ==========================================================
   Admin Panel Tab & Services CRUD Layout
   ========================================================== */

/* Main tab switcher */
.admin-nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.admin-nav-tab {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-nav-tab:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.admin-nav-tab.active {
  background-color: var(--primary);
  color: var(--bg-white);
}

.admin-panel {
  animation: fadeIn 0.3s ease-in-out;
}

/* Service management headers */
.services-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.services-panel-header h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.6rem;
}

/* Admin Services list table */
.admin-services-wrapper {
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

.admin-services-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-services-table th {
  background-color: #fcf8f8;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.admin-services-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-services-table tr:hover {
  background-color: #fff9f9;
}

.admin-srv-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background-color: #f5f5f5;
}

.admin-srv-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.admin-srv-price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.admin-srv-promo-badge {
  background-color: #ffe8cc;
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.25rem;
  border-left: 2px solid #f59e0b;
}

.badge-featured {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.admin-srv-features-preview {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 300px;
}

.admin-srv-features-preview li {
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.modal-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--primary);
}

.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.col-span-2 {
  grid-column: span 2;
}

.modal-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-form-grid label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.modal-form-grid input[type="text"],
.modal-form-grid input[type="number"],
.modal-form-grid select,
.modal-form-grid textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  background-color: var(--bg-white);
  transition: var(--transition);
}

.modal-form-grid input:focus,
.modal-form-grid select:focus {
  border-color: var(--primary);
}

.checkbox-group {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem !important;
  margin-top: 0.5rem;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Upload input & Preview */
.image-upload-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.image-upload-preview img {
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background-color: #fcf8f8;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ==========================================================
   Customer Website Promotions Style
   ========================================================== */

.price-original-strike {
  text-decoration: line-through;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.5rem;
}

.price-discounted {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.3rem;
}

.service-promo-tag {
  background-color: #fff3e0;
  color: #e65100;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-left: 3px solid #ff9800;
  align-self: flex-start;
}

.service-promo-tag i {
  color: #ff9800;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .modal-card {
    max-height: 95vh;
  }
}

/* ==========================================================
   Album & Gallery & Floating Selector Styles
   ========================================================== */
.gallery-grid {
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 60%;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1 !important;
  transform: translateY(0);
}

.booking-float-widget {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.booking-float-widget:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}
.booking-float-widget.hidden {
  display: none !important;
}

/* animate-card styles are defined at bottom of file with entrance animation */

.teaser-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.teaser-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Header Mini Cart Selectors */
.header-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mini-cart-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  margin-top: 0.75rem;
  animation: fadeIn 0.2s ease-in-out;
}

.mini-cart-panel.hidden {
  display: none !important;
}

.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mini-cart-header h4 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--text-main);
  font-size: 1.05rem;
}

.mini-cart-header button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.mini-cart-items-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.5rem;
}

.mini-cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-cart-item-info {
  display: flex;
  flex-direction: column;
}

.mini-cart-item-name {
  font-weight: 600;
  color: var(--text-main);
}

.mini-cart-item-price {
  color: var(--primary);
  font-size: 0.8rem;
}

.mini-cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.mini-cart-item-remove:hover {
  color: var(--primary);
}

.mini-cart-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  background-color: #fffaf9;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.mini-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* ================================================================
   Cart Bounce Animation (header icon)
   ================================================================ */
@keyframes cartBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.35); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.cart-bounce {
  animation: cartBounce 0.5s ease-in-out;
}
.cart-bounce .header-cart-count {
  background-color: #2e7d32;
  animation: cartBounce 0.5s ease-in-out;
}

/* ================================================================
   Button Pop Animation (select/deselect button feedback)
   ================================================================ */
@keyframes btnSelectPop {
  0% { transform: scale(1); }
  30% { transform: scale(0.92); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.btn-select-pop {
  animation: btnSelectPop 0.35s ease-out;
}

/* Selection button transition enhancements */
.btn-select {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-select:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}
.btn-select:active {
  transform: scale(0.96);
}
.btn-select.selected {
  background-color: var(--success);
  color: var(--bg-white);
  border-color: var(--success);
}
.btn-select.selected:hover {
  background-color: #c62828;
  border-color: #c62828;
}

/* ================================================================
   Toast Notification (add-to-cart confirmation)
   ================================================================ */
.cart-toast {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  z-index: 10000;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-toast-show {
  opacity: 1;
  transform: translateX(0);
}
.cart-toast-hide {
  opacity: 0;
  transform: translateX(100%);
}

/* ================================================================
   Service Card hover image zoom
   ================================================================ */
.service-img-wrapper {
  overflow: hidden;
}
.service-img {
  transition: transform 0.4s ease;
}
.service-card:hover .service-img {
  transform: scale(1.06);
}

/* Card entrance animation */
@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-card {
  animation: cardSlideUp 0.45s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.animate-card:nth-child(2) { animation-delay: 0.08s; }
.animate-card:nth-child(3) { animation-delay: 0.16s; }
.animate-card:nth-child(4) { animation-delay: 0.24s; }
.animate-card:nth-child(5) { animation-delay: 0.32s; }
.animate-card:nth-child(6) { animation-delay: 0.4s; }
.animate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Mobile toast positioning */
@media (max-width: 768px) {
  .cart-toast {
    right: 0.75rem;
    left: 0.75rem;
    text-align: center;
  }
  .mini-cart-panel {
    width: 290px;
    right: -40px;
  }
}

/* ================================================================
   UI Consistency & Polish Improvements
   ================================================================ */

/* Cart badge pulse when non-zero */
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}
.header-cart-count {
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.header-cart-count:not(:empty) {
  animation: badgePulse 2s infinite;
}

/* Better header cart button hover */
.header-cart-icon-btn {
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
  padding: 0.4rem 0.5rem !important;
}
.header-cart-icon-btn:hover {
  color: var(--primary) !important;
  transform: scale(1.1);
}

/* Floating widget animation */
.booking-float-widget {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.booking-float-widget:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.5) !important;
}

/* Gallery hover effect fix */
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mini-cart item improved layout */
.mini-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-light);
}
.mini-cart-item:last-child {
  border-bottom: none;
}
.mini-cart-item-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-main);
  display: block;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-cart-item-price {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  display: block;
}
.mini-cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.mini-cart-item-remove:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Service card image zoom on hover */
.service-card:hover .service-img {
  transform: scale(1.08);
}

/* Better tab button active state */
.tab-btn.active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

/* Admin modal - wider on large screens, better scroll */
@media (min-width: 900px) {
  .modal-card {
    max-width: 750px;
  }
}
.modal-card::-webkit-scrollbar {
  width: 5px;
}
.modal-card::-webkit-scrollbar-track {
  background: var(--bg-light);
}
.modal-card::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Admin services table row actions spacing */
.admin-services-table td:last-child {
  white-space: nowrap;
}

/* Booking section form input improved focus */
.booking-form .form-group input:focus,
.booking-form .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
  outline: none;
}

/* Selected item tag remove icon hover */
.selected-item-tag i.fa-circle-xmark {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.selected-item-tag i.fa-circle-xmark:hover {
  color: var(--primary-hover);
  transform: scale(1.2);
}

/* Image upload preview sizing */
.image-upload-preview img {
  max-height: 130px;
  border-radius: 8px;
  border: 2px solid var(--border-light);
  object-fit: cover;
  display: block;
  margin-top: 0.5rem;
}
.image-upload-wrapper {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.image-upload-wrapper input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.image-upload-wrapper input[type="text"]:focus {
  border-color: var(--primary);
}

/* Dynamic feature input rows */
.feature-input-row input {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.85rem;
  width: 100%;
  transition: border-color 0.2s;
}
.feature-input-row input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.08);
}

/* Admin nav tab responsive wrapping */
@media (max-width: 640px) {
  .admin-nav-tabs {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .admin-nav-tab {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Promo tag on service card */
.service-promo-tag {
  margin-bottom: 0.75rem;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Better service grid gap on mobile */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* Footer link hover smooth */
.footer-links li a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

/* Admin stat card icon size */
.stat-icon {
  flex-shrink: 0;
}

/* Checkbox group in modal label */
.checkbox-group label {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

/* btn-delete in admin table */
.btn-delete {
  border-color: #fee2e2 !important;
  color: var(--primary) !important;
}
.btn-delete:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
