﻿/* =====================================================
   ATCC – styles.css  (Bootstrap 5 companion)
   ===================================================== */

/* ---------- Variables ---------- */
:root {
  --atcc-green:  #393f33;
  --atcc-green2: #4d5445;
  --atcc-dark:   #1a1a1a;
  --atcc-cream:  #f5f2ec;
  --atcc-gray:   #666;
  --atcc-light:  #f8f7f4;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --radius:      8px;
  --trans:       .3s ease;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--atcc-dark); }
a    { text-decoration: none; }

/* ---------- Font helpers ---------- */
.barlow-extrabold {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
}
.gfs-didot-regular {
  font-family: "GFS Didot", serif;
  font-weight: 400;
}

/* ---------- Section helpers ---------- */
.section-pad { padding: 90px 0; }

.section-tag {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--atcc-green);
  margin-bottom: 8px;
  display: block;
}
.section-title {
 font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 38px;
}
.section-sub {
  color: var(--atcc-gray);
  max-width: 580px;
  font-size: .97rem;
  margin-bottom: 40px;
}

/* ---------- Brand button ---------- */
.btn-atcc {
  background: var(--atcc-green);
  color: #fff !important;
  border: 2px solid var(--atcc-green);
  font-family: "Barlow", sans-serif;

  letter-spacing: .5px;
  border-radius: var(--radius);
  transition: background var(--trans), border-color var(--trans);
}
.btn-atcc:hover {
  background: var(--atcc-green2);
  border-color: var(--atcc-green2);
  color: #fff !important;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar { background: var(--atcc-green); }
.btn-profile {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 18px;
  border-radius: 4px;
  transition: background var(--trans);
}
.btn-profile:hover { background: rgba(255,255,255,.3); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar { z-index: 1030; }
.nav-custom {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--atcc-dark) !important;
  position: relative;
  padding-bottom: 4px !important;
}
.nav-custom::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--atcc-green);
  transition: width var(--trans);
}
.nav-custom:hover { color: var(--atcc-green) !important; }
.nav-custom:hover::after { width: 100%; }

/* =====================================================
   HERO
   ===================================================== */
.hero-carousel { position: relative; }

.hero-slide {
  height: 92vh;
  min-height: 580px;
  background-size: cover;
  background-position: center top;
}

/* Gradient: transparent left → dark right, + fade to dark bottom */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(30,30,30,.75) 100%),
    linear-gradient(to left,  rgba(20,20,20,.72) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Full-size absolute wrapper for Bootstrap grid inside carousel */
.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-text-col {
  padding-top: 30px;
}

.hero-sub {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
  display: block;
}

.hero-title {
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.carousel-item img{
  width: 100%;
}
.hero-desc {
  font-size: .97rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  line-height: 1.75;
  max-width: 480px;
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  font-family: "Barlow", sans-serif;
 
  letter-spacing: .5px;
  border-radius: var(--radius);
  padding: 10px 22px;
  transition: background var(--trans), border-color var(--trans);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* Indicator dots */
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  transition: background var(--trans), transform var(--trans);
  margin: 0 5px;
}
.hero-carousel .carousel-indicators .active {
  background: #fff;
  transform: scale(1.3);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-section {
  background: var(--atcc-green);
  padding: 80px 0 60px;
}
.services-tag { color: rgba(255,255,255,.6) !important; }

/* Carousel wrapper — allows absolute edge arrows */
.services-carousel-wrap {
  position: relative;
  padding: 0 60px;
  margin-top: 40px;
}

/* Edge arrow buttons */
.serv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
}
.serv-arrow:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.serv-arrow-prev { left: 8px; }
.serv-arrow-next { right: 8px; }

/* Service cards — outlined, transparent */
.service-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 36px 22px;
  text-align: center;
  transition: border-color var(--trans), background var(--trans);
}
.service-card:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
}

/* Icon — line-art circle */
.svc-icon-wrap {
  width: 72px; height: 72px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: border-color var(--trans);
}
.service-card:hover .svc-icon-wrap { border-color: #fff; }

.service-card h3 {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  margin-bottom: 12px;
}
.service-card p {
  font-size: .87rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
  line-height: 1.65;
}
.read-more {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color var(--trans), border-color var(--trans), gap var(--trans);
}
.read-more:hover { color: #fff; border-color: #fff; gap: 10px; }

/* Dots */
.serv-dot {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px;
  max-width: 10px;
  flex: 0 0 10px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.35) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  transition: background var(--trans);
}
.serv-dot.active {
  background: #fff !important;
  transform: none !important;
  width: 10px !important;
  height: 10px !important;
}

/* =====================================================
   PROJECTS
   ===================================================== */
.proj-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.proj-card-sm { aspect-ratio: 16 / 10; }

.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: background var(--trans);
}
.proj-card:hover .proj-overlay {
  background: linear-gradient(to top, #393f33 0%, transparent 70%);
}
.proj-overlay span {
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .5px;
  color: #fff;
  text-transform: uppercase;
}

/* =====================================================
   WHY CHOOSE ATCC
   ===================================================== */
.why-section {
  background: var(--atcc-green);
}
.why-title {
  margin-bottom: 28px;
}
.why-copy p {
  color: rgba(255,255,255,.82);
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.why-copy strong {
  color: #fff;
  font-weight: 800;
}
.btn-why-outline {
  margin-top: 16px;
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.45);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 18px;
}
.btn-why-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.why-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.why-img {
  object-fit: cover;
  object-position: center;
  height: 460px;
  width: 100%;
}
.why-image-wrap::before,
.why-image-wrap::after {
  content: "";
  position: absolute;
  background: rgba(57,63,51,.95);
  z-index: 2;
}
.why-image-wrap::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 10px;
  transform: translateY(-50%);
}
.why-image-wrap::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 10px;
  transform: translateX(-50%);
}

/* =====================================================
   PARTNERS SLIDER
   ===================================================== */
