/* ============================================
   PILLAR HOSPITALITY — Site Styles
   Luxury black & gold palette
   ============================================ */

:root {
  --black: #0a0a0a;
  --charcoal: #161616;
  --soft-charcoal: #1f1f1f;
  --gold: #c9a96e;
  --gold-light: #e0c896;
  --gold-dim: #8a7449;
  --ivory: #f5f1ea;
  --text: #e8e5df;
  --muted: #a8a39a;
  --border: rgba(201, 169, 110, 0.25);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--black);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--gold-light); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ivory);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.divider { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem auto; }
.divider-left { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

p { color: var(--muted); margin-bottom: 1rem; }
p.lead { font-size: 1.15rem; color: var(--text); line-height: 1.75; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width); margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
}

.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo svg { height: 42px; width: auto; }

.nav-menu { display: flex; gap: 2.5rem; list-style: none; }

.nav-menu a {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: none;
  color: var(--ivory); cursor: pointer; font-size: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }

.hero-logo { margin: 0 auto 2.5rem; max-width: 480px; }
.hero-logo svg { width: 100%; height: auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 300;
}

.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2.5rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.25rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.btn:hover { background: var(--gold); color: var(--black); letter-spacing: 0.28em; }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  padding: 12rem 2rem 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center top, rgba(201, 169, 110, 0.1) 0%, transparent 70%),
    var(--black);
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-style: italic; font-weight: 300; }

/* ---------- Content Sections ---------- */
.section-dark { background: var(--black); }
.section-charcoal { background: var(--charcoal); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.two-col .image-frame {
  position: relative; aspect-ratio: 4/5;
  border: 1px solid var(--border); padding: 1rem;
}

.two-col .image-frame::before {
  content: ''; position: absolute; inset: -12px;
  border: 1px solid var(--gold-dim); pointer-events: none; opacity: 0.4;
}

.image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--soft-charcoal) 0%, var(--charcoal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dim);
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; letter-spacing: 0.1em;
}

.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- Pillars / Values Grid ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }

.pillar {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--soft-charcoal);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.pillar:hover { transform: translateY(-6px); border-color: var(--gold); }

.pillar-icon { width: 56px; height: 56px; margin: 0 auto 1.5rem; color: var(--gold); }
.pillar h3 { margin-bottom: 1rem; color: var(--ivory); }

/* ---------- Brand Cards ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; }

.brand-card {
  background: var(--soft-charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s ease, border-color 0.5s ease;
  display: flex; flex-direction: column;
}

.brand-card:hover { transform: translateY(-8px); border-color: var(--gold); }

.brand-visual {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.brand-visual.slice-shake {
  background:
    radial-gradient(circle at 30% 30%, rgba(220, 60, 60, 0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255, 200, 100, 0.12), transparent 60%),
    linear-gradient(135deg, #1a1410 0%, #2a1a14 100%);
}

.brand-visual.ajs {
  background:
    radial-gradient(circle at 40% 60%, rgba(180, 100, 40, 0.22), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(220, 180, 80, 0.12), transparent 60%),
    linear-gradient(135deg, #14110a 0%, #251c10 100%);
}

.brand-mark {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-light);
  text-align: center; letter-spacing: 0.04em;
  font-style: italic; font-weight: 500;
  padding: 1rem; z-index: 1;
}

.brand-mark .amp { color: var(--gold); font-style: normal; }

.brand-logo-chip {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.6rem 2rem;
  width: 74%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.brand-logo-chip img { width: 100%; height: auto; display: block; }

.brand-body { padding: 2.5rem; flex: 1; display: flex; flex-direction: column; }

.brand-tagline {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}

.brand-body h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.brand-body p { flex: 1; }
.brand-body .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 4rem; padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-number {
  font-family: var(--serif); font-size: 3rem; color: var(--gold);
  font-weight: 500; line-height: 1; margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }

.contact-info-block { padding: 1.5rem 0; }
.contact-info-block + .contact-info-block { border-top: 1px solid var(--border); }

.contact-info-block h4 {
  font-family: var(--sans); font-size: 0.75rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem; font-weight: 500;
}

.contact-info-block p { color: var(--text); }

.contact-form {
  background: var(--soft-charcoal);
  border: 1px solid var(--border);
  padding: 3rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block; font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center; padding: 5rem 2rem;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1) 0%, transparent 70%),
    var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner h2 { font-style: italic; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: 4rem 0 2rem; border-top: 1px solid var(--border); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.footer-brand svg { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }

.footer-col h5 {
  font-family: var(--sans); font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem; font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column; padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: block; }

  .two-col, .brands-grid, .contact-grid, .form-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 0; }
  .page-header { padding: 9rem 2rem 4rem; }
}

@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .contact-form { padding: 2rem 1.5rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 1s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
