/* =========================================================
   COSTELIA GARMENTS TRADING FZE LLC
   Wilshire build · Template 05 — Minimal Whitespace
   ========================================================= */

:root {
  /* Brand — sampled from the Costelia logo */
  --primary-color: #5aaee4;
  --primary-light: #8cc6ec;
  --secondary-color: #2d4336;
  --secondary-light: #48604f;
  --accent-color: #3f9bd8;
  --accent-dark: #2f86c2;

  /* Neutrals */
  --ink: #1f2a24;
  --text: #55605a;
  --muted: #8a938e;
  --line: #e4e8e6;
  --tint: #f1f6fa;
  --chip: #eef1f0;
  --black: #0d0f0e;

  /* Template tokens */
  --radius: 2px;
  --shadow: none;
  --section-pad: 130px;
  --container-max: 1140px;
  --grid-gap: 2.5rem;
  --h1-size: clamp(1.75rem, 4.2vw, 2.9rem);
  --h2-size: clamp(1.6rem, 3.2vw, 2.4rem);
  --body-lh: 1.9;
  --btn-radius: 0;
  --card-pad: 2.25rem;
  --fade: opacity .5s ease, border-color .5s ease;

  --font-head: 'Jost', sans-serif;
  --font-body: 'Karla', sans-serif;
}

/* ---------- Base ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--body-lh);
  color: var(--text);
  background: #fff;
}
a { color: var(--secondary-color); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 400; }
img { max-width: 100%; }
@media (min-width: 1200px) {
  .container { max-width: var(--container-max); }
}
.row.g-4 { --bs-gutter-x: var(--grid-gap); --bs-gutter-y: var(--grid-gap); }
.row.g-5 { --bs-gutter-x: 4.5rem; --bs-gutter-y: 3rem; }

.section-padding { padding: var(--section-pad) 0; }
.bg-light-soft { background: var(--tint); }

.section-tag {
  display: inline-block;
  background: var(--chip);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .95rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.bg-light-soft .section-tag { background: #fff; }
.section-title {
  font-size: var(--h2-size);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.text-col { max-width: 520px; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-brand-outline, .btn-brand-secondary {
  border-radius: var(--btn-radius);
  padding: 13px 36px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.btn-brand.btn-lg, .btn-brand-outline.btn-lg { padding: 13px 36px; font-size: .78rem; }
.btn-brand:hover, .btn-brand-secondary:hover {
  background: var(--secondary-color); border-color: var(--secondary-color); color: #fff;
}
.btn-brand-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-brand-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Top bar ---------- */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
  padding: .5rem 0;
  line-height: 1.5;
}
.top-bar a { color: var(--muted); }
.top-bar a:hover { color: var(--secondary-color); }
.top-bar i { margin-right: .5rem; color: var(--primary-color); }

/* ---------- Navbar ---------- */
.main-navbar {
  background: #fff;
  padding: 1.15rem 0;
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, border-color .3s ease;
  z-index: 1030;
}
.main-navbar.scrolled { padding: .75rem 0; border-bottom-color: var(--line); }
.main-navbar .navbar-brand { padding: 0; margin-right: 1.5rem; }
.main-navbar .navbar-brand img { height: 34px; width: auto; }
.main-navbar .nav-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .4rem .9rem !important;
  position: relative;
}
.main-navbar .nav-link:hover { color: var(--accent-dark); }
.main-navbar .nav-link.active { color: var(--ink); }
.main-navbar .nav-link.active::after {
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 0;
  height: 1px; background: var(--primary-color);
}
/* G2 — small solid pill, the only saturated element in the header */
.main-navbar .btn-brand {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--ink);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: none;
}
.main-navbar .btn-brand:hover { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.main-navbar .navbar-toggler { border: 1px solid var(--line); border-radius: 0; padding: .35rem .6rem; }
.main-navbar .navbar-toggler:focus { box-shadow: none; }

.nav-products-row { display: flex; align-items: center; }
.mobile-cat-toggle {
  background: none; border: 0; color: var(--ink); padding: .25rem .75rem; font-size: .8rem;
  transition: transform .3s ease;
}
.mobile-cat-toggle.open { transform: rotate(180deg); }
.main-navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: .6rem 0;
  margin-top: .9rem;
  min-width: 220px;
}
.main-navbar .dropdown-item {
  font-size: .85rem; color: var(--text); padding: .45rem 1.4rem; letter-spacing: .03em;
}
.main-navbar .dropdown-item:hover, .main-navbar .dropdown-item:focus { background: var(--tint); color: var(--ink); }
.main-navbar .dropdown-toggle::after { display: none; }
@media (min-width: 992px) {
  .main-navbar .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; }
  .main-navbar .dropdown-menu.show { display: block; }
}

