/* === YK Leasing - Template 3: Amethyst & Amber === */
/* Primary #383193 | Accent #D37530 | Dark #1C1750 | Light bg #F8F6FF */
/* Fonts: Young Serif (headings) + Gabarito (body) */

@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800;900&family=Young+Serif&display=swap');

:root {
  --primary: #383193;
  --accent: #D37530;
  --dark: #1C1750;
  --light-bg: #F8F6FF;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
}

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

body {
  font-family: 'Gabarito', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Young Serif', serif;
  color: var(--dark);
}

.display-1, .display-2, .display-4, .display-5, .display-7 {
  font-family: 'Young Serif', serif;
}

/* === Navbar === */
nav.navbar {
  padding: 0.75rem 0;
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid rgba(56,49,147,0.08);
  z-index: 1030;
}

.menu_box {
  padding: 0;
}

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

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

.navbar-caption {
  font-family: 'Young Serif', serif;
  color: var(--primary) !important;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}

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

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

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

.mbr-section-btn-main {
  margin-left: 1rem;
}

.mbr-section-btn-main .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* === Buttons === */
.btn {
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.8rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

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

.btn-secondary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: #b86528;
  border-color: #b86528;
  color: var(--white);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,23,80,0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

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

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-content .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.4rem;
}

/* === Sections General === */
.section {
  padding: 5rem 0;
}

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

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

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* === Border Wrapper Separator === */
.border-wrapper {
  border-top: 3px solid var(--accent);
  width: 80px;
  margin: 1.5rem 0;
}

.border-wrap {
  border-bottom: 3px solid var(--accent);
  width: 80px;
  margin: 0 auto 2rem;
}

/* === Full-Bleed 50/50 Split === */
.split-section {
  padding: 0;
}

.split-section .row {
  margin: 0;
}

.split-section .image-col {
  padding: 0;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.split-section .text-col {
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
}

.split-section .text-col h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.split-section .text-col p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* === Services Grid (4 columns) === */
.services-grid {
  padding: 5rem 0;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(56,49,147,0.1);
}

.service-card .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.3s;
}

.service-card:hover .icon-circle {
  background: var(--primary);
  color: var(--white);
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === Divider === */
.divider-section {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 0;
}

/* === Achievements Section === */
.achievement-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === Team Cards (3 columns) === */
.team-card {
  text-align: center;
  margin-bottom: 2rem;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

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

/* === FAQ Accordion === */
.accordion-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}

.accordion-button {
  font-family: 'Gabarito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  background: var(--white);
  box-shadow: none !important;
  padding: 1.3rem 1.5rem;
  border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--light-bg);
}

.accordion-button::after {
  background-image: none !important;
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  width: auto;
  height: auto;
  line-height: 1;
  transform: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
  color: var(--primary);
}

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

/* === Contact Form === */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.form-control {
  font-family: 'Gabarito', sans-serif;
  border: 2px solid #e8e6f5;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56,49,147,0.1);
}

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

/* === Contact Info Row === */
.contact-info-item {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info-item .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-info-item h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === Google Map === */
.map-wrapper {
  width: 100%;
  height: 400px;
}

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

/* === Footer (2-column) === */
.footer01 {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0;
}

.footer01 .container-fluid {
  padding: 0 3rem;
}

.footer01 .list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer01 .item-wrap a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer01 .item-wrap a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer01 .copyright {
  text-align: right;
  font-size: 0.85rem;
}

.footer01 a.text-primary {
  color: var(--accent) !important;
  text-decoration: none;
}

.footer01 a.text-primary:hover {
  text-decoration: underline;
}

/* === Container styling === */
.container a {
  color: #000000;
  text-decoration: none;
}

.container a:hover {
  color: #00008B;
  text-decoration: underline;
}

/* === Legal Pages === */
.wp-block-heading {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.wp-block-heading strong {
  font-family: 'Young Serif', serif;
  color: var(--dark);
  font-size: 1.3rem;
}

.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;
}

.cookie-tables-white .wp-block-table th {
  background: var(--light-bg);
  font-weight: 700;
}

/* === Page Hero (sub pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 8rem 0 4rem;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.5rem; }
  .split-section .text-col { padding: 3rem 2rem; }
  .split-section .image-col { min-height: 300px; }
  .section-title { font-size: 2rem; }
  .footer01 .copyright { text-align: left; margin-top: 1rem; }
}

@media (max-width: 767px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .achievement-stats { flex-direction: column; gap: 1.5rem; }
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }
}
