/* ============================================================
   HAMMER BRICK & HOME LLC
   Luxury Dark + Gold UI — v3 (Stabilized Edition)
   SAFE • CLEAN • NON-BREAKING • OPTIMIZED
=============================================================== */

:root{
  --bg:#071426;
  --bg-alt:#0d1a2e;
  --ink:#ffffff;
  --muted:rgba(255,255,255,.78);
  --gold:#e7bf63;
  --gold-soft:#f5d89b;
  --radius-xl:22px;
  --radius:14px;
  --shadow-soft:0 14px 40px rgba(0,0,0,.6);
  --border-soft:1px solid rgba(255,255,255,.12);
  --font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;
  --font-serif:"Georgia","Times New Roman",serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}

body{
  font-family:var(--font-sans);
  background:
    radial-gradient(1200px 800px at 80% -10%,rgba(231,191,99,.06),transparent),
    radial-gradient(900px 600px at -10% 40%,rgba(32,91,158,.18),transparent),
    var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}

/* ============================================================
   GLOBAL AMBIENT GOLD EFFECT
=============================================================== */

body::before {
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(circle at center,
      rgba(212,175,55,0.08),
      transparent 70%);
  z-index:-1;
  animation: ambientGold 6s ease-in-out infinite;
}

/* ============================================================
   TOPBAR / NAVIGATION
=============================================================== */

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(16px);
  background:rgba(3,8,16,.94);
  border-bottom:var(--border-soft);
}

.topbar-inner{
  max-width:1240px;
  margin:0 auto;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
}

.brand-logo{
  width:54px;
  height:54px;
  border-radius:999px;
  box-shadow:0 0 16px rgba(231,191,99,.9);
  object-fit:cover;
}

.brand-text{line-height:1.2}
.brand-name{font-weight:800;letter-spacing:.03em;font-size:17px}
.brand-sub{font-size:11px;opacity:.74}

.nav-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  color:var(--ink);
  font-size:22px;
  cursor:pointer;
}

.main-nav{
  margin-left:auto;
  display:flex;
  gap:14px;
  align-items:center;
  font-size:13px;
}

.main-nav .nav-call{
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  color:#151515;
  font-weight:800;
  box-shadow:0 6px 18px rgba(0,0,0,.6);
}

/* Dropdown */
.dropdown{position:relative;display:inline-block;}
.nav-link.dropbtn{
  text-decoration:none;
  padding:10px 15px;
  border-radius:6px;
  transition:.2s;
}
.dropdown.show .nav-link.dropbtn{
  background:#1b1b1b;
  color:#fff;
  box-shadow:0 0 8px rgba(245,196,0,0.6);
}

.dropdown-content{
  display:none;
  position:absolute;
  background-color:#0a0a0a;
  min-width:200px;
  border-radius:10px;
  overflow:hidden;
  top:100%;
  left:0;
  z-index:9999;
  border:1px solid rgba(245,196,0,0.3);
  box-shadow:0 4px 10px rgba(0,0,0,0.5);
}

.dropdown-content a{
  padding:12px 18px;
  text-decoration:none;
  display:block;
  transition:.2s;
}

.dropdown-content a:hover{
  background:#f5c400;
  color:#0a0a0a;
}

.dropdown.show .dropdown-content{display:block;}

@media (max-width:768px){
  .dropdown-content{
    position:static;
    background:none;
    border:none;
    box-shadow:none;
  }
  .dropdown-content a{
    padding-left:25px;
  }
}

/* ============================================================
   PAGE LAYOUT
=============================================================== */

.page{
  max-width:1240px;
  margin:0 auto;
  padding:26px 18px 120px;
}

.section{margin-bottom:40px;}

.section h2{
  font-family:var(--font-serif);
  font-size:26px;
  margin-bottom:10px;
  color:var(--gold-soft);
  text-shadow:0 3px 8px rgba(0,0,0,.7);
}

.section-note{
  font-size:12px;
  color:var(--muted);
}

/* ============================================================
   HERO
=============================================================== */

.hero{
  display:flex;
  justify-content:space-between;
  gap:26px;
  margin-bottom:40px;
}

.hero-home{align-items:center;}

