/* ============================================
   Template 12: Dark & White — Dark Theme
   Company: 주식회사 시스퀘어코리아 (EXPARO Korea)
   Primary: #1B1B3A | Accent: #C0A060 | Dark: #0F0F22
   Font: Jost (100-900)
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary: #1B1B3A;
  --accent: #C0A060;
  --dark: #0F0F22;
  --light-bg: #F5F3EE;
  --white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #b0b0b0;
}

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

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ NAVBAR ============ */
/* Template 12: NO navbar-fixed-top, content-wrap container-fluid */
.custom-navbar {
  background-color: var(--dark);
  padding: 15px 0;
  border-bottom: 1px solid rgba(192, 160, 96, 0.15);
}
.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-navbar .navbar-brand img {
  height: 3rem;
  border-radius: 8px;
}
.navbar-caption {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white) !important;
  text-decoration: none;
}
.navbar-caption:hover {
  color: var(--accent) !important;
}
.nav-link.link {
  color: var(--white) !important;
  font-weight: 400;
  padding: 8px 18px !important;
  border-radius: 24px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.nav-link.link:hover,
.nav-link.link.active {
  background-color: rgba(192, 160, 96, 0.15);
  color: var(--accent) !important;
}
.navbar-buttons .btn-primary {
  background-color: var(--accent);
  border: none;
  color: var(--dark);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.navbar-buttons .btn-primary:hover {
  background-color: #d4b87a;
  color: var(--dark);
  transform: translateY(-1px);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============ HERO (FULL-SCREEN PARALLAX, DARK OVERLAY 0.8) ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 34, 0.8);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}
.hero-content h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-content h1 strong {
  color: var(--accent);
}
.hero-content .hero-desc {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 35px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-content .btn-primary {
  background-color: var(--accent);
  border: none;
  color: var(--dark);
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.hero-content .btn-primary:hover {
  background-color: #d4b87a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 160, 96, 0.3);
}
.hero-content .btn-primary i {
  margin-left: 8px;
}

/* ============ SECTION STYLES ============ */
.section-dark {
  background-color: var(--dark);
  padding: 100px 0;
}
.section-primary {
  background-color: var(--primary);
  padding: 100px 0;
}
.section-light {
  background-color: var(--light-bg);
  padding: 100px 0;
  color: var(--dark);
}
.section-light h2,
.section-light h3,
.section-light p {
  color: var(--dark);
}

/* Decorative line divider */
.line-divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 20px auto 40px;
}

/* Section heading */
.section-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
}
.section-heading strong {
  color: var(--accent);
}
.section-subheading {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* ============ CLIENT CARDS (solutionm4 style) ============ */
.client-card {
  background-color: var(--primary);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(192, 160, 96, 0.1);
}
.client-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.client-card .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(192, 160, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--accent);
}
.client-card h4 {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.client-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ FEATURE / SERVICE CARDS ============ */
.feature-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 35px 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(192, 160, 96, 0.08);
  height: 100%;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.feature-card .feature-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h4 {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ ABOUT / IMAGE-TEXT SECTIONS ============ */
.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-text h2 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============ MISSION SECTION (full-bleed) ============ */
.mission-section {
  background-color: var(--primary);
  padding: 80px 0;
  text-align: center;
}
.mission-section h2 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
}
.mission-section h2 strong {
  color: var(--accent);
}
.mission-section p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============ FAQ ACCORDION ============ */
.accordion-item {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.15);
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 18px 24px;
  border: none;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(192, 160, 96, 0.1);
  color: var(--accent);
}
.accordion-button::after {
  filter: brightness(0) invert(1);
}
.accordion-body {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 20px 24px;
  line-height: 1.8;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  background-color: var(--primary);
  border-radius: 16px;
  padding: 50px 40px;
  border: 1px solid rgba(192, 160, 96, 0.15);
}
.contact-form .form-control {
  background-color: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
}
.contact-form .form-control::placeholder {
  color: var(--text-muted);
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 160, 96, 0.1);
}
.contact-form .btn-submit {
  background-color: var(--accent);
  border: none;
  color: var(--dark);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.contact-form .btn-submit:hover {
  background-color: #d4b87a;
}

/* ============ CONTACT INFO CARDS ============ */
.contact-info-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(192, 160, 96, 0.1);
  transition: all 0.3s ease;
}
.contact-info-card:hover {
  border-color: var(--accent);
}
.contact-info-card .info-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}
.contact-info-card h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============ MAP ============ */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(192, 160, 96, 0.15);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============ FOOTER ============ */
.footer-dark {
  background-color: var(--dark);
  padding: 40px 0 25px;
  border-top: 1px solid rgba(192, 160, 96, 0.15);
  text-align: center;
}
.footer-dark .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 25px;
}
.footer-dark .footer-links li {
  display: inline;
}
.footer-dark .footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-dark .footer-links a:hover {
  color: #d4b87a;
  text-decoration: underline;
}
.footer-dark .copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============ PAGE HEADER (SUB-PAGES) ============ */
.page-header {
  background-color: var(--primary);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 34, 0.85);
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-weight: 700;
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 15px;
}
.page-header h1 strong {
  color: var(--accent);
}
.page-header .breadcrumb-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ STATS / ACHIEVEMENTS ============ */
.stat-card {
  text-align: center;
  padding: 30px 20px;
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

/* ============ TEAM CARD ============ */
.team-card {
  background-color: var(--primary);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(192, 160, 96, 0.1);
  transition: all 0.3s ease;
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.team-card .team-info {
  padding: 25px 20px;
}
.team-card .team-info h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 5px;
}
.team-card .team-info .role {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ============ TESTIMONIAL CARD ============ */
.testimonial-card {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 35px 30px;
  border: 1px solid rgba(192, 160, 96, 0.1);
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 5rem;
  color: rgba(192, 160, 96, 0.15);
  font-weight: 700;
  line-height: 1;
}
.testimonial-card .quote {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-card .author {
  color: var(--accent);
  font-weight: 600;
}
.testimonial-card .author-role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ HISTORY TIMELINE ============ */
.timeline-item {
  padding-left: 30px;
  border-left: 2px solid rgba(192, 160, 96, 0.3);
  margin-bottom: 30px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
}
.timeline-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.timeline-content {
  color: var(--text-light);
  line-height: 1.7;
}

/* ============ LEGAL PAGES ============ */
.legal-content {
  padding: 60px 0;
}
.legal-content .container a {
  color: var(--accent);
  text-decoration: none;
}
.legal-content .container a:hover {
  color: #d4b87a;
  text-decoration: underline;
}
.legal-content h3.wp-block-heading {
  color: var(--white);
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(192, 160, 96, 0.2);
}
.legal-content h4.wp-block-heading {
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 25px;
  margin-bottom: 10px;
}
.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}
.legal-content ul {
  color: var(--text-light);
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Cookie tables for privacy.html */
.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid rgba(192, 160, 96, 0.3) !important;
  border-collapse: collapse !important;
  color: var(--text-light);
}
.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(--primary);
  color: var(--accent);
  font-weight: 600;
}
.cookie-tables-white .wp-block-table td {
  background-color: rgba(27, 27, 58, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-heading {
    font-size: 2rem;
  }
  .page-header h1 {
    font-size: 2.2rem;
  }
  .section-dark,
  .section-primary,
  .section-light {
    padding: 60px 0;
  }
  .custom-navbar .navbar-collapse {
    background-color: var(--dark);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
  }
  .nav-link.link {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content .hero-desc {
    font-size: 1rem;
  }
  .section-heading {
    font-size: 1.7rem;
  }
}
