/* =========================
   XINYANG Theme
   ========================= */
:root{
  --brand:#8a7a2f;        /* gold-brown from your logo background */
  --brand-strong:#6e6126; /* darker shade for hover */
  --ink:#161616;          /* primary text */
  --paper:#ffffff;        /* background */
  --ink-dim:#6b7280;      /* muted text */
  --line:#e5e7eb;         /* borders */
}

html {
  scroll-behavior: smooth;
}


*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.5;
}

/* Helpers */
.container{max-width:1120px;margin:0 auto;padding:0 20px}
.dim{color:var(--ink-dim)}
.small{font-size:.875rem}
.hide-mobile{display:none}
@media(min-width:768px){.hide-mobile{display:inline-flex}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:12px;padding:.9rem 1.25rem;font-weight:600;border:1px solid transparent;cursor:pointer;transition:.2s}
.btn-small{padding:.55rem .9rem;border-radius:10px;font-size:.9rem}
.btn-white{background:#fff;color:#000;border-color:#fff}
.btn-white:hover{filter:brightness(.97)}
.btn-hollow{background:transparent;color:#fff;border:1px solid #fff}
.btn-hollow:hover{background:rgba(255,255,255,.1)}
.btn-brand{background:var(--brand);color:#fff;border-color:var(--brand)}
.btn-brand:hover{background:var(--brand-strong)}

/* ===== Topbar Styling ===== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #5f4b1a; /* gold-brown tone from logo */
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    overflow: hidden;
}

.scroll-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.benchmark {
    margin-left: 20px;
    flex-shrink: 0;
}

/* Header */
.header{position:sticky;top:0;z-index:40;background:#fffcc0; /* slight warmth under brand */ background:rgba(255,255,255,.92);backdrop-filter:saturate(1.1) blur(6px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.8rem 0;padding-left:0.5rem;padding-right:0.5rem;}
.brand{display:flex;gap:.7rem;align-items:center;text-decoration:none;color:inherit}
.brand-mark{height:38px;width:auto;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text strong{font-size:1.1rem;letter-spacing:.5px}
.brand-text span{font-size:.75rem;color:var(--ink-dim)}
.nav{display:none;gap:24px;align-items:center}
.nav a{color:#111;text-decoration:none;font-weight:600}
.nav a:hover{color:var(--brand)}
@media(min-width:980px){.nav{display:flex}}

.menu-btn{display:inline-flex;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer}
.menu-btn span{width:24px;height:2px;background:#111;border-radius:2px}
@media(min-width:980px){.menu-btn{display:none}}

/* Drawer (mobile menu) */
.drawer{position:fixed;inset:0 0 auto auto;top:64px;right:0;width:100%;max-width:380px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:16px;display:none;z-index:50}
.drawer.open{display:block}
.drawer-link{display:block;padding:12px 6px;text-decoration:none;color:#111;border-bottom:1px dashed var(--line)}
.drawer .btn{margin-top:12px;width:100%}

/* Hero */
.hero{position:relative;min-height:72vh;background:
  linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.45)),
  url('../img/cover.jpg') center/cover no-repeat fixed;
  color:#fff;display:flex;align-items:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.55))}
.hero-content{position:relative;text-align:center;padding:80px 0}
.hero-logo{width:96px;height:auto;margin:0 auto 12px auto;filter:drop-shadow(0 6px 12px rgba(0,0,0,.4))}
.hero h1{font-size:2.2rem;margin:.25rem 0 10px 0}
.hero p{max-width:720px;margin:0 auto 18px auto}
.hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-disclaimer{opacity:.85;font-size:.85rem;margin-top:8px}
@media(min-width:900px){
  .hero h1{font-size:3rem}
}

/* Sections */
.section{padding:64px 0}
.section.alt{background:#fafaf7}
.section-title{font-size:1.8rem;margin:0 0 18px 0}
.grid-2{display:grid;gap:22px}
@media(min-width:900px){.grid-2{grid-template-columns:1fr 1fr}}

.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.cards{display:grid;gap:16px}
@media(min-width:900px){.cards{grid-template-columns:repeat(4,1fr)}}

.checklist{margin:14px 0 0 0;padding:0 0 0 18px}
.checklist li{margin:8px 0}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center}
.stat{font-size:1.2rem;font-weight:800;color:var(--brand)}

/* Process Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.step {
  background:#fff;
  border:1px dashed var(--brand);
  border-radius:12px;
  padding:12px;
  text-align:center;
  font-weight:700;
}
.step span {
  display:inline-grid;
  place-items:center;
  background:var(--brand);
  color:#fff;
  width:28px;
  height:28px;
  border-radius:999px;
  margin-right:8px;
}

/* Fuel Updates Section */
.fuel-updates-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.fuel-updates-box .fb-page {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #fuel-updates {
    padding-left: 15px;
    padding-right: 15px;
  }

  #fuel-updates .section-title {
    text-align: center;
    font-size: 1.4rem;
  }

  .fuel-updates-box {
    padding: 0 5px; /* inner buffer */
  }
}

@media (max-width: 480px) {
  #fuel-updates {
    padding-left: 12px;
    padding-right: 12px;
  }

  #fuel-updates .section-title {
    font-size: 1.2rem;
  }

  .fuel-updates-box {
    padding: 0 3px;
  }
}

/* Map */
.map-embed iframe{width:100%;height:360px;border:0;border-radius:12px}

/* Contact */
.form{display:grid;gap:10px}
.form input,.form textarea,.form select{
  width:100%;padding:.8rem 1rem;border:1px solid var(--line);border-radius:10px;background:#fff
}
.contact-card h3{margin-top:0}

/* Footer */
.footer{background:#111;color:#fff}
.footer-inner{display:grid;gap:14px;padding:26px 0;align-items:center}
.footer-brand{display:flex;gap:10px;align-items:center}
.footer-brand img{width:42px;height:auto}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.footer-links a{color:#fff;text-decoration:none;opacity:.9}
.footer-links a:hover{opacity:1}
.copy{opacity:.8}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:60}
.modal.open{display:flex}
.modal-dialog{background:#fff;border-radius:16px;padding:18px;max-width:640px;width:100%;position:relative}
.modal h3{margin:0 0 6px 0}
.modal-close{position:absolute;top:10px;right:12px;border:none;background:none;font-size:24px;cursor:pointer}


@media(max-width:768px){
  .topbar{flex-direction:column;align-items:flex-start;font-size:13px;}
  .benchmark{margin-left:0;margin-top:6px;}
  .hero-content{padding:60px 20px;}
  .hero h1{font-size:1.7rem;}
  .section{padding:40px 0;}
  .section-title{font-size:1.4rem;}
  .cards{grid-template-columns:1fr 1fr;}
  .modal-dialog{padding:16px;border-radius:12px;}
  .form input,.form textarea,.form select{font-size:.95rem;}
   .header{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media(max-width:480px){
  .cards{grid-template-columns:1fr;}
  .hero h1{font-size:1.4rem;}
  .btn{padding:.7rem 1rem;font-size:.9rem;}
  .modal-dialog{padding:14px;}
   .header{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}