.partners-slider-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.partners-slider-wrap::before,
.partners-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.partners-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}
.partners-track:hover {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-card {
  flex: 0 0 auto;
  width: 180px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.partner-card:hover {
  border-color: #c9a96e;
  box-shadow: 0 4px 16px rgba(201,169,110,.18);
}
.partner-logo {
  width: 140px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(35%);
  transition: filter var(--trans), transform var(--trans);
}
.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.partner-name {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--atcc-dark);
  text-transform: uppercase;
  display: block;
}
.partner-name small {
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: 2px;
  color: var(--atcc-gray);
}
.hilton   { color: #002D5F !important; }
.dusit    { color: #8B6914 !important; }
.marriott { color: #C41230 !important; }
.alrayyan { color: #393f33 !important; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section {
  background: #1a1a1a;
  color: #fff;
}
.text-atcc-green { color: var(--atcc-green) !important; }
.text-white-75   { color: rgba(255,255,255,.75); }
.text-white-75:hover { color: #fff; }

.contact-list { color: rgba(255,255,255,.8); font-size: .93rem; }

.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  transition: background var(--trans);
}
.social-btn:hover { background: var(--atcc-green); color: #fff; }

.contact-input {
  background: rgba(255,255,255,.07) !important;
  border: 1.5px solid rgba(255,255,255,.15) !important;
  border-radius: var(--radius) !important;
  color: #fff !important;
  font-size: .92rem;
}
.contact-input::placeholder { color: rgba(255,255,255,.45) !important; }
.contact-input:focus {
  border-color: var(--atcc-green) !important;
  box-shadow: none !important;
  background: rgba(255,255,255,.1) !important;
}
textarea.contact-input { resize: vertical; }
.form-status { font-size: .85rem; color: #9bc974; min-height: 20px; }
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: #4c5446;
    box-shadow: none !important;
    color: #ffff;
    text-shadow: none;
}
/* =====================================================
   FOOTER
   ===================================================== */
.footer-atcc {
  background: linear-gradient(90deg, #30382f 0%, #323c30 45%, #2f382f 100%);
  color: rgba(255,255,255,.8);
}
.footer-copyright {
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}
.footer-title {
  font-family: "Cinzel", serif;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  position: relative;
}
.footer-title::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 7px;
  background: rgba(255,255,255,.7);
}

.footer-contact li {
  font-size: .92rem;
  margin-bottom: 9px;
  color: rgba(255,255,255,.82);
}
.footer-contact i {
  width: 16px;
  margin-right: 8px;
  color: rgba(255,255,255,.65);
}

.footer-social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .8rem;
}
.footer-social.fb { background: #3b5998; }
.footer-social.ig { background: #111; }
.footer-social.tt { background: #010101; }

.footer-links-grid {
  margin-top: 2px;
}
.footer-links li {
  position: relative;
  padding-left: 11px;
  margin-bottom: 7px;
}
.footer-links li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,.85);
}
.footer-links a {
  color: rgba(255,255,255,.85);
  font-size: .80rem;
  transition: color var(--trans);
}
.footer-links a:hover { color: #fff; }
.footer-contact a{
  color: #fff;
}
.footer-download {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: #353535;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .3px;
}

.footer-map-wrap {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  overflow: hidden;
}

/* =====================================================
   CREAM BAND
   ===================================================== */
.cream-band {
  background: #ede9e1;
  padding: 100px 0 100px;
}
.cream-band-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cream-band-title {
     font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: 37px;
    line-height: 46px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #393f33;
    margin-bottom: 24px;
}
.cream-band-desc {
  font-size: .97rem;
  color: #666;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-item.revealed {
  opacity: 1;
  transform: none;
}

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #393f33 0%, #c9a96e 60%, #393f33 100%);
  z-index: 9999;
  transition: width .08s linear;
  pointer-events: none;
}

/* =====================================================
   HERO ENTRANCE ANIMATION
   ===================================================== */
[data-hero-in] {
  opacity: 0;
  transform: translateY(30px);
}

/* =====================================================
   HERO SCROLL INDICATOR
   ===================================================== */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.hero-scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 13px;
  position: relative;
}
.hero-scroll-mouse::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.65);
  border-radius: 2px;
  animation: mouse-scroll 2.2s ease-in-out infinite;
}
@keyframes mouse-scroll {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  60%  { opacity: 0; transform: translateX(-50%) translateY(14px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}
.hero-scroll-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* =====================================================
   CREAM BAND – ENHANCED
   ===================================================== */
.cream-band {
  position: relative;
}
.cream-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9a96e 25%, #c9a96e 75%, transparent);
}
.cream-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9a96e 25%, #c9a96e 75%, transparent);
}
.cream-stats {
  border-top: 1px solid rgba(57,63,51,.12);
  margin-top: 40px;
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.cream-stat {
  text-align: center;
  padding: 0 36px;
  position: relative;
}
.cream-stat + .cream-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(57,63,51,.18);
}
.cream-stat-num {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #393f33;
  line-height: 1;
  margin-bottom: 6px;
}
.cream-stat-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #888;
}

/* =====================================================
   WHY SECTION – ICON BULLETS
   ===================================================== */
.why-point {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.why-point-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.35);
  background: rgba(201,169,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a96e;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .3s ease, border-color .3s ease;
}
.why-point:hover .why-point-icon {
  background: rgba(201,169,110,.22);
  border-color: #c9a96e;
}
.why-point strong {
  color: #fff;
  font-weight: 800;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  letter-spacing: .3px;
  display: block;
  margin-bottom: 5px;
}
.why-point p {
  color: rgba(255,255,255,.68);
  font-size: .94rem;
  line-height: 1.65;
  margin: 0;
}

/* =====================================================
   SECTION HEADING UNDERLINE DRAW-IN
   ===================================================== */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #c9a96e;
  transition: width .65s ease .15s;
}
.section-title.line-revealed::after {
  width: 64px;
}
/* White-on-dark variant keeps gold — no override needed */

