/* ============================================
   Template 5: Dark & Crimson
   GLN International (주식회사 지엘엔인터내셔널)
   Primary: #1a1a2e | Accent: #E94560 | Dark: #0F0F1A | Light: #F5F5FA
   Font: Inter Tight
   ============================================ */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

/* ---- Base Reset ---- */
:root {
  --primary: #1a1a2e;
  --accent: #E94560;
  --dark: #0F0F1A;
  --light-bg: #F5F5FA;
  --text-dark: #1a1a2e;
  --text-light: #FFFFFF;
  --text-muted: #6c757d;
  --font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- Navbar (NO fixed-top) ---- */
.custom-navbar {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

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

.custom-navbar .navbar-caption {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.25rem;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
}

.custom-navbar .navbar-caption.text-primary {
  color: #FFFFFF !important;
}

.custom-navbar .nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75) !important;
  padding: 8px 16px !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #FFFFFF !important;
}

.custom-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  padding: 6px 10px;
}

.custom-navbar .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.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-navbar .navbar-buttons {
  margin-left: 16px;
}

.custom-navbar .navbar-buttons .btn-primary {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.custom-navbar .navbar-buttons .btn-primary:hover {
  background: #d13a52;
  transform: translateY(-1px);
}

.custom-navbar .navbar-buttons .btn-primary .mobi-mbri-right {
  margin-left: 6px;
  font-size: 0.75rem;
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

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

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

.hero-section .hero-heading {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 3.5rem;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-section .border-wrapper {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.hero-section .hero-bottom {
  margin-top: 2rem;
}

.hero-section .hero-bottom .card {
  background: transparent;
  border: none;
  padding: 1.5rem;
}

.hero-section .hero-desc {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

.hero-section .btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.hero-section .btn-accent:hover {
  background: #d13a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,69,96,0.35);
}

/* ---- Section Headings ---- */
.section-heading {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subheading {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.7;
}

/* ---- Advantages Section ---- */
.advantages-section {
  padding: 100px 0;
  background: #fff;
}

.advantages-section .feature-item {
  margin-bottom: 2.5rem;
}

.advantages-section .feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.advantages-section .feature-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.advantages-section .feature-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- History Section ---- */
.history-section {
  padding: 100px 0;
  background: var(--light-bg);
}

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

.history-section .history-text {
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
}

/* ---- Embla Carousel ---- */
.clients-section {
  padding: 100px 0;
  background: var(--dark);
}

.clients-section .section-heading {
  color: #fff;
}

.clients-section .section-subheading {
  color: rgba(255,255,255,0.6);
}

.embla {
  overflow: hidden;
  margin-top: 3rem;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.embla__slide {
  position: relative;
  flex: 0 0 33.333%;
  min-width: 0;
  padding: 0 15px;
}

.embla__slide .slide-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.embla__slide .slide-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.embla__slide .slide-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--accent);
}

.embla__slide .slide-card .slide-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.embla__slide .slide-card .slide-desc {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.embla__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.embla__button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embla__button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---- Join Us Section ---- */
.join-section {
  padding: 100px 0;
  background: #fff;
}

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

.join-section .join-text {
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
}

/* ---- Founder Section ---- */
.founder-section {
  padding: 100px 0;
  background: var(--light-bg);
}

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

.founder-section .founder-quote {
  font-family: var(--font-family);
  font-weight: 300;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.9;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.founder-section .founder-name {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.founder-section .founder-role {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Contact Form Section ---- */
.contact-form-section {
  padding: 100px 0;
  background: #fff;
}

.contact-form-section .form-control {
  background: var(--light-bg);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.contact-form-section .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
  outline: none;
}

.contact-form-section .form-control::placeholder {
  color: #adb5bd;
}

.contact-form-section textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form-section .btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 40px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.contact-form-section .btn-submit:hover {
  background: #d13a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,69,96,0.35);
}

/* ---- Contact Info Cards ---- */
.contact-info-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.contact-info-section .info-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-info-section .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.contact-info-section .info-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.contact-info-section .info-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-section .info-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Map Section ---- */
.map-section {
  position: relative;
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Footer ---- */
.footer-section {
  background: var(--dark);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

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

.footer-section a:hover {
  color: #fff !important;
}

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

.footer-section .footer-links a {
  display: inline-block;
  margin: 0 12px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-section .footer-copyright {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Page Header (sub-pages) ---- */
.page-header {
  padding: 160px 0 80px;
  background: var(--dark);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-alt.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .page-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 3rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.page-header .page-breadcrumb {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}

.page-header .page-breadcrumb a {
  color: var(--accent);
}

/* ---- Content Sections (sub-pages) ---- */
.content-section {
  padding: 80px 0;
}

.content-section p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

/* ---- FAQ Accordion ---- */
.faq-section {
  padding: 100px 0;
  background: var(--light-bg);
}

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

.accordion-button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent);
  background: #fff;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.5rem 1.5rem;
  background: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .custom-navbar .navbar-collapse {
    background: rgba(15, 15, 26, 0.98);
    padding: 1rem;
    border-radius: 0 0 12px 12px;
  }

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

  .hero-section .hero-heading {
    font-size: 2.2rem;
  }

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

  .embla__slide {
    flex: 0 0 85%;
  }

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

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

  .hero-section .hero-desc {
    font-size: 0.95rem;
  }

  .history-section .row,
  .join-section .row,
  .founder-section .row {
    flex-direction: column;
  }

  .history-section img,
  .join-section img,
  .founder-section img {
    margin-bottom: 2rem;
  }
}
