/* ============================================================
   Template 12: "Dark & White" — 한패스 주식회사
   Primary: #1B1B3A | Accent: #C0A060 | Dark: #0F0F22 | Light bg: #F5F3EE
   Font: Jost (100-900)
   ============================================================ */

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: var(--white);
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #d4b87a; }
strong { font-weight: 700; }

.text-primary { color: var(--white) !important; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--accent) !important; }
.text-black { color: var(--white) !important; }

.display-1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; }
.display-2 { font-size: 2.5rem; font-weight: 600; line-height: 1.3; }
.display-4 { font-size: 1.1rem; font-weight: 500; }
.display-5 { font-size: 1.5rem; font-weight: 500; }
.display-7 { font-size: 1rem; font-weight: 400; }

@media (max-width: 768px) {
  .display-1 { font-size: 2.2rem; }
  .display-2 { font-size: 1.8rem; }
}

/* Buttons */
.btn {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: var(--dark);
}
.btn-primary:hover { background-color: transparent; border-color: var(--accent); color: var(--accent); }

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

.btn-black-outline { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-black-outline:hover { background-color: var(--white); color: var(--dark); }

.btn-info { background-color: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-info:hover { background-color: var(--accent); color: var(--dark); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* Navbar */
.navbar {
  background-color: rgba(15, 15, 34, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(192, 160, 96, 0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar-brand img { height: 3rem; border-radius: 4px; }
.small-radius { border-radius: 4px !important; }
.navbar-caption { font-family: 'Jost', sans-serif; font-weight: 500; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.card-wrap { border-radius: 8px; }
.large-radius { border-radius: 12px !important; }

.nav-link.card-wrap.large-radius { background-color: transparent; }
.nav-link.card-wrap.large-radius:hover { background-color: rgba(192, 160, 96, 0.1); }
.nav-link.active { color: var(--accent) !important; }

.navbar-buttons { display: flex; align-items: center; }
.navbar-buttons .btn { padding: 0.5rem 1.5rem; }

.navbar-toggler { border: 1px solid rgba(255,255,255,0.3); padding: 0.25rem 0.5rem; background: transparent; }
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em; height: 1.5em;
  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.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

@media (max-width: 991px) {
  .navbar-collapse { background-color: var(--dark); padding: 1rem; border-radius: 8px; margin-top: 0.5rem; }
  .navbar-nav { flex-direction: column; gap: 0.25rem; }
  .navbar-buttons { margin-top: 0.75rem; }
}

/* Hero */
.header1 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat fixed;
}

.header1 .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(15, 15, 34, 0.8);
  z-index: 1;
}

.header1 .container { position: relative; z-index: 2; }
.header1 .align-center { text-align: center; }
.header1 .mbr-white { color: var(--white); }
.header1 .display-1 { margin-bottom: 1.5rem; letter-spacing: -0.5px; }
.header1 .display-5 { font-weight: 300; color: var(--text-light); margin-bottom: 2rem; }

/* Line Divider */
.line { width: 80px; height: 3px; background-color: var(--accent); margin: 0 auto 2rem; }
.line-left { margin-left: 0; }

/* Sections */
.section { padding: 6rem 0; }
.section-dark { background-color: var(--dark); }
.section-primary { background-color: var(--primary); }
.section-light { background-color: var(--light-bg); color: var(--dark); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4, .section-light h5, .section-light h6,
.section-light .text-primary, .section-light .text-black { color: var(--dark) !important; }
.section-light .text-white { color: var(--dark) !important; }
.section-light p { color: #333; }

.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 3rem; }

/* solutionm4_content1 */
.solutionm4_content1 { padding: 5rem 0; background-color: var(--primary); }
.solutionm4_content1 .mbr-section-title { font-size: 2.5rem; font-weight: 700; color: var(--white); }
.solutionm4_content1 .line { width: 80px; height: 3px; background-color: var(--accent); margin: 1.5rem auto 2rem; }

/* solutionm4_features1 */
.solutionm4_features1 { padding: 5rem 0; background-color: var(--dark); }
.solutionm4_features1 .card {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
}
.solutionm4_features1 .card:hover { transform: translateY(-5px); border-color: var(--accent); }
.solutionm4_features1 .icon-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background-color: rgba(192, 160, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
}
.solutionm4_features1 .card-title { font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.solutionm4_features1 .card-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Features */
.features-section { padding: 5rem 0; background-color: var(--primary); }
.features-section .feature-card {
  background-color: rgba(15, 15, 34, 0.5);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}
.features-section .feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.features-section .feature-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background-color: rgba(192, 160, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.features-section .feature-title { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; }
.features-section .feature-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Mission */
.mission-section { padding: 6rem 0; background-color: var(--dark); }
.mission-section .mission-text { font-size: 1.15rem; line-height: 1.9; color: var(--text-light); }
.mission-section .mission-highlight { color: var(--accent); font-weight: 500; }

/* History Timeline */
.history-section { padding: 6rem 0; background-color: var(--primary); }
.history-section .timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid rgba(192, 160, 96, 0.3);
}
.history-section .timeline-item:last-child { padding-bottom: 0; }
.history-section .timeline-dot {
  position: absolute;
  left: -9px; top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: var(--accent);
}
.history-section .timeline-year { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-bottom: 0.5rem; }
.history-section .timeline-title { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.history-section .timeline-text { color: var(--text-light); font-size: 0.95rem; }

/* FAQ */
.faq-section { padding: 5rem 0; background-color: var(--dark); }
.accordion-item {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
}
.accordion-button {
  background-color: var(--primary);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 1.25rem;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background-color: var(--primary); color: var(--accent); }
.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; border-color: var(--accent); }
.accordion-body { background-color: var(--primary); color: var(--text-light); padding: 0 1.25rem 1.25rem; line-height: 1.8; }

/* Contact Form */
.contact-section { padding: 5rem 0; background-color: var(--primary); }
.contact-section .form-control {
  background-color: rgba(15, 15, 34, 0.6);
  border: 1px solid rgba(192, 160, 96, 0.2);
  border-radius: 8px;
  color: var(--white);
  padding: 0.85rem 1.25rem;
  font-family: 'Jost', sans-serif;
  transition: border-color 0.3s ease;
}
.contact-section .form-control::placeholder { color: var(--text-muted); }
.contact-section .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 0.2rem rgba(192, 160, 96, 0.15); background-color: rgba(15, 15, 34, 0.8); }
.contact-section textarea.form-control { min-height: 150px; resize: vertical; }

/* Contact Info */
.contact-info-section { padding: 4rem 0; background-color: var(--dark); }
.contact-info-card {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.contact-info-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-info-card .info-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background-color: rgba(192, 160, 96, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--accent);
}
.contact-info-card .info-title { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.contact-info-card .info-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

/* Map */
.map-section { padding: 0; background-color: var(--dark); }
.map-section iframe { width: 100%; height: 400px; border: 0; display: block; }

/* About Page */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&q=80') center/cover no-repeat;
}
.about-hero .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(15,15,34,0.8); z-index:1; }
.about-hero .container { position: relative; z-index:2; }

.about-content { padding: 5rem 0; background-color: var(--dark); }
.about-content h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.about-content p { color: var(--text-light); line-height: 1.9; margin-bottom: 1.5rem; }
.about-image-wrapper { position: relative; border-radius: 12px; overflow: hidden; }
.about-image-wrapper img { width: 100%; border-radius: 12px; }

/* CEO */
.ceo-section { padding: 5rem 0; background-color: var(--primary); }
.ceo-quote { font-size: 1.2rem; line-height: 1.9; color: var(--text-light); font-style: italic; padding-left: 2rem; border-left: 3px solid var(--accent); }
.ceo-name { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-top: 1.5rem; }
.ceo-title { color: var(--text-muted); font-size: 0.9rem; }

/* Services Page */
.services-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80') center/cover no-repeat;
}
.services-hero .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(15,15,34,0.8); z-index:1; }
.services-hero .container { position: relative; z-index:2; }

.service-detail-card {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}
.service-detail-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.service-detail-card .service-img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 1.5rem; }
.service-detail-card h3 { font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; }
.service-detail-card p { color: var(--text-light); line-height: 1.7; }

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

/* Stats */
.stats-section { padding: 4rem 0; background-color: var(--primary); }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.stat-label { color: var(--text-light); font-size: 1rem; }

/* Testimonials */
.testimonials-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=800&q=80') center/cover no-repeat;
}
.testimonials-hero .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(15,15,34,0.8); z-index:1; }
.testimonials-hero .container { position: relative; z-index:2; }
.testimonial-card {
  background-color: var(--primary);
  border: 1px solid rgba(192, 160, 96, 0.1);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}