.hero-inner{
  padding:24px 22px 26px;
  border-radius:var(--radius-xl);
  background:
    radial-gradient(circle at top,var(--gold)/9%,transparent),
    rgba(5,10,18,.88);
  box-shadow:var(--shadow-soft);
}

.hero-content h1{
  font-family:var(--font-serif);
  font-size:30px;
  margin-bottom:8px;
}

.hero-content p{
  color:var(--muted);
  font-size:14px;
  max-width:640px;
}

.hero-actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.trust-pills{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  list-style:none;
  font-size:10px;
}

.trust-pills li{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(8,19,35,.96);
  border:1px solid rgba(231,191,99,.55);
}

.hero-badge img{
  width:170px;
  height:170px;
  border-radius:50%;
}

/* ============================================================
   BUTTONS
=============================================================== */

.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  color:#151515;
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  border:none;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.7);
  cursor:pointer;
  transition:.22s;
}

.btn:hover{transform:translateY(-2px);}

.btn.ghost{
  background:transparent;
  color:var(--gold-soft);
  border:1px solid rgba(231,191,99,.8);
}

/* GOLD button (load-more etc.) */
.gold-btn{
  position:relative;
  display:inline-block;
  padding:14px 34px;
  background:linear-gradient(135deg,#e9c46a,#d4af37);
  color:#000;
  border:none;
  border-radius:12px;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  overflow:hidden;
  transition:.25s;
}

.gold-btn:hover{
  transform:scale(1.08);
  box-shadow:0 4px 16px rgba(0,0,0,0.35);
}

.gold-btn::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.28)
  );
  opacity:0;
  animation:goldBreath 3s ease-in-out infinite;
  pointer-events:none;
  border-radius:inherit;
}

/* Floating call button */
.sticky-call{
  position:fixed;
  right:18px;
  bottom:18px;
  padding:11px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
  color:#111;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(0,0,0,.8);
  z-index:60;
}

/* ============================================================
   GRID, CARDS, CONTENT
=============================================================== */

.split{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(260px,2.2fr);
  gap:22px;
  align-items:flex-start;
}

.accent-card,
.note-box{
  padding:16px 16px 18px;
  border-radius:var(--radius-xl);
  background:var(--bg-alt);
  border:var(--border-soft);
  box-shadow:var(--shadow-soft);
  font-size:13px;
}

.accent-card h3{
  font-size:15px;
  margin-bottom:6px;
  color:var(--gold-soft);
}

.bullets{
  list-style:none;
  padding-left:0;
  font-size:13px;
}

.bullets li{
  margin-bottom:6px;
  padding-left:16px;
  position:relative;
}

.bullets li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--gold);
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.pill-row span{
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:var(--border-soft);
  font-size:12px;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
}

.pkg-card{
  background:rgba(9,16,30,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-xl);
  padding:16px;
  box-shadow:var(--shadow-soft);
}

.pkg-card h3{
  margin-bottom:6px;
  color:var(--gold-soft);
}

.pkg-card .price{
  margin-top:8px;
  font-weight:800;
}

/* ============================================================
   GALLERY
=============================================================== */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:15px;
}

.gallery-grid img{
  width:100%;
  border-radius:10px;
  cursor:pointer;
  transition:.4s;
  position:relative;
}

.gallery-grid img:hover{
  transform:scale(1.03);
  box-shadow:0 0 12px rgba(212,175,55,0.45);
}

.gallery-grid img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.35) 40%,
    transparent 100%
  );
  opacity:0;
  transition:.35s;
}

.gallery-grid img:hover::after{
  opacity:0.45;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:80;
}

.lightbox img{
  max-width:88%;
  max-height:88%;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.lightbox.show{display:flex;}

/* ============================================================
   BEFORE / AFTER — COMPARE GRID
=============================================================== */

.compare-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
}

.compare-item{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#111;
  box-shadow:var(--shadow-soft);
  transition:.35s;
}

.compare-item:hover{
  box-shadow:0 0 18px rgba(212,175,55,0.35);
}

.compare-item img.before-img,
.compare-item img.after-img{
  width:100%;
  display:block;
}

