/* ============================================================
   Template 13: Slate & Sage — 주식회사 트래블월렛
   Primary: #2D5016 | Accent: #8FA87A | Dark: #1A2E0D | Light: #F6F8F4
   Font: Hubot Sans (200-900)
   ============================================================ */

/* === Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Hubot+Sans:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2D5016;
  --accent: #8FA87A;
  --dark: #1A2E0D;
  --light-bg: #F6F8F4;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --font-main: 'Hubot Sans', sans-serif;
}

* {
  font-family: var(--font-main);
}

body {
  background-color: var(--white);
  color: var(--text-dark);
  padding-top: 0;
}

/* === Navbar === */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(26, 46, 13, 0.08);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-navbar .navbar-brand img {
  height: 3.8rem;
  width: auto;
  border-radius: 6px;
}

.custom-navbar .navbar-caption {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
}

.custom-navbar .nav-link {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  margin: 0 2px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(45, 80, 22, 0.08);
}

.navbar-buttons .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-buttons .btn-primary:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 46, 13, 0.75) 0%, rgba(45, 80, 22, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-content .btn {
  padding: 14px 40px;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 6px;
}

.hero-content .btn-black {
  background-color: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
}

.hero-content .btn-black:hover {
  background-color: transparent;
  color: var(--white);
}

/* === Section Common === */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

/* === Features Section === */
.feature-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(143, 168, 122, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 46, 13, 0.1);
  border-color: var(--accent);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Image + Text Section === */
.img-text-section {
  background-color: var(--light-bg);
}

.img-text-section img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-text-section .text-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.img-text-section .text-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* === Stats Section === */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === FAQ Accordion === */
.faq-section {
  background-color: var(--white);
}

.accordion-item {
  border: 1px solid rgba(143, 168, 122, 0.2);
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  background-color: var(--white);
  padding: 20px 24px;
  border-radius: 10px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--light-bg);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.accordion-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 8px 24px 24px;
}

/* === Contact Form === */
.contact-section {
  background-color: var(--light-bg);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26, 46, 13, 0.06);
}

.contact-form-wrapper .form-control {
  border: 1px solid rgba(143, 168, 122, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 300;
  background-color: var(--light-bg);
  transition: all 0.2s ease;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
  background-color: var(--white);
}

.contact-form-wrapper .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 14px 40px;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form-wrapper .btn-primary:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

/* === Contact Info Cards === */
.contact-info-section {
  background-color: var(--white);
}

.contact-info-card {
  text-align: center;
  padding: 36px 20px;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Map Section === */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
}

/* === Footer === */
.footer-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 48px 0 32px;
}

.footer-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-links a {
  margin: 0 16px;
  font-size: 0.95rem;
}

.footer-copyright {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  margin-top: 16px;
}

/* === About Page === */
.about-hero {
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 46, 13, 0.8), rgba(45, 80, 22, 0.7));
  z-index: 1;
}

.about-hero .content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.about-content {
  padding: 80px 0;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.timeline-item {
  padding: 24px 0;
  border-left: 3px solid var(--accent);
  padding-left: 32px;
  position: relative;
  margin-bottom: 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 28px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Services Page === */
.service-detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid rgba(143, 168, 122, 0.2);
  height: 100%;
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 12px 40px rgba(26, 46, 13, 0.08);
  border-color: var(--accent);
}

.service-detail-icon {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-detail-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-detail-card p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* === Testimonials === */
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(143, 168, 122, 0.15);
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(26, 46, 13, 0.08);
}

.testimonial-stars {
  color: #D4AF37;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-links a {
    margin: 0 8px;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
  }

  .custom-navbar .navbar-brand img {
    height: 2.8rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }
}

/* === Legal Pages === */
.legal-container a {
  color: var(--primary);
  text-decoration: none;
}

.legal-container a:hover {
  color: var(--dark);
  text-decoration: underline;
}

.legal-container h3.wp-block-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 36px;
  margin-bottom: 16px;
}

.legal-container h4.wp-block-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-container p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-container ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-container ul li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.cookie-tables-white .wp-block-table th {
  background-color: var(--light-bg);
  font-weight: 600;
  color: var(--dark);
}

/* === Parallax Helper === */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* === Key Figures === */
.key-figures {
  background-color: var(--light-bg);
}

.key-figure-item {
  text-align: center;
  padding: 30px 16px;
}

.key-figure-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.key-figure-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 8px;
}

/* === Decorative Line === */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 40px;
}
