@import url('tokens.css');

/* ==========================================
   1. GNB Glassmorphic Header & Layout
   ========================================== */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: var(--transition);
}

.glass-header.scrolled {
  height: 70px;
  background: rgba(241, 248, 233, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
  box-shadow: var(--shadow-soft);
}

/* Not scrolled states (transparent header colors) */
.glass-header:not(.scrolled) .logo {
  color: var(--white);
}
.glass-header:not(.scrolled) .logo span {
  color: rgba(255, 255, 255, 0.7);
}
.glass-header:not(.scrolled) .nav-links a {
  color: var(--white);
}
.glass-header:not(.scrolled) .nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.glass-header:not(.scrolled) .GNB-contact-btn {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  box-shadow: none;
}
.glass-header:not(.scrolled) .GNB-contact-btn:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-main);
}

.logo span {
  font-weight: 300;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
}

/* Common pill button style */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-spring);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background-color: #246328;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--text);
  transform: translateY(-3px);
}

/* ==========================================
   2. Hero Slider (3-Scene)
   ========================================== */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.35) 0%, rgba(28, 40, 51, 0.75) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--white);
  max-width: 650px;
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  transition-delay: 0.3s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: var(--letter-spacing);
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: var(--radius-pill);
}

/* ==========================================
   3. Brand Story & Counters
   ========================================== */
.section {
  padding: 100px 5%;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.story-text {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
}

.story-text p {
  margin-bottom: 24px;
}

.story-counters {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.counter-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.counter-icon {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-icon i {
  font-size: 28px;
}

.counter-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.counter-label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* ==========================================
   4. Interior Gallery
   ========================================== */
.interior-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(46, 125, 50, 0) 40%, rgba(46, 125, 50, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  backdrop-filter: blur(4px);
}

.gallery-info {
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--white);
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ==========================================
   5. Benefits Grid
   ========================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition-spring);
  border: 1px solid rgba(46, 125, 50, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.2);
}

.benefit-icon {
  background: rgba(46, 125, 50, 0.06);
  color: var(--primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--primary);
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

/* ==========================================
   6. Ticket Menu (Asynchronous Tab System)
   ========================================== */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-pill {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(46, 125, 50, 0.15);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-pill.active, .tab-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 16px -4px rgba(46, 125, 50, 0.3);
}

.menu-display {
  min-height: 350px;
  position: relative;
  transition: var(--transition);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  opacity: 1;
}

.menu-card.fade-out {
  opacity: 0;
  transform: translateY(15px);
}

.menu-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.menu-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #eee;
}

.menu-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-img-wrap img {
  transform: scale(1.05);
}

.menu-body {
  padding: 24px;
}

.menu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.menu-desc {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: 20px;
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

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

.menu-price span {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* ==========================================
   7. Testimonials ( 점주 성공 후기 )
   ========================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 35px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 125, 50, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5rem;
  color: rgba(46, 125, 50, 0.08);
  font-family: serif;
  line-height: 1;
}

.avatar-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.avatar-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.avatar-details p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.metric-badge {
  display: inline-block;
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ==========================================
   8. Timeline ( 창업 개설 절차 )
   ========================================== */
.timeline-container {
  position: relative;
  padding: 40px 0;
  margin-top: 40px;
}

/* Desktop Horizontal Timeline */
.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: rgba(46, 125, 50, 0.15);
  z-index: 1;
}

.timeline-step {
  width: 15%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-spring);
}

.timeline-step:hover .step-node {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.75;
}

/* ==========================================
   9. Cost Simulator & SVG Ring Chart
   ========================================== */
.simulator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 45px;
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.sim-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
  border-bottom: 2px solid rgba(46, 125, 50, 0.1);
  padding-bottom: 10px;
}

.sim-tab-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.sim-tab {
  padding: 12px 10px;
  background: var(--background);
  color: var(--text);
  border: 1px solid rgba(46, 125, 50, 0.1);
  border-radius: var(--radius-card);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  /* Truncation & wrapping prevention */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.sim-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 5px 15px -3px rgba(46, 125, 50, 0.3);
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.sim-table th, .sim-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ECEFF1;
}