.compare-item .after-wrap{
  position:absolute;
  top:0;
  left:0;
  width:50%;
  height:100%;
  overflow:hidden;
}

.compare-item .slider-control{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  width:75%;
  appearance:none;
  height:6px;
  background:#d4af37;
  border-radius:8px;
  cursor:pointer;
  z-index:10;
}

.compare-item .slider-control::-webkit-slider-thumb{
  appearance:none;
  width:20px;
  height:20px;
  background:#f2d27a;
  border-radius:50%;
  border:2px solid #000;
  cursor:pointer;
  box-shadow:0 0 12px rgba(212,175,55,0.75);
  transition:.3s;
}

.compare-item .slider-control::-webkit-slider-thumb:hover{
  box-shadow:0 0 16px rgba(212,175,55,1);
}

.compare-item .slider-control::-moz-range-thumb{
  width:20px;
  height:20px;
  background:#f2d27a;
  border-radius:50%;
  border:2px solid #000;
  cursor:pointer;
  box-shadow:0 0 12px rgba(212,175,55,0.75);
}

.compare-label{
  position:absolute;
  top:10px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.65);
  font-size:11px;
  color:#fff;
  z-index:10;
}

.compare-label.right{right:10px;}
.compare-label:not(.right){left:10px;}

.compare-caption{
  text-align:center;
  font-size:18px;
  font-weight:900;
  color:#d4af37;
  margin:10px 0 15px 0;
  text-shadow:0 0 10px rgba(212,175,55,0.35);
}

/* ============================================================
   BA SYSTEM (HOME PAGE ONLY)
=============================================================== */

.ba-head h2{
  font-family:var(--font-serif);
  font-size:26px;
  color:var(--gold-soft);
  margin-bottom:6px;
  text-shadow:0 3px 8px rgba(0,0,0,.7);
}

.ba-note{
  color:var(--muted);
  font-size:12px;
  margin-bottom:14px;
}

.ba-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}

.ba-card{
  background:rgba(9,16,30,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-xl);
  padding:14px;
  box-shadow:var(--shadow-soft);
}

.ba-frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.ba-before{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ba-after-wrap{
  position:absolute;
  inset:0;
  width:50%;
  height:100%;
  overflow:hidden;
  transition:.25s ease;
}

.ba-after-wrap img.ba-after{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ba-slider{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  width:70%;
  appearance:none;
  height:4px;
  background:rgba(255,255,255,.25);
  border-radius:999px;
}

.ba-slider::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  background:var(--gold-soft);
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.6);
}

.ba-slider::-moz-range-thumb{
  width:18px;
  height:18px;
  background:var(--gold-soft);
  border-radius:50%;
  cursor:pointer;
}

/* ============================================================
   RULES / MEMBERSHIP / CONTACT
=============================================================== */

.rules-join-grid{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(200px,1.5fr);
  gap:22px;
}

.qr-block img{
  width:130px;
  height:130px;
  object-fit:contain;
  margin-top:6px;
  background:#fff;
  padding:4px;
  border-radius:10px;
}

.rules-scroll{
  max-height:360px;
  overflow-y:auto;
  padding:14px;
  border-radius:var(--radius-xl);
  background:var(--bg-alt);
  border:var(--border-soft);
  font-size:12px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.contact-form input,
.contact-form textarea{
  padding:9px 11px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(3,8,16,.96);
  color:var(--ink);
  font-size:12px;
}

.contact-form textarea{
  min-height:120px;
  resize:vertical;
}

.site-footer{
  padding:14px 18px 22px;
  text-align:center;
  font-size:10px;
  color:var(--muted);
  background:rgba(2,6,14,.98);
  border-top:var(--border-soft);
}

/* ============================================================
   CHAT BUBBLE
=============================================================== */

.chat-bubble{
  position:fixed;
  right:18px;
  bottom:78px;
  z-index:55;
}

.chat-toggle{
  padding:9px 14px;
  border-radius:999px;
  border:none;
  background:rgba(7,16,32,.98);
  color:var(--gold-soft);
  font-size:12px;
  box-shadow:0 6px 16px rgba(0,0,0,.8);
  cursor:pointer;
}

.chat-modal{
  display:none;
  flex-direction:column;
  margin-top:6px;
  padding:10px 11px;
  border-radius:var(--radius-xl);
  background:rgba(6,12,23,.98);
  border:var(--border-soft);
  box-shadow:var(--shadow-soft);
  gap:6px;
}

.chat-modal .btn,
.chat-modal .btn.ghost{
  width:100%;
  text-align:center;
}

/* ============================================================
   ANIMATIONS — GOLD EFFECTS
=============================================================== */

.fade-up{
  opacity:0;
  transform:translateY(18px);
  animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:none;
  }
}

