/* =============================================
   Template 11: Teal & Pewter — REVERSED HERO
   Company: 주식회사 캐시멜로 (Cashmallow)
   Primary: #1B6B6B | Accent: #B8A07A | Dark: #0D3D3D | Light: #F4F9F9
   Font: Host Grotesk (300-800)
   ============================================= */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@300..800&display=swap');

:root {
  --primary: #1B6B6B;
  --accent: #B8A07A;
  --dark: #0D3D3D;
  --light-bg: #F4F9F9;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* ---- Navbar (NOT fixed-top, content-wrap container-fluid) ---- */
.custom-navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
  z-index: 1030;
}

.content-wrap {
  padding: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 3rem;
  width: auto;
}

.navbar-caption {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-caption:hover {
  color: var(--accent) !important;
}

.nav-link.link {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link.link:hover,
.nav-link.link.active {
  color: var(--accent) !important;
}

.navbar-buttons {
  margin-left: 1rem;
}

.navbar-buttons .btn {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- Buttons ---- */
.btn-info {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-info:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-black {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-black:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ---- Hero Section (Full-screen Parallax, REVERSED) ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 61, 61, 0.7);
  z-index: 1;
}

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

/* Override Bootstrap card white background in hero */
.hero-section .card {
  background: transparent !important;
  border: none !important;
}

.hero-content {
  padding: 6rem 2rem;
}

.hero-empty {
  /* Left side intentionally empty per template 11 */
  min-height: 300px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 520px;
}

.hero-content .btn {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
}

.hero-empty {
  /* Left side intentionally empty per template 11 */
}

/* ---- Section Common ---- */
section {
  padding: 5rem 0;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.light-bg {
  background-color: var(--light-bg);
}

.dark-bg {
  background-color: var(--dark);
  color: var(--white);
}

/* ---- About / Image+Text Sections ---- */
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

.about-text {
  padding: 2rem 0;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

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

.label-text {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* ---- Services Cards (card_1 / card_2) ---- */
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.service-card.card_1 {
  border-top: 4px solid var(--primary);
}

.service-card.card_2 {
  border-top: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.service-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.service-card.card_1 .card-icon {
  background: rgba(27,107,107,0.1);
  color: var(--primary);
}

.service-card.card_2 .card-icon {
  background: rgba(184,160,122,0.1);
  color: var(--accent);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Team Cards ---- */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--light-bg);
}

.team-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- FAQ Accordion ---- */
.accordion-faq .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.accordion-faq .accordion-button {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 12px !important;
}

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

.accordion-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-faq .accordion-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.accordion-faq .accordion-button::after {
  background-size: 1rem;
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 50px rgba(0,0,0,0.06);
}

.contact-form-wrapper .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27,107,107,0.08);
}

.contact-form-wrapper textarea.form-control {
  min-height: 140px;
}

.contact-form-wrapper .btn-submit {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-wrapper .btn-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,160,122,0.3);
}

/* ---- Contact Info Cards ---- */
.contact-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.contact-info-card .info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(27,107,107,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
}

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

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---- Map ---- */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---- Stats ---- */
.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-card .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* ---- Testimonial ---- */
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  position: relative;
  border-left: 4px solid var(--accent);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.25rem;
}

.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--accent);
}

/* ---- Parallax CTA ---- */
.parallax-cta {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 6rem 0;
}

.parallax-cta .overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,61,61,0.85);
  z-index: 1;
}

.parallax-cta .container,
.parallax-cta .container-fluid {
  position: relative;
  z-index: 2;
}

.parallax-cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
}

.parallax-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0;
  text-align: center;
}

.site-footer .footer-links {
  margin-bottom: 1.5rem;
}

.site-footer .footer-links a {
  color: var(--accent);
  margin: 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--white);
}

.site-footer .footer-info {
  font-size: 0.85rem;
  line-height: 2;
}

.site-footer .footer-info p {
  margin-bottom: 0.25rem;
}

/* ---- Cookie Consent ---- */
.cookies-alert-plugin {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* ---- Page Header ---- */
.page-header {
  background: var(--light-bg);
  padding: 8rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---- Legal Pages ---- */
.legal-content {
  padding: 3rem 0 5rem;
}

.legal-content .container {
  max-width: 860px;
}

.legal-content h3.wp-block-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-bg);
}

.legal-content h4.wp-block-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.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;
  font-size: 0.9rem;
}

.cookie-tables-white .wp-block-table th {
  background: #f8f9fa;
  font-weight: 700;
}

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

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

  .hero-content {
    padding: 4rem 1rem;
  }

  .hero-section {
    min-height: 80vh;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}

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

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

  .section-heading {
    font-size: 1.6rem;
  }

  .stat-card .stat-number {
    font-size: 2.2rem;
  }

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