.sim-table th {
  font-weight: 600;
  color: var(--text);
}

.sim-table td {
  color: var(--text);
  font-weight: 700;
}

.sim-table td.label-col {
  color: var(--text);
  opacity: 0.8;
  font-weight: 500;
}

.total-row {
  background: rgba(46, 125, 50, 0.05);
}

.total-row td {
  color: var(--primary) !important;
  font-size: 1.2rem;
  font-weight: 800;
}

/* SVG Chart positioning */
.chart-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.donut-svg {
  width: 100%;
  height: 100%;
}

.donut-segment {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

/* Absolute central positioning of text in Ring Chart */
.chart-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 5;
}

.chart-center-text .title {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
  font-weight: 500;
}

.chart-center-text .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}

/* ==========================================
   10. Kakao Map & CustomOverlay
   ========================================== */
#kakao-map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 125, 50, 0.1);
  overflow: hidden;
}

/* Kakao CustomOverlay Custom Card Style */
.custom-overlay {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 280px;
  overflow: hidden;
  font-family: var(--font-main);
  letter-spacing: var(--letter-spacing);
}

.custom-overlay-header {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-overlay-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: var(--transition);
}

.custom-overlay-close:hover {
  opacity: 1;
}

.custom-overlay-body {
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}

.custom-overlay-address {
  margin-bottom: 8px;
  font-weight: 500;
}

.custom-overlay-phone {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-overlay::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--white);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================
   11. FAQ Accordion
   ========================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(46, 125, 50, 0.02);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: var(--white);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  padding-right: 20px;
}

.faq-arrow {
  color: var(--primary);
  transition: transform var(--transition);
  font-size: 24px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 24px 24px 24px;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.85;
}

/* ==========================================
   12. Forms & Inputs
   ========================================== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 45px;
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-input);
  border: 1px solid rgba(46, 125, 50, 0.15);
  font-family: var(--font-main);
  font-size: 0.95rem;
  background-color: var(--background);
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 24px;
}

.checkbox-label input {
  margin-top: 3px;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================
   13. Floating Quick Action Stack & Top Button
   ========================================== */
.floating-action-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.25);
  transition: var(--transition-spring);
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.35);
}

.floating-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.25);
}

.floating-btn.instagram:hover {
  box-shadow: 0 12px 30px rgba(220, 39, 67, 0.35);
}

#scroll-top-btn {
  background-color: var(--text);
  box-shadow: 0 8px 24px rgba(28, 40, 81, 0.2);
  display: flex;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s ease;
}

#scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

/* ==========================================
   14. Scroll Animations (Intersection Observer)
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes for staggered entrances */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================
   15. Footer Styling
   ========================================= */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 5% 30px 5%;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================
   16. Responsive Styles (Media Queries)
   ========================================= */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .interior-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 6px;
  }
  .nav-links a {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .glass-header {
    padding: 0 3%;
  }
  .logo {
    font-size: 1.25rem;
  }
  .GNB-contact-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .glass-header {
    padding: 0 4%;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-content {
    left: 5%;
    right: 5%;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .interior-gallery {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  /* Timeline Responsive: Vertical Stack */
  .timeline-horizontal {
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
  }
  
  .timeline-horizontal::before {
    top: 0;
    bottom: 0;
    left: 32px;
    width: 4px;
    height: auto;
  }
  
  .timeline-step {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  .step-node {
    margin: 0;
    flex-shrink: 0;
  }
  
  .step-text {
    padding-top: 10px;
  }
}

/* E2E Playwright compliance rule */
.card {
  border-radius: 12px !important;
}

/* Custom Checkbox */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  background-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  outline: none;
  flex-shrink: 0;
}

.custom-checkbox:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.custom-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

/* Custom Select Dropdown */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232E7D32' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