/* Your signature GOLD BREATHING effect */
@keyframes breatheGold{
  0%{
    opacity:.82;
    filter:brightness(1) drop-shadow(0 0 4px rgba(212,175,55,0.25));
    transform:scale(1);
  }
  50%{
    opacity:1;
    filter:brightness(1.32) drop-shadow(0 0 14px rgba(212,175,55,0.55));
    transform:scale(1.015);
  }
  100%{
    opacity:.82;
    filter:brightness(1) drop-shadow(0 0 4px rgba(212,175,55,0.25));
    transform:scale(1);
  }
}

.breathing-gold{
  animation:breatheGold 2.8s ease-in-out infinite;
  will-change:filter,opacity,transform;
}

/* Gold button shining pulse */
@keyframes goldBreath{
  0%{opacity:0;transform:scale(1);}
  50%{opacity:.55;transform:scale(1.05);}
  100%{opacity:0;transform:scale(1);}
}

/* Ambient background hue pulse */
@keyframes ambientGold{
  0%{opacity:0.05;transform:scale(1);}
  50%{opacity:0.15;transform:scale(1.03);}
  100%{opacity:0.05;transform:scale(1);}
}

/* ============================================================
   RESPONSIVE FIXES
=============================================================== */

@media (max-width:860px){
  .main-nav{
    position:absolute;
    right:10px;
    top:54px;
    flex-direction:column;
    align-items:flex-end;
    background:rgba(4,10,20,.98);
    padding:10px;
    border-radius:16px;
    box-shadow:var(--shadow-soft);
    display:none;
  }
  .main-nav.show{display:flex;}
  .nav-toggle{display:block;}
  .hero{flex-direction:column;}
  .split,
  .rules-join-grid{grid-template-columns:1fr;}
  .hero-badge{display:flex;justify-content:center;}
}

/* ============================================================
   SAFARI DESKTOP FIX — SAFE & NON-BREAKING
=============================================================== */

@media (min-width:900px){
  @supports (-webkit-touch-callout:none) and (not (hover:none)) {
    
    /* Fix hero alignment on Safari desktop */
    .hero,
    .hero-home,
    .hero-inner{
      display:flex !important;
      flex-direction:row !important;
      justify-content:space-between !important;
      align-items:center !important;
      width:100% !important;
      max-width:1240px !important;
      margin:0 auto !important;
      flex-wrap:nowrap !important;
    }

    .hero-content{
      flex:1 1 50% !important;
      max-width:50% !important;
      min-width:320px !important;
    }

    .hero-badge{
      flex:0 0 auto !important;
      max-width:420px !important;
    }

    .hero-badge img{
      width:100% !important;
      height:auto !important;
      object-fit:contain !important;
    }

    /* Compare grid fix */
    .compare-grid{
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
      gap:16px !important;
    }

    /* Services grid fallback */
    .service-grid{
      display:grid !important;
      grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
      gap:14px !important;
    }

    .service-grid .card{
      white-space:normal !important;
      display:block !important;
    }
  }
}


/* ============================================================
   UNIVERSAL GOLD PILL — MENU + HERO (Animated)
=============================================================== */

.gold-pill {
  border: 1px solid rgba(231,191,99,0.95) !important;
  color: var(--gold-soft) !important;
  background: rgba(10,20,35,0.82) !important;
  padding: 8px 15px !important;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .25px;
  text-shadow: 0 0 6px rgba(212,175,55,0.55);

  /* Glow */
  box-shadow:
    0 0 10px rgba(212,175,55,0.55),
    inset 0 0 8px rgba(212,175,55,0.45);

  /* Smooth transitions */
  transition: .28s ease-out;

  /* Breathing animation */
  animation: breatheGold 2.8s ease-in-out infinite;
}

