/* ============================================================
   Gerald's Precision Cuts — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Barlow+Condensed:wght@300;400;500;600;700;800&family=Barlow:wght@300;400;500&display=swap');

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

:root {
  --black:   #0a0a0a;
  --black2:  #111111;
  --black3:  #1a1a1a;
  --black4:  #242424;
  --gold:    #c9a84c;
  --gold2:   #e2c06e;
  --gold3:   #f0d898;
  --white:   #f5f2ec;
  --white2:  #e8e4dc;
  --grey:    #6b6b6b;
  --grey2:   #9a9a9a;
  --radius:  4px;
  --nav-h:   72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── UTILITY ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

.tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--grey2);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.75;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(245,242,236,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  backdrop-filter: blur(12px);
}
nav.transparent {
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.4s, border-color 0.4s;
}
nav.transparent.scrolled {
  background: rgba(10,10,10,0.96);
  border-bottom-color: rgba(201,168,76,0.12);
}
.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}
.nav-logo-main span { color: var(--gold); }
.nav-logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  padding: 9px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ══════════════════════════════
   PAGE HERO BANNER (inner pages)
══════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.18);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}
.page-hero-title em { color: var(--gold); font-style: italic; font-weight: 300; }
.page-hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey2);
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.page-hero-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero-breadcrumb span { color: var(--grey); }
.page-hero-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 28px auto 0;
}

/* ══════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  padding: 14px 22px 14px 18px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: floatBounce 3s ease-in-out infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(37,211,102,0.5); animation: none; }
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-label { display: none; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-name span { color: var(--gold); }
.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey2);
  margin-bottom: 22px;
}
.footer-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.8; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 28px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey2);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.88rem; color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before { content: '—'; color: rgba(201,168,76,0.3); font-size: 0.75rem; }
.footer-links a:hover { color: var(--white2); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--grey); }
.footer-copy span { color: var(--gold); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .whatsapp-label { display: inline; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .btn { justify-content: center; }
}