.testimonial-card .testimonial-text { color: var(--text-light); font-style: italic; font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; position: relative; }
.testimonial-card .testimonial-text::before { content: '\201C'; font-size: 3rem; color: var(--accent); position: absolute; top: -1.5rem; left: -0.5rem; font-style: normal; }
.testimonial-card .testimonial-author { color: var(--white); font-weight: 600; }
.testimonial-card .testimonial-position { color: var(--accent); font-size: 0.85rem; }

/* Policy Pages */
.policy-hero {
  position: relative; min-height: 40vh;
  display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1661549683908-b11e9855c469?w=800&q=80') center/cover no-repeat;
}
.policy-hero .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(15,15,34,0.85); z-index:1; }
.policy-hero .container { position: relative; z-index:2; }

.policy-content { padding: 4rem 0; background-color: var(--dark); }
.policy-content h2 { color: var(--white); font-size: 1.6rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { color: var(--accent); font-size: 1.2rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }
.policy-content p, .policy-content li { color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

/* Cookie Consent */
.cookie-consent-popup {
  position: fixed; bottom: 0; left: 0; right: 0;
  background-color: var(--primary);
  border-top: 2px solid var(--accent);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-consent-popup.show { transform: translateY(0); }
.cookie-consent-popup p { color: var(--text-light); margin-bottom: 0.5rem; font-size: 0.95rem; }
.cookie-consent-popup .cookie-links a { color: var(--accent); text-decoration: underline; margin-right: 1rem; font-size: 0.9rem; }
.cookie-consent-popup .btn { margin-right: 0.5rem; font-size: 0.9rem; padding: 0.5rem 1.5rem; }

/* Cookie Table */
.cookie-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.cookie-table th { background-color: var(--primary); color: var(--accent); padding: 1rem; text-align: left; font-weight: 600; border-bottom: 2px solid var(--accent); }
.cookie-table td { padding: 0.85rem 1rem; color: var(--text-light); border-bottom: 1px solid rgba(192, 160, 96, 0.1); }
.cookie-table tr:hover td { background-color: rgba(192, 160, 96, 0.05); }

#cookie-policy { padding: 2rem 0; }
#cookie-policy h2 { color: var(--white); font-size: 1.6rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; }
#cookie-policy h3 { color: var(--accent); font-size: 1.2rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }

/* Breadcrumb */
.breadcrumb-section { padding: 1.5rem 0; background-color: var(--primary); border-bottom: 1px solid rgba(192, 160, 96, 0.1); }
.breadcrumb { margin:0; padding:0; list-style:none; display:flex; gap:0.5rem; align-items:center; }
.breadcrumb-item { color: var(--text-light); font-size: 0.9rem; }
.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item+.breadcrumb-item::before { content: '/'; color: var(--text-muted); margin-right: 0.5rem; }

/* Page Header */
.page-header { padding: 5rem 0 3rem; background-color: var(--dark); text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 700; }
.page-header .line { margin-top: 1rem; }

/* Footer */
.footer { background-color: var(--dark); padding: 2.5rem 0; text-align: center; border-top: 1px solid rgba(192, 160, 96, 0.1); }
.footer .footer-links { list-style:none; padding:0; margin:0 0 1.25rem; display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap; }
.footer .footer-links li { display: inline; }
.footer .footer-links a { color: var(--accent); font-size: 0.95rem; }
.footer .footer-links a:hover { color: #d4b87a; }
.footer .copyright { color: var(--text-muted); font-size: 0.85rem; }
.footer .company-info { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; line-height: 1.8; }

/* Split Section */
.split-section { padding: 5rem 0; background-color: var(--dark); }
.split-section .split-image img { width: 100%; border-radius: 12px; }
.split-section .split-content h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.split-section .split-content p { color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }

/* Parallax Banner */
.parallax-banner {
  position: relative;
  padding: 6rem 0;
  background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=800&q=80') center/cover no-repeat fixed;
}
.parallax-banner .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(15,15,34,0.85); z-index:1; }
.parallax-banner .container { position: relative; z-index:2; }

/* Responsive */
@media (max-width: 768px) {
  .display-1 { font-size: 2rem; }
  .display-2 { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .header1 { min-height: 80vh; }
  .section-title { font-size: 1.8rem; }
  .footer .footer-links { flex-direction: column; gap: 0.5rem; }
  .about-hero { min-height: 40vh; }
  .services-hero { min-height: 35vh; }
}
@media (max-width: 576px) {
  .display-1 { font-size: 1.75rem; }
  .btn-lg { padding: 0.75rem 1.5rem; }
}