/* Hover Glow */
.gold-pill:hover {
  filter: brightness(1.25);
  background: rgba(12,25,45,0.94) !important;
  color: #fff !important;

  box-shadow:
    0 0 18px rgba(212,175,55,0.95),
    inset 0 0 12px rgba(212,175,55,0.65);
}


/* ============================================================
   HEADER MENU — LUXURY VERSION (SLIGHT GOLD TINT + SHIMMER)
   Applies ONLY to header <nav> — Does NOT affect hero, pills,
   trust badges, buttons, or gold animations elsewhere.
=============================================================== */

/* Base menu links — clean, sharp, and lightly gold-tinted */
.main-nav a {
  color: rgba(245,196,0,0.75); /* slight gold tint ALWAYS */
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  animation: none !important;
  text-shadow: 0 0 3px rgba(212,175,55,0.28); /* subtle luxury glow */
  transition: .28s ease-out;
  position: relative;
}

/* Keep call button text dark on gold button */
.main-nav .nav-call {
  color:#151515;
  text-shadow:none;
}

/* HOVER — bright gold + shimmer underline */
.main-nav a:hover {
  color: #f5c400;
  background: rgba(255,255,255,0.05);
  text-shadow: 0 0 8px rgba(245,196,0,0.75);
}

/* GOLD SHIMMER UNDERLINE */
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #f5c400,
    transparent
  );
  box-shadow: 0 0 12px rgba(245,196,0,0.85);
  animation: shimmer-scan 0.9s ease-out forwards;
}

/* SHIMMER MOTION */
@keyframes shimmer-scan {
  0% { opacity: 0; transform: translateX(-35%); }
  45% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0; transform: translateX(35%); }
}

/* DROPDOWN BUTTON — slight gold tint always */
.nav-link.dropbtn {
  color: rgba(245,196,0,0.8) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: 0 0 3px rgba(212,175,55,0.25);
  transition: .25s ease-out;
}

/* Dropdown hover */
.nav-link.dropbtn:hover {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  text-shadow: 0 0 8px rgba(245,196,0,0.65) !important;
}

/* Dropdown items */
.dropdown-content a {
  color: rgba(245,196,0,0.85) !important;
  border-radius: 0 !important;
  background: #0a0a0a !important;
  text-shadow: none !important;
  transition: .22s;
}

.dropdown-content a:hover {
  background: #f5c400 !important;
  color: #0a0a0a !important;
  text-shadow: none !important;
}


/* ============================================================
   GALLERY + SERVICES PAGE — Luxury Gold Search Upgrade
=============================================================== */

/* Gallery Title */
.gallery-page-title,
.section h1,
.section h2 {
  color: var(--gold-soft) !important;
  text-shadow: 0 0 12px rgba(212,175,55,0.45);
}

/* Gallery small text (subheading) */
.gallery-subtext,
.section p {
  color: var(--muted) !important;
}

/* Search Bar (Gallery + Services) */
.gallery-search input,
#gallerySearch,
#serviceSearch,
input.gallery-search-box,
.search-input {
  max-width: 420px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(7,14,26,0.92);
  border: 1px solid rgba(231,191,99,0.35);
  color: var(--ink);
  font-size: 13px;
  display: block;
  box-shadow: 0 0 12px rgba(212,175,55,0.12);
  transition: 0.25s ease;
}

/* Glow on focus */
.gallery-search input:focus,
#gallerySearch:focus,
#serviceSearch:focus,
.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.45);
  outline: none;
}

/* Before & After cards gold glow */
.gallery-card,
.ba-card {
  border: 1px solid rgba(231,191,99,0.18) !important;
  box-shadow: 0 0 12px rgba(212,175,55,0.18) !important;
}

/* Project Labels */
.ba-caption,
.gallery-item-title {
  color: var(--gold-soft) !important;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(212,175,55,0.35);
}


/* ============================================================
   FAQ — LUXURY DARK + GOLD UI (FINAL VERSION)
   Hammer Brick & Home LLC
=============================================================== */

