/* =========================================
   Delight Aluminum Glass & Steel — Global CSS
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #c9a227;
  --gold-light: #e8c158;
  --gold-dark: #a07e1a;
  --slate-950: #0a0f1e;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --body: #374151;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---- NAV ---- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
#main-nav.nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
}
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  transition: color 0.3s;
}
.nav-scrolled .nav-logo-text strong { color: var(--slate-900); }
.nav-logo-text span { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-scrolled .nav-links a { color: var(--slate-800); }
.nav-scrolled .nav-links a:hover { color: var(--gold-dark); }

.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--slate-900) !important;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition) !important;
  box-shadow: 0 0 20px rgba(201,162,39,0.4);
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-2px); box-shadow: 0 4px 25px rgba(201,162,39,0.6) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu button */
#menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
  background: none;
  border: none;
  padding: 4px;
}
#menu-btn span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-scrolled #menu-btn span, #menu-btn.menu-open span { background: var(--slate-900); }
#menu-btn.menu-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.menu-open span:nth-child(2) { opacity: 0; }
#menu-btn.menu-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-900);
  transition: color 0.3s;
}
#mobile-menu a:hover { color: var(--gold-dark); }

/* Top bar */
.top-bar {
  background: var(--slate-900);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a, .top-bar span { display: flex; align-items: center; gap: 6px; transition: color 0.3s; }
.top-bar a:hover { color: var(--gold); }

/* ---- FOOTER ---- */
footer {
  background: var(--slate-950);
  color: var(--white);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; margin-top: 12px; }
.footer-brand h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; }
.footer-brand .tagline { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--gold); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Buttons ---- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--slate-900);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,162,39,0.35);
  border: none;
  cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.5); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--slate-900); transform: translateY(-2px); }

/* ---- Section Helpers ---- */
.section { padding: 96px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--gold);
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--slate-900); margin-bottom: 20px; }
.section-subtitle { font-size: 1.05rem; color: var(--slate-600); line-height: 1.7; max-width: 600px; }

.underline-gold {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  margin: 12px 0 20px;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  min-height: 400px;
  background: linear-gradient(135deg, var(--slate-950) 0%, var(--slate-800) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
  opacity: 0.12;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); }
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--gold); transition: color 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- WhatsApp FAB ---- */
#wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
#wa-fab:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
#wa-fab.pulse { animation: waPulse 0.7s ease; }
@keyframes waPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
#wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---- Card Styles ---- */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

/* ---- Star Rating ---- */
.stars { display: flex; gap: 3px; color: var(--gold); }

/* ---- Gold divider ---- */
.gold-divider { width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark)); }

/* ---- Form ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--slate-100);
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--slate-900);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.form-group textarea { resize: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  #menu-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
