/* ===== Template 2: Emerald & Teal ===== */
/* Company: 주식회사 글로벌머니익스프레스 (Global Money Express) */
/* Primary: #0B5D3E | Accent: #14AB72 | Dark: #062A1C | Light bg: #f0faf4 */

:root {
  --primary: #0B5D3E;
  --accent: #14AB72;
  --dark: #062A1C;
  --light-bg: #f0faf4;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #555555;
}

body {
  font-family: 'Geist', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  padding-top: 80px;
}

/* ===== Navbar ===== */
.custom-navbar {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  z-index: 1030;
}

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

.custom-navbar .navbar-brand img {
  height: 3.7rem;
  border-radius: 8px;
}

.custom-navbar .navbar-caption {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.custom-navbar .nav-link.link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.3s;
}

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

.custom-navbar .nav-link.link.active {
  color: var(--accent) !important;
  font-weight: 700;
}

.navbar-buttons .btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 0.55rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

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

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

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

/* ===== Split Hero ===== */
.hero-section {
  padding: 5rem 0 4rem;
  background-color: var(--light-bg);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

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

.hero-image-wrapper {
  position: relative;
  padding: 1.5rem;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(6,42,28,0.15);
}

/* Decorative borders for hero */
.border-wrap {
  position: absolute;
  pointer-events: none;
}

.border-wrap.border_1 {
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 4px 0 0 0;
}

.border-wrap.border_2 {
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-radius: 0 0 4px 0;
}

/* Cross patterns */
.cross-section {
  position: absolute;
  pointer-events: none;
}

.cross-section.cross_1 {
  top: -10px;
  right: 60px;
  width: 18px;
  height: 18px;
}

.cross-section.cross_1::before,
.cross-section.cross_1::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.cross-section.cross_1::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.cross-section.cross_1::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.cross-section.cross_2 {
  bottom: -10px;
  left: 60px;
  width: 18px;
  height: 18px;
}

.cross-section.cross_2::before,
.cross-section.cross_2::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.cross-section.cross_2::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.cross-section.cross_2::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.cross-section.cross_3 {
  top: 50%;
  right: -10px;
  width: 18px;
  height: 18px;
}

.cross-section.cross_3::before,
.cross-section.cross_3::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.cross-section.cross_3::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.cross-section.cross_3::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.cross-section.cross_4 {
  bottom: 50%;
  left: -10px;
  width: 18px;
  height: 18px;
}

.cross-section.cross_4::before,
.cross-section.cross_4::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.cross-section.cross_4::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.cross-section.cross_4::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* Corner wraps */
.corner-wrapper {
  position: relative;
  padding: 3rem;
}

.corner-wrap {
  position: absolute;
  width: 30px;
  height: 30px;
  pointer-events: none;
}

.corner-wrap.corner_1 { top: 0; left: 0; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.corner-wrap.corner_2 { top: 0; right: 0; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.corner-wrap.corner_3 { bottom: 0; left: 0; border-bottom: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.corner-wrap.corner_4 { bottom: 0; right: 0; border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent); }

/* ===== Frame Wrapper ===== */
.frame-wrapper {
  position: relative;
  padding: 4rem 2rem;
}

.frame-wrapper .frame-cross-top,
.frame-wrapper .frame-cross-bottom {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
}

.frame-wrapper .frame-cross-top { top: 8px; }
.frame-wrapper .frame-cross-bottom { bottom: 8px; }

.frame-wrapper .frame-cross-top::before,
.frame-wrapper .frame-cross-top::after,
.frame-wrapper .frame-cross-bottom::before,
.frame-wrapper .frame-cross-bottom::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.frame-wrapper .frame-cross-top::before,
.frame-wrapper .frame-cross-bottom::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.frame-wrapper .frame-cross-top::after,
.frame-wrapper .frame-cross-bottom::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Section Styles ===== */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.section-padding {
  padding: 5rem 0;
}

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

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

/* ===== Service Cards ===== */
.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(6,42,28,0.12);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.8rem;
}

.service-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

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

.service-card .card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.service-card .card-link:hover {
  color: var(--primary);
}

/* ===== Card Wrapper (large-radius) ===== */
.card-wrapper {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.card-wrapper.large-radius {
  border-radius: 24px;
}

.card-wrapper .card-content {
  padding: 3rem;
}

.card-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

/* ===== Parallax Section ===== */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 6rem 0;
  color: var(--white);
}

.parallax-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 42, 28, 0.8);
  z-index: 1;
}

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

.parallax-section h2 {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.parallax-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

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

.faq-section .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background: var(--white);
  border-radius: 12px !important;
  padding: 1.2rem 1.5rem;
}

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

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

.faq-section .accordion-body {
  padding: 1.2rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.contact-form-wrapper .form-control {
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20,171,114,0.1);
}

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

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

.btn-info-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  transition: all 0.3s;
}

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

.btn-black {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 2.2rem;
  border-radius: 50px;
  transition: all 0.3s;
}

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

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

.contact-info-card .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--accent);
}

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

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

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

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

/* ===== Footer ===== */
.footer01 {
  background-color: var(--dark);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.footer01 .footer-content {
  font-size: 0.95rem;
}

.footer01 a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer01 a:hover {
  color: var(--white);
}

.footer01 .copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ===== Decorative frame for contact/map sections ===== */
.decorative-frame {
  position: relative;
  margin: 2rem 0;
}

.decorative-frame::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  background-color: var(--light-bg);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-weight: 800;
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

/* ===== Content Sections ===== */
.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2rem;
}

.content-section h3 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Legal Pages ===== */
.legal-content h3.wp-block-heading {
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

.legal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.legal-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Cookie table styles */
.cookie-tables-white {
  margin: 2rem 0;
}

.cookie-tables-white .wp-block-table {
  overflow-x: auto;
}

.cookie-tables-white .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

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

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid #333 !important;
  padding: 12px 10px !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-tables-white .wp-block-table td {
  background-color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-section {
    padding: 3rem 0 2rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

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

  .card-wrapper .card-content {
    padding: 2rem;
  }

  .card-wrapper img {
    min-height: 250px;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-image-wrapper {
    margin-top: 2rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

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

  .page-hero h1 {
    font-size: 1.8rem;
  }
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.testimonial-card .testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

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

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