.faq-section {
  max-width: 980px;
  margin: 60px auto;
  padding: 28px 26px;
  background: rgba(6,12,23,0.88);
  border: 1px solid rgba(231,191,99,0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
  animation: fadeUp .8s ease forwards;
}

/* Category Titles */
.faq-section h2 {
  margin-top: 35px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-soft);
  text-shadow: 0 0 14px rgba(212,175,55,0.45);
  border-left: 4px solid rgba(231,191,99,0.55);
  padding-left: 12px;
}

/* Each FAQ item container */
.faq-section details {
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(10,20,35,0.92);
  border: 1px solid rgba(231,191,99,0.25);
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
  overflow: hidden;
  transition: .25s ease;
}

/* Hover glow */
.faq-section details:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212,175,55,0.65);
  transform: translateY(-1px);
}

/* FAQ Question */
.faq-section summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-soft);
  list-style: none;
  user-select: none;
  position: relative;
  transition: .25s ease;
}

/* Remove default marker */
.faq-section summary::-webkit-details-marker {
  display: none;
}

/* Gold arrow */
.faq-section summary::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 20px;
  color: var(--gold-soft);
  transition: transform .28s ease, color .28s ease;
}

/* Rotate on open */
.faq-section details[open] summary::after {
  transform: translateY(-50%) rotate(-90deg);
  color: #fff;
  text-shadow: 0 0 12px rgba(212,175,55,0.95);
}

/* SHIMMER underline animation */
.faq-section summary:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(245,196,0,0.85);
}

.faq-section summary:hover::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 40px;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: shimmerScan 1s ease-out forwards;
}

@keyframes shimmerScan {
  0% { opacity: 0; transform: translateX(-40%); }
  40% { opacity: 1; transform: translateX(0%); }
  100% { opacity: 0; transform: translateX(40%); }
}

/* ANSWER TEXT */
.faq-section details p {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  animation: fadeAnswer .35s ease;
}

@keyframes fadeAnswer {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth slide-open effect */
.faq-section details[open] > *:not(summary) {
  animation: slideDown .28s ease-out;
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT BOX — FINAL GOLD VERSION
=============================================================== */

.contact-box {
  max-width: 980px;
  margin: 55px auto 90px;
  text-align: center;
  padding: 34px 26px;
  background: rgba(8,16,28,0.92);
  border: 1px solid rgba(231,191,99,0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 22px rgba(212,175,55,0.28);
  animation: fadeUp .9s ease forwards;
}

.contact-box h3 {
  font-size: 24px;
  color: var(--gold-soft);
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(212,175,55,0.55);
}

.contact-box p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}

.contact-box a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin: 6px 12px;
  transition: .25s ease;
}

/* Hover effects */
.contact-box a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(212,175,55,1);
  transform: scale(1.12);
}

/* Mobile fixes */
@media (max-width: 600px) {
  .faq-section, .contact-box {
    padding: 20px 16px;
  }
  .faq-section summary {
    font-size: 14px;
  }
}
/* ============================================================
   CONTACT PILL BUTTONS — GOLD LUXURY VERSION
=============================================================== */

.contact-box {
  text-align: center;
  margin: 50px auto 70px;
  max-width: 680px;
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--muted);
  font-size: 14px;
}

.contact-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  color: var(--gold-soft);
  border: 1px solid rgba(231,191,99,0.85);
  background: rgba(10,20,35,0.9);
  text-decoration: none;
  letter-spacing: .3px;
  transition: .28s ease-out;
  text-shadow: 0 0 6px rgba(212,175,55,0.55);
  box-shadow: 
    0 0 10px rgba(212,175,55,0.35),
    inset 0 0 8px rgba(212,175,55,0.25);
}

/* HOVER — bright gold shimmer */
.pill-btn:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(15,30,50,0.95);
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 20px rgba(245,196,0,0.95),
    inset 0 0 14px rgba(245,196,0,0.65);
  text-shadow: 0 0 12px rgba(245,196,0,0.95);
}