/* ---------- Hero slider (48vh · C2 centred · A2 bars · B2 chevrons) ---------- */
.hero-slider { position: relative; }
.hero-slide {
  height: 48vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-slide::before { content: ''; position: absolute; inset: 0; background: rgba(20,28,24,.45); }
.hero-slide .container { position: relative; z-index: 2; max-width: 760px; padding-bottom: 1rem; }
.hero-slide .hero-tag {
  display: block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 1rem;
}
.hero-slide h1 {
  color: #fff;
  font-size: var(--h1-size);
  font-weight: 300;
  letter-spacing: .03em;
  line-height: 1.3;
  margin-bottom: .9rem;
}
.hero-slide p { color: rgba(255,255,255,.82); font-size: .98rem; margin: 0 auto 1.6rem; max-width: 540px; line-height: 1.7; }
.hero-slide .btn { margin: 0 .35rem; }
.hero-slide .btn-brand { border-color: #fff; background: #fff; color: var(--ink); }
.hero-slide .btn-brand:hover { background: transparent; color: #fff; border-color: #fff; }

.hero-slider .carousel-indicators { margin-bottom: 1.4rem; gap: 8px; }
.hero-slider .carousel-indicators button {
  width: 34px; height: 2px; border: 0; margin: 0; border-radius: 0;
  background: #fff; opacity: .4; transition: opacity .4s ease, width .4s ease;
}
.hero-slider .carousel-indicators button.active { opacity: 1; width: 52px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 7%; opacity: .7; }
.hero-slider .carousel-control-prev:hover, .hero-slider .carousel-control-next:hover { opacity: 1; }
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 1.5rem; height: 1.5rem; }

/* ---------- Page hero ---------- */
.page-hero {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(20,28,24,.4); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 300; letter-spacing: .06em; margin-bottom: .5rem; }
.page-hero .breadcrumb-custom { color: rgba(255,255,255,.8); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.page-hero .breadcrumb-custom a { color: #fff; }
.page-hero .breadcrumb-custom a:hover { color: var(--primary-light); }

/* ---------- About rows (F1 plain rect, image smaller than text column) ---------- */
.about-img-wrap { position: relative; max-width: 400px; }
.about-img-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 0; box-shadow: var(--shadow); }
.order-lg-1 .about-img-wrap { margin-right: auto; }
.about-img-wrap .badge-float {
  position: absolute; left: 0; bottom: 0; background: #fff; color: var(--text);
  padding: 1rem 1.4rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.about-img-wrap .badge-float .num { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); letter-spacing: 0; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { position: relative; padding: .7rem 0 .7rem 1.9rem; border-top: 1px solid var(--line); color: var(--ink); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: 1.45rem; width: 12px; height: 1px; background: var(--primary-color);
}

/* ---------- Feature cards (J2 hairline + E3 watermark icon bottom-right) ---------- */
.feature-card {
  position: relative;
  height: 100%;
  min-height: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  padding-bottom: 4.5rem;
  overflow: hidden;
  transition: var(--fade);
}
.feature-card:hover { opacity: .92; border-color: var(--primary-light); }
.feature-card .icon-wrap {
  position: absolute; right: 1.1rem; bottom: .2rem;
  font-size: 4.6rem; line-height: 1; color: var(--primary-color); opacity: .16; z-index: 0;
}
.feature-card h5 { position: relative; z-index: 1; font-size: 1.15rem; font-weight: 400; letter-spacing: .01em; margin-bottom: .8rem; }
.feature-card p { position: relative; z-index: 1; font-size: .95rem; line-height: 1.8; margin: 0; }

/* ---------- CTA (H1 · warm gradient · large centred heading) ---------- */
.cta-section { position: relative; background-size: cover; background-position: center; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(45,67,54,.86) 0%, rgba(96,74,52,.66) 100%);
}
.cta-section .container { position: relative; z-index: 2; max-width: 780px; }
.cta-section h2 { color: #fff; font-size: clamp(1.7rem, 3.8vw, 2.7rem); font-weight: 300; letter-spacing: .02em; line-height: 1.3; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); }
.cta-section .btn-brand { border-color: #fff; color: #fff; }
.cta-section .btn-brand:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Product / category / item cards (5:7, hairline, slow fade) ---------- */
.product-card, .item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  transition: var(--fade);
}
.product-card:hover, .item-card:hover { opacity: .92; border-color: var(--primary-light); }
.product-card .product-img, .item-card .item-img { aspect-ratio: 5 / 7; overflow: hidden; background: var(--tint); }
.product-card .product-img img, .item-card .item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card .product-body, .item-card .item-body { padding: 1.25rem 1rem 1.35rem; text-align: center; border-top: 1px solid var(--line); }
.product-card .product-body h5, .item-card .item-body h5 {
  margin: 0; font-size: .9rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.category-card-link { display: block; height: 100%; color: inherit; }
.category-card-link .product-card { cursor: pointer; }
.category-card-link:hover .product-card h5 { color: var(--accent-dark); }

/* ---------- Mission / Vision ---------- */
.mv-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.75rem var(--card-pad);
  transition: var(--fade);
}
.mv-card:hover { opacity: .92; border-color: var(--primary-light); }
.mv-card > i { font-size: 1.6rem; color: var(--primary-color); display: block; margin-bottom: 1rem; }
.mv-card h4 { font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; }
.mv-card p { margin-bottom: 1rem; }
.mv-card p:last-child { margin-bottom: 0; }
.mv-card .check-list { margin-top: 1rem; }
.mv-card .check-list li { font-size: .95rem; color: var(--text); padding-top: .55rem; padding-bottom: .55rem; line-height: 1.6; }
.mv-card .check-list li::before { top: 1.3rem; }

/* ---------- Core values ---------- */
.value-pill {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem var(--card-pad) 3.6rem;
  overflow: hidden;
  transition: var(--fade);
}
.value-pill:hover { opacity: .92; border-color: var(--primary-light); }
.value-pill i { position: absolute; right: 1rem; bottom: .2rem; font-size: 3.4rem; line-height: 1; color: var(--primary-color); opacity: .16; }
.value-pill h6 { font-size: 1.05rem; font-weight: 400; margin-bottom: .6rem; position: relative; }
.value-pill p { font-size: .93rem; line-height: 1.75; margin: 0; position: relative; }

/* ---------- Contact ---------- */
.contact-info-card {
  height: 100%;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.75rem var(--card-pad);
}
.contact-info-card h4 { font-size: 1.4rem; font-weight: 400; margin-bottom: 1.75rem; }
.contact-info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { padding-bottom: 0; }
.contact-info-item .ci-icon { color: var(--primary-color); font-size: 1.05rem; line-height: 1.7; flex: 0 0 auto; }
.contact-info-item .ci-text { min-width: 0; overflow-wrap: anywhere; }
.contact-info-item .ci-text small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-info-item .ci-text span, .contact-info-item .ci-text a { color: var(--ink); line-height: 1.6; }
.contact-info-item .ci-text a:hover { color: var(--accent-dark); }

.contact-form-wrap {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.75rem var(--card-pad);
}
.contact-form-wrap h4 { font-size: 1.4rem; font-weight: 400; }
.contact-form-wrap .form-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500 !important; margin-bottom: .35rem; }
.contact-form-wrap .form-control {
  border: 1px solid var(--line); border-radius: 0; padding: .75rem .9rem; font-size: .95rem; color: var(--ink);
}
.contact-form-wrap .form-control:focus { border-color: var(--primary-color); box-shadow: none; }
.contact-form-wrap .alert { border-radius: 0; }

/* ---------- Footer (black · 3-column · I1 accent copyright bar) ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.62); font-size: .93rem; }
.site-footer .footer-top { padding: 110px 0 100px; }
.site-footer .footer-brand-text { margin-bottom: 1.6rem; }
.site-footer .footer-brand-text img { height: 30px; width: auto; max-width: 100%; display: block; }
.site-footer p { color: rgba(255,255,255,.62); line-height: 1.85; margin: 0; max-width: 340px; }
.site-footer h5 {
  color: #fff; font-size: .78rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.6rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .7rem; overflow-wrap: anywhere; }
.site-footer ul li i { color: var(--primary-color); }
.site-footer ul li a { color: rgba(255,255,255,.62); }
.site-footer ul li a:hover { color: #fff; }
.footer-bottom {
  background: var(--primary-color); color: var(--ink);
  padding: 1rem 0; font-size: .8rem; letter-spacing: .06em;
}
.footer-bottom a { color: var(--ink); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, background .3s ease, color .3s ease; z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .main-navbar .navbar-brand img { height: 28px; }
  .main-navbar .nav-link { padding: .4rem .6rem !important; letter-spacing: .08em; }
  .main-navbar .nav-link.active::after { left: .6rem; right: .6rem; }
}
@media (max-width: 991.98px) {
  :root { --section-pad: 84px; --grid-gap: 1.75rem; }
  .top-bar { display: none; }
  .main-navbar .navbar-brand { max-width: calc(100% - 70px); margin-right: 0; }
  .main-navbar .navbar-brand img { height: auto; max-height: 30px; max-width: 100%; }
  .main-navbar .navbar-collapse { flex-basis: 100%; }
  .main-navbar .navbar-nav { padding-top: 1rem; }
  .main-navbar .navbar-nav .nav-item { border-top: 1px solid var(--line); }
  .main-navbar .navbar-nav .nav-item:last-child { border-top: 0; }
  .main-navbar .navbar-nav .nav-link { padding: .8rem 0 !important; }
  .main-navbar .nav-link.active::after { display: none; }
  .main-navbar .nav-link.active { color: var(--accent-dark); }
  .nav-products-row { justify-content: space-between; }
  .main-navbar .navbar-nav .dropdown-menu { display: none; border: 0; margin: 0; padding: 0 0 .6rem .5rem; position: static; }
  .main-navbar .navbar-nav .dropdown-menu.show { display: block; }
  .about-img-wrap { max-width: 440px; margin: 0 auto; }
  .text-col { max-width: none; }
  .row.g-4, .row.g-5 { --bs-gutter-x: 1.5rem; }
  .site-footer .footer-top { padding: 72px 0 64px; }
}
@media (max-width: 575.98px) {
  :root { --section-pad: 64px; --card-pad: 1.6rem; }
  .hero-slide { min-height: 420px; }
  .hero-slide .btn { margin: .3rem .2rem; padding: 12px 24px; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
  .page-hero { height: 200px; }
  .feature-card { min-height: 0; }
  .site-footer .footer-brand-text img { height: auto; max-height: 30px; }
}