/* =====================================================
   PROJECT CARDS – HOVER ZOOM
   ===================================================== */
.proj-card img {
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.proj-card:hover img {
  transform: scale(1.06);
}
.proj-overlay span {
  transition: transform .35s ease, opacity .35s ease;
  transform: translateY(6px);
  opacity: .9;
}
.proj-overlay span a {
  color: #fff;;
}
.proj-card:hover .proj-overlay span {
  transform: translateY(0);
  opacity: 1;
}

/* =====================================================
   NAVBAR – SCROLL SHADOW ENHANCEMENT
   ===================================================== */
#mainNav {
  transition: box-shadow .3s ease, background-color .3s ease;
}
#mainNav.nav-scrolled {
  box-shadow: 0 2px 28px rgba(0,0,0,.13) !important;
}

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
@media (max-width: 991px) {
  .hero-slide { height: 80vh; }
  .why-img { height: 360px; }
  .footer-title { font-size: 1rem; }
}
@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .hero-slide { height: 75vh; min-height: 460px; }
  .footer-map-wrap iframe { height: 220px; }
}
@media (max-width: 767px) {
  .hero-text-col { padding-top: 0; }
  .hero-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-slide { height: 85vh; }
}




/* ===== Extracted Inline Style Utilities ===== */
.xhtml-s-0040 { font-family: 'Barlow', sans-serif; font-weight: 800; color: #393f33; margin-bottom: 10px }
.xhtml-s-0009 { color: #393f33; margin-right: 10px }
.xhtml-s-0031 { border-top: 1px solid #333; margin-top: 30px; padding-top: 20px; text-align: center; color: #888; font-size: 0.85rem }
.xhtml-s-0016 { font-family: 'Cinzel', serif; font-weight: 800; color: #ede9e1; margin-bottom: 20px }
.xhtml-s-0018 { background: #111; padding: 40px 0 20px; color: white;}
.xhtml-s-0003 { font-family:'Cinzel',serif; font-weight:800; font-size:2rem; color:#1e221a; line-height:1 }
.xhtml-s-0039 { background: #ede9e1; padding: 25px; border-radius: 8px; text-align: center }
.xhtml-s-0024 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #111; color: white; border-radius: 50%; transition: 0.3s; border: 1px solid #444 }
.xhtml-s-0014 { margin-right: 8px }
.xhtml-s-0010 { margin: 0 }
.xhtml-s-0017 { color: #bbb; margin-bottom: 30px }
.xhtml-s-0034 { background-image:url('images/project-2.jpg') }
.xhtml-s-0038 { border-color: #ddd; margin: 40px 0 }
.xhtml-s-0032 { background-image:url('images/main slider.jpg') }
.xhtml-s-0037 { text-align: center; color: #999; font-size: 0.85rem; margin-top: 15px }
.xhtml-s-0008 { text-align: center; margin-bottom: 40px; }
h2.xhtml-s-0008::after { margin-left: auto; margin-right: auto; }
h2.xhtml-s-0011::after { margin-left: auto; margin-right: auto; }
.xhtml-s-0004 { font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:#3d2e0f; margin-top:6px }
.xhtml-s-0005 { padding: 28px 10px }
.xhtml-s-0007 { background: #f9f9f9 }
.xhtml-s-0011 { text-align: center; margin-bottom: 50px }
.xhtml-s-0002 { padding: 28px 10px; border-right: 1px solid rgba(255,255,255,0.3) }
.xhtml-s-0013 { font-family: 'Cinzel', serif; font-weight: 800; color: #393f33; margin-bottom: 15px }
.xhtml-s-0035 { border:0 }
.xhtml-s-0022 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #3b5998; color: white; border-radius: 50%; transition: 0.3s }
.xhtml-s-0041 { color: #666; margin-bottom: 15px }
.xhtml-s-0027 { list-style: none; padding: 0; font-size: 0.9rem }
.xhtml-s-0006 { aspect-ratio: 16/9; object-fit: cover }
.xhtml-s-0021 { margin-top: 20px; display: flex; gap: 10px }
.xhtml-s-0020 { font-size: 0.95rem; line-height: 1.8 }
.xhtml-s-0023 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #1da1f2; color: white; border-radius: 50%; transition: 0.3s }
.xhtml-s-0028 { color: #ccc; text-decoration: none }
.xhtml-s-0019 { font-family: 'Cinzel', serif; font-weight: 800; margin-bottom: 20px; color: #ede9e1 }
.xhtml-s-0043 { color: #666 }
.xhtml-s-0029 { background: #222; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9 }
.xhtml-s-0030 { border: none }
.xhtml-s-0033 { background-image:url('images/project-1.jpg') }
.xhtml-s-0036 { font-family: 'Cinzel', serif; font-weight: 800; color: #393f33; margin-bottom: 30px }
.xhtml-s-0026 { font-family: 'Cinzel', serif; font-weight: 800; margin-bottom: 20px; color: #ede9e1; font-size: 0.95rem }
.xhtml-s-0001 { background: #c9a96e; padding: 0 }
.xhtml-s-0015 { background: #393f33; padding: 50px 0; margin-top: 60px }
.xhtml-s-0042 { font-size: 1.2rem; font-weight: bold; color: #393f33; margin-bottom: 5px }
.xhtml-s-0025 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #e60023; color: white; border-radius: 50%; transition: 0.3s }
.xhtml-s-0012 { padding: 25px; background: #f0f0f0; border-radius: 8px; text-align: center }



/* ===== Extracted Page Style Blocks ===== */
/* Extracted from about.html */

    .about-banner {
      background: linear-gradient(135deg, #1e221a 0%, #2d3328 40%, #393f33 70%, #4d5445 100%);
      padding: 100px 0 90px;
      margin-bottom: 0;
      position: relative;
      overflow: hidden;
    }
    .about-banner::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,169,110,0.04) 60px, rgba(201,169,110,0.04) 61px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(201,169,110,0.04) 60px, rgba(201,169,110,0.04) 61px);
      pointer-events: none;
    }
    .about-banner::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, transparent, #c9a96e 30%, #c9a96e 70%, transparent);
    }
    .about-banner .banner-tag {
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: 700;
      font-size: .72rem;
      letter-spacing: 3.5px;
      text-transform: uppercase;
      color: #c9a96e;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .about-banner .banner-tag::before,
    .about-banner .banner-tag::after {
      content: '';
      display: inline-block;
      width: 36px;
      height: 1px;
      background: #c9a96e;
    }
    .about-banner h1 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #ede9e1;
      font-size: clamp(2.2rem, 4.5vw, 3.5rem);
      line-height: 1.18;
      margin-bottom: 20px;
      text-shadow: 0 2px 20px rgba(0,0,0,.3);
    }
    .about-banner h1 span {
      color: #c9a96e;
    }
    .about-banner .banner-lead {
      color: rgba(237,233,225,0.72);
      font-size: 1.08rem;
      max-width: 580px;
      line-height: 1.75;
      letter-spacing: .2px;
    }
    .about-banner .banner-divider {
      width: 64px;
      height: 3px;
      background: linear-gradient(90deg, #c9a96e, transparent);
      margin: 28px 0;
    }

    /* Stats strip */
    .xhtml-s-0001 {
      background: linear-gradient(90deg, #1e221a 0%, #2d3328 40%, #2d3328 60%, #1e221a 100%) !important;
      border-bottom: 3px solid #c9a96e;
      padding: 0 !important;
    }
    .xhtml-s-0003 {
      font-family: 'Cinzel', serif !important;
      font-weight: 800 !important;
      font-size: 2.1rem !important;
      color: #c9a96e !important;
      line-height: 1 !important;
    }
    .xhtml-s-0004 {
      font-size: .68rem !important;
      letter-spacing: 2.5px !important;
      text-transform: uppercase !important;
      color: rgba(237,233,225,0.6) !important;
      margin-top: 8px !important;
    }
    .xhtml-s-0002 {
      padding: 34px 16px !important;
      border-right: 1px solid rgba(201,169,110,0.25) !important;
      transition: background .3s ease;
    }
    .xhtml-s-0002:hover { background: rgba(201,169,110,0.06); }
    .xhtml-s-0005 {
      padding: 34px 16px !important;
      transition: background .3s ease;
    }
    .xhtml-s-0005:hover { background: rgba(201,169,110,0.06); }

    .about-section {
      padding: 72px 0;
    }
    .about-section h2 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 28px;
      font-size: 2rem;
      position: relative;
    }
    .about-section h2::after {
      content: '';
      display: block;
      width: 48px;
      height: 3px;
      background: #c9a96e;
      margin-top: 14px;
    }
    h2.xhtml-s-0008::after,
    h2.xhtml-s-0011::after {
      margin: 14px auto 0;
    }
    .about-section p {
      color: #555;
      line-height: 1.85;
      font-size: 1.04rem;
      margin-bottom: 18px;
    }

    /* Mission & Vision boxes */
    .vision-box {
      background: #fff;
      border: 1px solid #e8e5e0;
      border-top: 4px solid #393f33;
      padding: 36px 32px;
      margin-bottom: 24px;
      border-radius: 0 0 12px 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,.06);
      transition: transform .3s ease, box-shadow .3s ease;
      height: calc(100% - 24px);
    }
    .vision-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 14px 36px rgba(57,63,51,.13);
    }
    .vision-box h3 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 16px;
      font-size: 1.05rem;
      letter-spacing: .3px;
    }
    .vision-box p { color: #555; line-height: 1.8; }

    /* Value cards */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
      margin-top: 40px;
    }
    .value-card {
      text-align: center;
      padding: 38px 28px 32px;
      background: #fff;
      border: 1px solid #e8e5e0;
      border-radius: 16px;
      transition: all .3s ease;
      box-shadow: 0 2px 14px rgba(0,0,0,.05);
    }
    .value-card:hover {
      background: #393f33;
      color: white;
      transform: translateY(-8px);
      box-shadow: 0 18px 44px rgba(57,63,51,.22);
      border-color: #393f33;
    }
    .value-card:hover h4,
    .value-card:hover p { color: rgba(255,255,255,.88); }
    .value-icon {
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: #f0f4ee;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      color: #393f33;
      margin: 0 auto 22px;
      transition: all .3s ease;
    }
    .value-card:hover .value-icon {
      background: rgba(255,255,255,.14);
      color: #c9a96e;
    }
    .value-card h4 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 12px;
      font-size: .97rem;
      letter-spacing: .3px;
      transition: color .3s;
    }
    .value-card p {
      color: #666;
      font-size: .92rem;
      line-height: 1.7;
      margin: 0;
      transition: color .3s;
    }

    /* Timeline */
    .timeline {
      position: relative;
      padding: 10px 0 10px;
      max-width: 780px;
      margin: 0 auto;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 36px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, #c9a96e 0%, #393f33 50%, #c9a96e 100%);
    }
    .timeline-item {
      margin-bottom: 44px;
      margin-left: 110px;
      position: relative;
    }
    .timeline-item:last-child { margin-bottom: 0; }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -84px;
      top: 10px;
      width: 16px;
      height: 16px;
      background: #c9a96e;
      border: 3px solid #fff;
      border-radius: 50%;
      box-shadow: 0 0 0 3px #393f33;
    }
    .timeline-item h4 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 8px;
      font-size: 1rem;
    }
    .timeline-item p { color: #666; line-height: 1.75; font-size: .96rem; margin: 0; }
    .timeline-item .year {
      display: inline-block;
      background: #393f33;
      color: #c9a96e;
      font-family: 'Cinzel', serif;
      font-weight: 800;
      font-size: .78rem;
      letter-spacing: 1.5px;
      padding: 4px 14px;
      border-radius: 4px;
      margin-bottom: 10px;
    }

    /* Why Choose ATCC cards */
    .xhtml-s-0012 {
      padding: 28px 24px;
      background: #fff;
      border: 1px solid #e8e5e0;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,.05);
      transition: all .3s ease;
      height: 100%;
    }
    .xhtml-s-0012:hover {
      box-shadow: 0 10px 32px rgba(57,63,51,.13);
      transform: translateY(-4px);
      border-color: #c9a96e;
    }
    .xhtml-s-0013 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 12px;
      font-size: .97rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .xhtml-s-0014 {
      color: #c9a96e;
      font-size: 1rem;
    }

    /* CTA section */
    .xhtml-s-0015 {
      background: linear-gradient(135deg, #1e221a 0%, #393f33 60%, #4d5445 100%) !important;
      padding: 72px 0 !important;
      margin-top: 0 !important;
      position: relative;
      overflow: hidden;
    }
    .xhtml-s-0015::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,169,110,0.04) 60px, rgba(201,169,110,0.04) 61px);
      pointer-events: none;
    }
    .xhtml-s-0016 {
      font-family: 'Cinzel', serif !important;
      font-weight: 800 !important;
      color: #ede9e1 !important;
      margin-bottom: 16px !important;
      font-size: 2.1rem !important;
      letter-spacing: .5px;
    }
    .xhtml-s-0017 {
      color: rgba(237,233,225,0.68) !important;
      margin-bottom: 36px !important;
      font-size: 1.05rem !important;
    }

    /* Breadcrumb */
    .breadcrumb {
      background: transparent;
      padding-left: 0;
    }
    .breadcrumb-item.active {
      color: #393f33;
    }
    .breadcrumb-item a {
      color: #393f33;
      text-decoration: none;
    }
    .breadcrumb-item a:hover {
      text-decoration: underline;
    }

    .team-member {
      text-align: center;
      padding: 20px;
    }
    .team-member img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
      border: 3px solid #393f33;
    }
    .team-member h5 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 5px;
    }
    .team-member .role {
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
  

/* Extracted from contact.html */

    .contact-simple-hero {
      background: linear-gradient(135deg, #393f33 0%, #5a6250 100%);
      padding: 64px 0;
      color: #ede9e1;
    }
    .contact-simple-hero h1 {
      font-family: "Cinzel", serif;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .contact-simple-wrap {
      padding: 56px 0 72px;
    }
    .contact-info-box,
    .contact-form-box {
      background: #fff;
      border: 1px solid #e7e7e7;
      border-radius: 12px;
      padding: 28px;
      height: 100%;
    }
    .contact-info-box h2,
    .contact-form-box h2 {
      font-family: "Cinzel", serif;
      font-weight: 800;
      color: #393f33;
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
    .contact-line {
      display: flex;
      gap: 12px;
      margin-bottom: 14px;
      color: #4d4d4d;
      line-height: 1.6;
    }
    .contact-line i {
      color: #393f33;
      margin-top: 4px;
      width: 18px;
    }
    .contact-form-box label {
      font-weight: 700;
      color: #393f33;
      margin-bottom: 8px;
    }
    .contact-form-box .form-control {
      border-radius: 8px;
      border: 1px solid #d8d8d8;
      padding: 10px 12px;
    }
    .contact-form-box .form-control:focus {
      border-color: #393f33;
      box-shadow: 0 0 0 0.2rem rgba(57, 63, 51, 0.12);
    }
    .contact-submit {
      width: 100%;
      background: #393f33;
      color: #fff;
      border: 0;
      border-radius: 8px;
      padding: 12px 16px;
      font-weight: 800;
    }
    .contact-submit:hover {
      background: #4c5446;
    }
    .contact-map-wrap {
      margin-top: 28px;
      border: 1px solid #e7e7e7;
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
    }
    .contact-map {
      width: 100%;
      height: 360px;
      border: 0;
      display: block;
    }
  

/* Extracted from portfolio.html */

    .portfolio-banner {
      background: linear-gradient(135deg, #393f33 0%, #5a6250 100%);
      padding: 60px 0;
      margin-bottom: 40px;
    }
    .portfolio-banner h1 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #ede9e1;
      font-size: 3rem;
    }
    .project-card {
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(57, 63, 51, 0.2);
    }
    .project-image {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .project-card:hover .project-image {
      transform: scale(1.05);
    }
    .project-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .project-content h3 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 10px;
    }
    .project-category {
      color: #393f33;
      font-weight: 800;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }
    .project-description {
      color: #666;
      line-height: 1.6;
      margin-bottom: 15px;
      flex-grow: 1;
    }
    .btn-project {
      background: #393f33;
      color: white;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 6px;
      display: inline-block;
      transition: all 0.3s ease;
      align-self: flex-start;
    }
    .btn-project:hover {
      background: #5a6250;
      color: white;
      text-decoration: none;
    }
    .breadcrumb {
      background: transparent;
      padding-left: 0;
    }
    .breadcrumb-item.active {
      color: #393f33;
    }
    .breadcrumb-item a {
      color: #393f33;
      text-decoration: none;
    }
    .breadcrumb-item a:hover {
      text-decoration: underline;
    }
    .filter-btn {
      background: white;
      border: 2px solid #393f33;
      color: #393f33;
      padding: 8px 18px;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 800;
      font-size: 0.85rem;
      margin: 5px;
    }
    .filter-btn.active {
      background: #393f33;
      color: white;
    }
    .filter-btn:hover {
      background: #393f33;
      color: white;
    }
  

/* Extracted from quote.html */

    .quote-banner {
      background: linear-gradient(135deg, #393f33 0%, #5a6250 100%);
      padding: 80px 0;
      margin-bottom: 60px;
    }
    .quote-banner h1 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #ede9e1;
      font-size: 3.5rem;
      line-height: 1.2;
    }
    .quote-banner p {
      font-family: 'Barlow', sans-serif;
      font-size: 1.3rem;
      color: #bbb;
      margin-top: 15px;
    }
    .quote-section {
      padding: 60px 0;
    }
    .form-group label {
      font-family: 'Barlow', sans-serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 10px;
    }
    .form-control {
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px 15px;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    .form-control:focus {
      border-color: #393f33;
      box-shadow: 0 0 0 0.2rem rgba(57, 63, 51, 0.15);
    }
    .form-control textarea {
      min-height: 150px;
      resize: vertical;
    }
    .form-check-input {
      width: 1.25em;
      height: 1.25em;
      border: 2px solid #393f33;
      cursor: pointer;
    }
    .form-check-input:checked {
      background-color: #393f33;
      border-color: #393f33;
    }
    .form-check-input:focus {
      border-color: #393f33;
      box-shadow: 0 0 0 0.25rem rgba(57, 63, 51, 0.25);
    }
    .btn-submit {
      background: #393f33;
      color: white;
      padding: 14px 40px;
      border: none;
      border-radius: 8px;
      font-family: 'Barlow', sans-serif;
      font-weight: 800;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .btn-submit:hover {
      background: #5a6250;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(57, 63, 51, 0.3);
    }
    .btn-submit:active {
      transform: translateY(0);
    }
    .query-message {
      background: #f9f9f9;
      border-left: 5px solid #393f33;
      padding: 30px;
      margin-bottom: 40px;
      border-radius: 8px;
      text-align: center;
    }
    .query-message h3 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 15px;
      font-size: 1.8rem;
    }
    .query-message p {
      color: #666;
      line-height: 1.8;
      font-size: 1.1rem;
      margin-bottom: 0;
    }
    .form-col {
      background: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    .info-col {
      padding: 40px;
    }
    .info-item {
      margin-bottom: 30px;
      display: flex;
      gap: 20px;
    }
    .info-icon {
      font-size: 2rem;
      color: #393f33;
      flex-shrink: 0;
    }
    .info-content h4 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 8px;
    }
    .info-content p {
      color: #666;
      margin-bottom: 0;
    }
    .breadcrumb {
      background: transparent;
      padding-left: 0;
    }
    .breadcrumb-item.active {
      color: #393f33;
    }
    .breadcrumb-item a {
      color: #393f33;
      text-decoration: none;
    }
    .breadcrumb-item a:hover {
      text-decoration: underline;
    }
  

/* Extracted from services.html */

    .service-detail-banner {
      background: linear-gradient(135deg, #393f33 0%, #5a6250 100%);
      padding: 60px 0;
      margin-bottom: 40px;
    }
    .service-detail-banner h1 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #ede9e1;
      font-size: 3rem;
    }
    .service-item {
      background: white;
      border: 2px solid #393f33;
      border-radius: 12px;
      padding: 30px;
      margin-bottom: 30px;
      transition: all 0.3s ease;
    }
    .service-item:hover {
      box-shadow: 0 10px 30px rgba(57, 63, 51, 0.2);
      border-color: #5a6250;
    }
    .service-item h3 {
      font-family: 'Cinzel', serif;
      font-weight: 800;
      color: #393f33;
      margin-bottom: 15px;
    }
    .service-item p {
      color: #555;
      line-height: 1.6;
    }
    .service-icon {
      font-size: 2.5rem;
      color: #393f33;
      margin-bottom: 15px;
    }
    .breadcrumb {
      background: transparent;
      padding-left: 0;
    }
    .breadcrumb-item.active {
      color: #393f33;
    }
    .breadcrumb-item a {
      color: #393f33;
      text-decoration: none;
    }
    .breadcrumb-item a:hover {
      text-decoration: underline;
    }


/* =====================================================
   SERVICES PAGE
   ===================================================== */

/* Banner */
.svc-banner {
  background: linear-gradient(135deg, #1e221a 0%, #2d3328 40%, #393f33 70%, #4d5445 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.svc-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,169,110,.04) 60px, rgba(201,169,110,.04) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(201,169,110,.04) 60px, rgba(201,169,110,.04) 61px);
  pointer-events: none;
}
.svc-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #c9a96e 30%, #c9a96e 70%, transparent);
}
.svc-banner-tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-banner-tag::before,
.svc-banner-tag::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #c9a96e;
}
.svc-banner h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.18;
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.svc-banner h1 span { color: #c9a96e; }
.svc-banner-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #c9a96e, transparent);
  margin: 28px 0;
}
.svc-banner-lead {
  color: rgba(237,233,225,.72);
  font-size: 1.08rem;
  max-width: 600px;
  line-height: 1.78;
}

/* Section */
.svc-section { padding: 88px 0 72px; }

/* Cards */
.svc-card {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 16px;
  padding: 40px 32px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #393f33;
  transition: background .35s ease;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(57,63,51,.14);
  border-color: #c9a96e;
}
.svc-card:hover::before { background: #c9a96e; }

.svc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.svc-num {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: #ede9e1;
  line-height: 1;
  letter-spacing: -1px;
  user-select: none;
  transition: color .35s ease;
}
.svc-card:hover .svc-num { color: rgba(201,169,110,.28); }

.svc-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #393f33;
  transition: background .35s ease, color .35s ease, border-radius .35s ease;
}
.svc-card:hover .svc-icon-badge {
  background: #393f33;
  color: #c9a96e;
  border-radius: 50%;
}

.svc-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #393f33;
  font-size: 1.12rem;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.svc-card-desc {
  color: #666;
  font-size: .96rem;
  line-height: 1.8;
  margin-bottom: 22px;
  flex-grow: 1;
}

.svc-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  border-top: 1px solid #f0ede8;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.svc-benefits li {
  font-size: .88rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 9px;
}
.svc-benefits li i {
  color: #393f33;
  font-size: .7rem;
  flex-shrink: 0;
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #393f33;
  border: 1.5px solid #393f33;
  border-radius: 6px;
  padding: 10px 18px;
  align-self: flex-start;
  transition: background .3s ease, color .3s ease, gap .3s ease;
}
.svc-cta:hover {
  background: #393f33;
  color: #fff;
  gap: 13px;
}

/* Our Process strip */
.svc-process {
  background: linear-gradient(90deg, #1e221a 0%, #2d3328 40%, #2d3328 60%, #1e221a 100%);
  padding: 72px 0;
  border-top: 3px solid #c9a96e;
  border-bottom: 3px solid #c9a96e;
}
.svc-process-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a96e;
  text-align: center;
  margin-bottom: 40px;
  display: block;
}
.svc-step {
  padding: 8px 28px 8px;
  position: relative;
}
.svc-step + .svc-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(201,169,110,.2);
}
.svc-step-num {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 2rem;
  color: #c9a96e;
  line-height: 1;
  margin-bottom: 12px;
  opacity: .75;
}
.svc-step h6 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: .92rem;
  letter-spacing: .5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.svc-step p {
  color: rgba(237,233,225,.58);
  font-size: .88rem;
  line-height: 1.65;
  margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .svc-step + .svc-step::before { display: none; }
  .svc-step { padding: 20px 16px; border-bottom: 1px solid rgba(201,169,110,.15); }
  .svc-card { padding: 30px 24px 24px; }
}

/* =====================================================
   SERVICE DETAIL PAGES  (sid-*)
   ===================================================== */

.sid-tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a96e;
  display: block;
  margin-bottom: 14px;
}
.sid-heading {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #1e221a;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.28;
  margin-bottom: 20px;
}
.sid-heading span { color: #c9a96e; }
.sid-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #c9a96e, transparent);
  margin-bottom: 26px;
}
.sid-body {
  color: #555;
  font-size: 1.01rem;
  line-height: 1.88;
  margin-bottom: 0;
}
.sid-overview-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Feature cards */
.sid-plan-card {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 14px;
  padding: 38px 30px 34px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sid-plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #e8e5e0;
  transition: background .3s ease;
}
.sid-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(57,63,51,.12);
  border-color: #c9a96e;
}
.sid-plan-card:hover::before { background: #c9a96e; }
.sid-plan-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: #f0f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #393f33;
  margin-bottom: 22px;
  transition: background .3s, color .3s, border-radius .3s;
}
.sid-plan-card:hover .sid-plan-icon {
  background: #393f33;
  color: #c9a96e;
  border-radius: 50%;
}
.sid-plan-card h4 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #1e221a;
  font-size: 1rem;
  letter-spacing: .3px;
  margin-bottom: 13px;
}
.sid-plan-card p {
  color: #666;
  font-size: .92rem;
  line-height: 1.78;
  margin: 0;
}

/* Dark technical section */
.sid-eng-section {
  background: linear-gradient(135deg, #1e221a 0%, #2d3328 45%, #393f33 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.sid-eng-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(201,169,110,.04) 60px, rgba(201,169,110,.04) 61px
  );
  pointer-events: none;
}
.sid-eng-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9a96e 30%, #c9a96e 70%, transparent);
}
.sid-eng-tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a96e;
  display: block;
  margin-bottom: 14px;
}
.sid-eng-heading {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.28;
  margin-bottom: 20px;
}
.sid-eng-body {
  color: rgba(237,233,225,.7);
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: 0;
}
.sid-eng-point {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}
.sid-eng-point:last-child { margin-bottom: 0; }
.sid-eng-num {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(201,169,110,.4);
  line-height: 1;
  flex-shrink: 0;
  min-width: 30px;
  padding-top: 2px;
}
.sid-eng-point h5 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: .95rem;
  letter-spacing: .3px;
  margin-bottom: 7px;
}
.sid-eng-point p {
  color: rgba(237,233,225,.64);
  font-size: .91rem;
  line-height: 1.72;
  margin: 0;
}

/* Trust cards */
.sid-trust-section {
  background: #faf9f6;
  padding: 88px 0;
  border-bottom: 1px solid #ede9e0;
}
.sid-trust-card {
  text-align: center;
  padding: 44px 32px 40px;
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 16px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sid-trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(57,63,51,.11);
  border-color: #c9a96e;
}
.sid-trust-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #393f33;
  margin: 0 auto 22px;
  transition: background .3s, color .3s;
}
.sid-trust-card:hover .sid-trust-icon {
  background: #393f33;
  color: #c9a96e;
}
.sid-trust-card h4 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #1e221a;
  font-size: 1rem;
  letter-spacing: .3px;
  margin-bottom: 13px;
}
.sid-trust-card p {
  color: #666;
  font-size: .92rem;
  line-height: 1.78;
  margin: 0;
}

/* Gallery */
.sid-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.sid-gallery-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.sid-gallery-tall img  { height: 400px; }
.sid-gallery-short img { height: 188px; }
.sid-gallery-item:hover img { transform: scale(1.06); }
.sid-gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 52px 22px 20px;
  background: linear-gradient(to top, rgba(10,14,10,.82) 0%, transparent 100%);
}
.sid-gallery-cat {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #c9a96e;
  display: block;
  margin-bottom: 5px;
}
.sid-gallery-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: .88rem;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* Service types coverflow slider */
.tslider-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.tslider {
  padding: 24px 0 30px;
  overflow: visible;
}
.tslider .swiper-slide {
  width: 520px;
  max-width: 84vw;
}
.tslider-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid transparent;
  box-shadow: 0 16px 38px rgba(0,0,0,.14);
  transition: border-color .4s ease;
  background: #ede9e0;
}
.tslider-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.tslider-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 14px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  background: rgba(20,22,20,.78);
  transition: background .4s ease, color .4s ease;
}
.tslider .swiper-slide-active .tslider-card { border-color: #c9a96e; }
.tslider .swiper-slide-active .tslider-label {
  background: rgba(201,169,110,.96);
  color: #1a1a1a;
}
/* Static grid variant (used when a service has only a few types) */
.tcard-static {
  height: 100%;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tcard-static:hover {
  transform: translateY(-6px);
  border-color: #c9a96e;
  box-shadow: 0 22px 46px rgba(0,0,0,.18);
}
.tcard-static:hover .tslider-label {
  background: rgba(201,169,110,.96);
  color: #1a1a1a;
}
.tslider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #e3ddd0;
  background: #fff;
  color: #c9a96e;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  transition: background .25s, color .25s, transform .25s;
}
.tslider-nav:hover { background: #c9a96e; color: #fff; }
.tslider-prev { left: 4px; }
.tslider-next { right: 4px; }
@media (max-width: 767px) {
  .tslider-wrap { padding: 0 18px; }
  .tslider-card img { height: 300px; }
  .tslider-nav { width: 44px; height: 44px; }
  .tslider-prev { left: -4px; }
  .tslider-next { right: -4px; }
}

/* Checklist */
.sid-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sid-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .96rem;
  color: #444;
  line-height: 1.65;
}
.sid-check-list li i {
  color: #393f33;
  font-size: .75rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* =====================================================
   PORTFOLIO PAGE
   ===================================================== */

/* Banner */
.pf-banner {
  background: linear-gradient(135deg, #1e221a 0%, #2d3328 40%, #393f33 70%, #4d5445 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.pf-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,169,110,.04) 60px, rgba(201,169,110,.04) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(201,169,110,.04) 60px, rgba(201,169,110,.04) 61px);
  pointer-events: none;
}
.pf-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #c9a96e 30%, #c9a96e 70%, transparent);
}
.pf-banner-tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pf-banner-tag::before,
.pf-banner-tag::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #c9a96e;
}
.pf-banner h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.18;
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.pf-banner h1 span { color: #c9a96e; }
.pf-banner-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #c9a96e, transparent);
  margin: 28px 0;
}
.pf-banner-lead {
  color: rgba(237,233,225,.72);
  font-size: 1.08rem;
  max-width: 640px;
  line-height: 1.78;
}

/* Filter strip */
.pf-filter-wrap {
  background: #f8f6f1;
  border-bottom: 1px solid #ede9e0;
  padding: 20px 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}
.pf-filter-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-filter-btn {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid #d0ccc4;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pf-filter-btn:hover {
  border-color: #393f33;
  color: #393f33;
}
.pf-filter-btn.active {
  background: #393f33;
  color: #fff;
  border-color: #393f33;
}

/* Section */
.pf-section {
  padding: 72px 0 88px;
  background: #faf9f6;
}

/* Project cards */
.pf-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  display: block;
  box-shadow: 0 6px 28px rgba(0,0,0,.12);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), box-shadow .4s ease;
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
.pf-card-img {
  width: 100%;
  height: 100%;
}
.pf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.pf-card:hover .pf-card-img img {
  transform: scale(1.07);
}

/* Overlay */
.pf-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,20,13,.88) 0%,
    rgba(15,20,13,.35) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px;
  transition: background .4s ease;
}
.pf-card:hover .pf-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15,20,13,.94) 0%,
    rgba(15,20,13,.55) 55%,
    rgba(15,20,13,.15) 100%
  );
}
.pf-card-cat {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 8px;
  display: block;
}
.pf-card-name {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: 1.25rem;
  margin-bottom: 18px;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.pf-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  padding: 9px 18px;
  border-radius: 5px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, border-color .25s ease, color .25s ease, background .25s ease;
}
.pf-card:hover .pf-card-cta {
  opacity: 1;
  transform: none;
}
.pf-card-cta:hover {
  background: rgba(201,169,110,.25);
  border-color: #c9a96e;
  color: #fff;
}

