/* ===== K-Medical Tours Main CSS ===== */

/* ── Brand color: teal (shared across home & wellness) ── */
:root {
  --brand: #0d9488;
  --brand-hover: #0f766e;
  --brand-light: #f0fdf4;
}

body {
  font-family: 'Noto Sans', sans-serif;
}

/* Bootstrap btn-primary override → brand teal */
.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
}
.btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline-primary:hover {
  background-color: var(--brand);
  border-color: var(--brand);
}
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }

/* Service card info badges */
.svc-badges {
  justify-content: flex-start;
}

.svc-badge {
  background: #eef4ff;
  border: 1px solid #93c5fd;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  min-width: 70px;
  flex: 1 1 0;
}

.svc-badge-icon {
  color: #3b82f6;
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.svc-badge-label {
  font-size: 0.62rem;
  color: #6b7280;
  line-height: 1.2;
  margin-bottom: 3px;
}

.svc-badge-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.2;
}

.btn-outline-light:hover { color: #000 !important; }

/* Navbar */
.navbar-brand {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
  color: #fff;
  font-size: 0.95rem;
}

/* Quick Menu */
.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  transition: color 0.2s;
}
.quick-menu-item:hover { color: #0d9488; }
.quick-menu-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: background 0.2s;
}
.quick-menu-item:hover .quick-menu-icon { background: #0d9488; color: #fff; }
.quick-menu-icon i { color: #0d9488; }
.quick-menu-item:hover .quick-menu-icon i { color: #fff; }

/* Service List Card */
.service-list-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-list-card:hover {
  box-shadow: 0 4px 16px rgba(13,148,136,0.12);
  border-color: #0d9488;
}

/* Stat Card */
.stat-card { transition: transform 0.2s; }
.stat-card:hover { transform: translateY(-4px); }

/* Hero Slider */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-section .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.55);
}

.hero-section .carousel-caption {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  text-align: center;
  padding: 0 1rem;
}

.hero-section .carousel-caption h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-section .carousel-caption p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Section headings */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Why Choose checkmarks */
.why-item i {
  color: #0d6efd;
  margin-right: 8px;
}

/* How It Works steps */
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.how-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* CTA buttons */
.cta-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
  color: #fff;
  padding: 3rem 0;
}

/* ===== 장바구니 패널 ===== */
.cart-panel {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 1055;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
}

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1054;
}

.cart-overlay.show {
  display: block;
}

.cart-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 0;
}

.cart-item .item-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item .item-price {
  font-size: 0.85rem;
  color: #0d6efd;
}

/* Service Cards */
.service-card {
  border: 1px solid #e2eaf6 !important;
  border-top: 4px solid #2563eb !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(37,99,235,0.15);
}

/* Gangnam Boutique Line — 보라 테마 */
.gangnam-theme .service-card {
  border: 1px solid #c4b5fd !important;
  border-top: 4px solid #7c3aed !important;
  box-shadow: 0 4px 16px rgba(124,58,237,0.10);
}
.gangnam-theme .service-card:hover {
  box-shadow: 0 10px 28px rgba(124,58,237,0.20);
}
.gangnam-theme .service-card .card-title {
  color: #5b21b6;
}
.gangnam-theme .service-card .add-to-cart-btn {
  background: #7c3aed;
  border-color: #7c3aed;
}
.gangnam-theme .service-card .add-to-cart-btn:hover {
  background: #6d28d9;
  border-color: #6d28d9;
}
.gangnam-theme .svc-badge {
  background: #ede9fe;
  border: 1px solid #c4b5fd;
}
.gangnam-theme .svc-badge-icon { color: #7c3aed; }
.gangnam-theme .svc-badge-value { color: #5b21b6; }

/* Skin subcategory badge themes */
.skin-youth { border-color: #7dd3fc !important; }
.skin-youth .svc-badge { background: #e0f2fe; border: 1px solid #7dd3fc; }
.skin-youth .svc-badge-icon { color: #0284c7; }
.skin-youth .svc-badge-value { color: #0369a1; }

.skin-glow { border-color: #c4b5fd !important; }
.skin-glow .svc-badge { background: #ede9fe; border: 1px solid #c4b5fd; }
.skin-glow .svc-badge-icon { color: #6d28d9; }
.skin-glow .svc-badge-value { color: #5b21b6; }

.skin-quick { border-color: #fcd34d !important; }
.skin-quick .svc-badge { background: #fef3c7; border: 1px solid #fcd34d; }
.skin-quick .svc-badge-icon { color: #d97706; }
.skin-quick .svc-badge-value { color: #b45309; }

.skin-contour { border-color: #5eead4 !important; }
.skin-contour .svc-badge { background: #ccfbf1; border: 1px solid #5eead4; }
.skin-contour .svc-badge-icon { color: #0d9488; }
.skin-contour .svc-badge-value { color: #0f766e; }

.service-card .card-title {
  font-size: 1rem;
  color: #1e3a5f;
}

.service-card .card-body {
  padding: 1.25rem;
}

.service-card .add-to-cart-btn {
  font-size: 0.85rem;
}

/* Review cards */
.review-card {
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

/* More Details button */
.svc-more-btn {
  background: #f0f5ff;
  color: #2563eb;
  border: 1px solid #c7d9f9;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}

.svc-more-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.svc-detail-box {
  background: #f8faff;
  border: 1px solid #e2eaf6;
  border-radius: 8px;
  padding: 10px 14px;
  color: #374151;
  line-height: 1.7;
}

.svc-detail-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.svc-detail-box li {
  margin-bottom: 3px;
}

/* Footer */
footer a:hover {
  color: #fff !important;
}

/* Service detail — What Is section: 2col → 1col stacked */
.service-detail-content .row.align-items-center .col-md-6 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* 7-column quick menu (Optician added) */
@media (min-width: 768px) {
  .row-cols-md-7 > * { flex: 0 0 auto; width: 14.2857142857%; }
}
