/* public/assets/css/app.css */
@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  letter-spacing: var(--letter-spacing);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  transition: var(--transition-fast);
}

/* Glassmorphism GNB */
.glass-gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(251, 249, 244, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 76, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
}

.gnb-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.gnb-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnb-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
}

.gnb-menu a:hover {
  color: var(--secondary-color);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-pill:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 76, 255, 0.15);
}

/* Hero Section Slider Styles */
.hero-section {
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 80px;
}

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

.hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
}

.hero-text-block {
  max-width: 650px;
}

/* Slide Content animations */
.hero-slide .hero-tag,
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .btn-pill {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.hero-slide.active .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.hero-slide.active .btn-pill {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(18, 18, 18, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.slider-dot.active {
  background-color: var(--secondary-color);
  width: 28px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .hero-slide {
    background-image: linear-gradient(rgba(255, 250, 235, 0.75), rgba(255, 250, 235, 0.82)) !important;
  }
  .hero-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-image: linear-gradient(rgba(255, 241, 197, 0.92), rgba(255, 241, 197, 0.92)), url('https://images.unsplash.com/photo-1507133750040-4a8f57021571?auto=format&fit=crop&w=1200&q=80');
  }
  .hero-content {
    justify-content: center;
    text-align: center;
    padding-top: 40px;
  }
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: var(--border-radius-pill);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px 0;
  color: var(--text-color);
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.7);
  margin-bottom: 40px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.section-desc {
  font-size: 16px;
  color: var(--subtext-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Animate on scroll classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

/* Brand Story Section Cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 76, 255, 0.03);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.card-icon .material-icons {
  font-size: 32px;
}

.counter-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 12px 0;
}

/* Interior Section */
.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

@media (max-width: 576px) {
  .interior-grid {
    grid-template-columns: 1fr;
  }
}

.interior-card {
  position: relative;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 380px;
  cursor: pointer;
  border: 1px solid rgba(0, 76, 255, 0.05);
}

.interior-img {
  width: 100%;
  height: 100%;
}

.interior-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.interior-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
  color: var(--white);
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  height: 100%;
  backdrop-filter: blur(0px);
}

/* Hover effects */
.interior-card:hover .interior-img img {
  transform: scale(1.08);
}

.interior-card:hover .interior-overlay {
  background: linear-gradient(to top, rgba(0, 76, 255, 0.9) 30%, rgba(255, 241, 197, 0.1) 100%);
  backdrop-filter: blur(4px);
}

.interior-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.interior-overlay p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

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

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 76, 255, 0.08), 0 0 1px rgba(0, 76, 255, 0.15);
  border-color: rgba(0, 76, 255, 0.15);
}

.benefit-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

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

/* Menu Section - Tabs and Grid */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-pill {
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 14px;
  background-color: var(--white);
  border: 1px solid rgba(0, 76, 255, 0.1);
  color: var(--text-color);
  cursor: pointer;
}

.tab-pill:hover,
.tab-pill.active {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.menu-card {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.menu-card-img {
  height: 220px;
  overflow: hidden;
  background-color: #eee;
  position: relative;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--subtext-color);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.menu-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
}

/* simulator Section */
.simulator-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }
}

.sim-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.sim-tab {
  flex: 1;
  padding: 12px 6px;
  border-radius: var(--border-radius-card);
  font-weight: bold;
  font-size: 14px;
  border: 1px solid rgba(0,76,255,0.1);
  background-color: var(--white);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-tab.active {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

@media (max-width: 576px) {
  .sim-tabs {
    flex-direction: column;
    gap: 8px;
  }
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.sim-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,76,255,0.05);
}

.sim-table tr:last-child td {
  border-bottom: none;
}

.chart-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-chart-container {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-chart-container svg {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.donut-chart-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.3;
}

.donut-chart-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.testimonial-profile h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-color);
}

.testimonial-profile span {
  font-size: 12px;
  color: var(--subtext-color);
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  font-style: italic;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.testimonial-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 76, 255, 0.1);
  font-size: 13px;
}

.testimonial-metric span {
  color: var(--subtext-color);
}

.testimonial-metric strong {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Steps Timeline Section */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: rgba(0, 76, 255, 0.1);
  z-index: 1;
}

@media (max-width: 992px) {
  .steps-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .steps-timeline::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-timeline::before {
    display: none;
  }
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 76, 255, 0.08);
  transition: all 0.3s ease;
}

.step-item:hover .step-num {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 76, 255, 0.2);
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--text-color);
}

.step-item p {
  font-size: 12px;
  color: var(--subtext-color);
  line-height: 1.5;
  margin: 0;
  padding: 0 8px;
}

/* Map Section */
.map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--border-radius-card);
  border: 1px solid rgba(0, 76, 255, 0.1);
  box-shadow: var(--shadow-soft);
  position: relative;
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  border: 1px solid rgba(0, 76, 255, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  padding: 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question .material-icons {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--secondary-color);
}

.faq-item.active .faq-question .material-icons {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--subtext-color);
  display: none;
}

/* contact Form Card */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-card);
  border: 1px solid rgba(0, 76, 255, 0.15);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 14px;
  outline: none;
}

.form-control:focus {
  border-color: var(--secondary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 76, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--secondary-color);
}

/* Footer client */
.client-footer {
  background-color: var(--text-color);
  color: rgba(255, 241, 197, 0.6);
  padding: 60px 40px;
  text-align: center;
  font-size: 14px;
}

.client-footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

/* Floating Quick Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 76, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.float-btn .material-icons {
  font-size: 24px;
}

.btn-instagram {
  background-color: #E1306C;
  color: var(--white);
}

.btn-instagram:hover {
  background-color: #d1225b;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.3);
}

.btn-phone {
  background-color: #4CAF50;
  color: var(--white);
}

.btn-phone:hover {
  background-color: #43a047;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.back-to-top {
  background-color: var(--secondary-color);
  color: var(--white);
  display: none; /* Collapse layout space when not visible */
}

.back-to-top.show {
  display: flex;
  animation: floatFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.back-to-top:hover {
  background-color: #0036b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 76, 255, 0.3);
}

@keyframes floatFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.custom-checkbox:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 76, 255, 0.1);
}

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

.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(0, 76, 255, 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='%23004CFF' 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;
}