/* ─────────────────────────────────────
   LIGHTBOX
───────────────────────────────────── */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,11,8,.96);
  display: flex;
  align-items: flex-start;   /* flex-start so overflow is scrollable */
  justify-content: center;
  overflow-y: auto;           /* allow scrolling when thumbnails overflow */
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(4px);
}
.pf-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.pf-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 10;
}
.pf-lb-close:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
  transform: rotate(90deg);
}

.pf-lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1020px;
  padding: 60px 40px 48px;
  gap: 18px;
  margin: auto;              /* centers vertically when content fits viewport */
}

.pf-lb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.pf-lb-cat-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c9a96e;
  display: block;
  margin-bottom: 5px;
}
.pf-lb-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  color: #ede9e1;
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: .3px;
}
.pf-lb-counter {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  color: rgba(201,169,110,.75);
  white-space: nowrap;
  margin-top: 6px;
}

.pf-lb-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.pf-lb-img-wrap {
  flex: 1;
  position: relative;
  max-height: 58vh;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.pf-lb-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,169,110,.6);
  font-size: 1.6rem;
}
.pf-lb-img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity .3s ease;
  position: relative;
  z-index: 1;
}

.pf-lb-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.pf-lb-arrow:hover {
  background: rgba(201,169,110,.2);
  border-color: rgba(201,169,110,.5);
  color: #fff;
}

/* Thumbnails */
.pf-lb-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 680px;
}
.pf-lb-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #222;
  cursor: pointer;
  transition: border-color .2s, transform .2s, opacity .2s;
  opacity: .65;
}
.pf-lb-thumb:hover { opacity: .9; transform: translateY(-2px); }
.pf-lb-thumb.active {
  border-color: #c9a96e;
  opacity: 1;
}
.pf-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No-image state */
.pf-item[style*="none"] { display: none !important; }

/* Responsive */
@media (max-width: 767px) {
  .pf-card { aspect-ratio: 4 / 3; }
  .pf-card-name { font-size: 1.05rem; }
  .pf-lb-inner { padding: 56px 16px 20px; gap: 12px; }
  .pf-lb-arrow { width: 38px; height: 38px; font-size: .8rem; }
  .pf-lb-stage { gap: 10px; }
  .pf-lb-thumb { width: 60px; height: 42px; }
  .pf-filter-btn { font-size: .72rem; padding: 7px 14px; }
}
@media (max-width: 480px) {
  .pf-lb-arrow { display: none; }
}