/* MOBILE — full-width buttons */
@media (max-width: 600px) {
  .pill-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

/* ============================================
   FAQ TITLE — GOLD • SHIMMER • GLOW • HOVER
   ============================================ */

.faq-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  margin: 45px 0 28px;
  color: var(--gold-soft);
  letter-spacing: 0.5px;
  text-shadow:
    0 0 8px rgba(212,175,55,0.55),
    0 0 16px rgba(212,175,55,0.35);
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Continuous shimmer line */
.faq-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f5c400, transparent);
  transform: translateX(-50%);
  animation: faqShimmer 2.4s infinite ease-in-out;
  border-radius: 999px;
}

/* Gold pulsing glow */
.shimmer-gold {
  animation: faqGlow 3s infinite ease-in-out alternate;
}

/* Hover = brighter + stronger shimmer */
.faq-title:hover {
  filter: brightness(1.25);
  text-shadow:
    0 0 12px rgba(245,196,0,0.95),
    0 0 24px rgba(245,196,0,0.75);
  transform: scale(1.02);
  transition: 0.25s ease-out;
}

/* Shimmer animation */
@keyframes faqShimmer {
  0%   { width: 20%; opacity: 0.2; }
  50%  { width: 65%; opacity: 1; }
  100% { width: 20%; opacity: 0.25; }
}

/* Gold breathing glow */
@keyframes faqGlow {
  0% {
    opacity: 0.85;
    text-shadow:
      0 0 8px rgba(212,175,55,0.45),
      0 0 14px rgba(212,175,55,0.25);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 16px rgba(245,196,0,0.75),
      0 0 32px rgba(245,196,0,0.55);
  }
  100% {
    opacity: 0.85;
    text-shadow:
      0 0 8px rgba(212,175,55,0.45),
      0 0 14px rgba(212,175,55,0.25);
  }
}
/* ============================================================
   PROJECT ESTIMATOR — GOLD SHIMMER / HOVER (TWO TITLES ONLY)
=============================================================== */

.shimmer-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-serif);
  color: var(--gold-soft);
  margin: 38px auto 10px;
  text-shadow:
    0 0 10px rgba(212,175,55,0.55),
    0 0 20px rgba(212,175,55,0.35);
  display: block;
  animation: shimmerTitle 3s linear infinite;
  transition: .25s ease-out;
  cursor: pointer;
}

/* Hover Glow */
.shimmer-title:hover {
  filter: brightness(1.25);
  transform: scale(1.03);
  text-shadow:
    0 0 16px rgba(245,196,0,1),
    0 0 28px rgba(245,196,0,.9),
    0 0 40px rgba(245,196,0,.7);
}

/* Shimmer breathing animation */
@keyframes shimmerTitle {
  0%   { filter: brightness(85%); }
  50%  { filter: brightness(150%); }
  100% { filter: brightness(85%); }
}

/* ============================================================
   FIX PROJECT ESTIMATOR ALIGNMENT (NO HTML CHANGES)
=============================================================== */

/* Center ONLY the estimator heading block */
.hero-inner .hero-content,
.hero-inner .hero-content h1,
.hero-inner .hero-content p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* First title (Project Estimator) */
.hero-inner .hero-content h1 {
  font-size: 36px !important;
  font-weight: 900 !important;
  color: var(--gold-soft) !important;
  text-shadow:
    0 0 10px rgba(212,175,55,0.55),
    0 0 20px rgba(212,175,55,0.35);
  animation: shimmerTitle 3s linear infinite;
}

/* Subtitle under Project Estimator */
.hero-inner .hero-content p {
  max-width: 780px;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* Second title (NYC & NJ Project Estimator) */
.section h2 {
  text-align: center !important;
  width: 100%;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  animation: shimmerTitle 3s linear infinite;
}

/* Hover glow on both titles */
.hero-inner .hero-content h1:hover,
.section h2:hover {
  filter: brightness(1.25);
  transform: scale(1.03);
  text-shadow:
    0 0 16px rgba(245,196,0,1),
    0 0 28px rgba(245,196,0,.9),
    0 0 40px rgba(245,196,0,.7);
}

/* Continuous shimmer animation */
@keyframes shimmerTitle {
  0%   { filter: brightness(85%); }
  50%  { filter: brightness(150%); }
  100% { filter: brightness(85%); }
}


/* Dropdown FIX */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0d1a2e;
  min-width: 190px;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  z-index: 9999;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.08);
}

