/*
Theme Name: Narravula Holdings
Theme URI: https://narravulaholdings.com
Author: Narravula Holdings
Author URI: https://narravulaholdings.com
Description: Official website theme for Narravula Holdings — a private investment vehicle focused on Indian restaurant concepts in Texas.
Version: 1.0.0
License: Private
Text Domain: narravula-holdings
*/

/* ─── RESET & ROOT ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080810;
  --surface:     #0F0F1A;
  --surface-2:   #161626;
  --gold:        #C4A24A;
  --gold-light:  #DFC07A;
  --gold-dim:    rgba(196,162,74,0.12);
  --red:         #C8102E;
  --cream:       #EDE9DF;
  --cream-dim:   rgba(237,233,223,0.55);
  --muted:       rgba(237,233,223,0.35);
  --border:      rgba(196,162,74,0.18);
  --border-sub:  rgba(237,233,223,0.07);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAVIGATION ────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border-sub);
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-logo { text-decoration: none; display: flex; align-items: baseline; gap: .75rem; }
.logo-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold); letter-spacing: .08em; line-height: 1;
}
.logo-wordmark {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-dim);
}

#primary-navigation ul { display: flex; gap: 2.5rem; list-style: none; }
#primary-navigation a {
  text-decoration: none; font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-dim); transition: color .2s;
}
#primary-navigation a:hover { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--cream); margin: 5px 0; transition: .3s;
}

/* ─── HERO ──────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 6rem;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(196,162,74,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,16,46,.05) 0%, transparent 50%);
}

.hero-rule {
  width: 48px; height: 1px; background: var(--gold); margin-bottom: 2rem;
  opacity: 0; transform: scaleX(0); transform-origin: left;
  animation: ruleIn .8s ease forwards .3s;
}
@keyframes ruleIn { to { opacity:1; transform:scaleX(1); } }

.hero-eyebrow {
  font-size: .68rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
  opacity: 0; animation: fadeUp .8s ease forwards .5s;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -.01em; max-width: 900px;
  opacity: 0; animation: fadeUp .9s ease forwards .65s;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  margin-top: 2rem; font-size: .875rem; color: var(--cream-dim);
  letter-spacing: .05em; max-width: 500px; line-height: 1.85;
  opacity: 0; animation: fadeUp .9s ease forwards .85s;
}

.hero-cta {
  margin-top: 3rem; display: flex; gap: 1.5rem; align-items: center;
  opacity: 0; animation: fadeUp .8s ease forwards 1.05s;
}

.btn-primary {
  display: inline-block; padding: .85rem 2.25rem;
  border: 1px solid var(--gold); background: transparent;
  color: var(--gold); font-family: 'Syne', sans-serif;
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.btn-primary:hover { background: var(--gold); color: var(--bg); }

.btn-ghost {
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none;
  display: flex; align-items: center; gap: .6rem; transition: color .2s;
}
.btn-ghost:hover { color: var(--cream); }
.btn-ghost::after { content: '↓'; font-size: .9rem; }

.hero-scroll {
  position: absolute; bottom: 3rem; right: 4rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeIn 1s ease forwards 1.4s;
}
.hero-scroll span {
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent); }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ─── SECTION COMMONS ───────────────────────────────────────────────── */
.site-section { padding: 7rem 4rem; }

.section-label {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem;
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.section-label span {
  font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}

.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .3;
}

/* ─── ABOUT ─────────────────────────────────────────────────────────── */
#about.site-section {
  border-top: 1px solid var(--border-sub);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 1.5rem;
}
.about-heading em { font-style: italic; color: var(--gold-light); }

.about-body { font-size: .9rem; color: var(--cream-dim); line-height: 1.9; max-width: 500px; }
.about-body p + p { margin-top: 1.2rem; }

.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5px; border: 1.5px solid var(--border);
}
.stat-cell {
  padding: 2rem 1.75rem;
  border: 1.5px solid var(--border);
  background: var(--surface);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold-light); line-height: 1; margin-bottom: .4rem;
}
.stat-label {
  font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ─── PORTFOLIO ─────────────────────────────────────────────────────── */
#portfolio.site-section {
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
}

.portfolio-header { display: flex; align-items: flex-end; margin-bottom: 4rem; }
.portfolio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.2;
}

.portfolio-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5px; background: var(--border);
}

.portfolio-card {
  background: var(--surface-2);
  padding: 3rem; position: relative; overflow: hidden; transition: background .3s;
}
.portfolio-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--card-accent, var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.portfolio-card:hover { background: #1A1A2C; }
.portfolio-card:hover::before { transform: scaleX(1); }

.card-tag {
  display: inline-block;
  font-size: .6rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  padding: .35rem .85rem; border: 1px solid currentColor; margin-bottom: 2rem;
}
.card-tag.active    { color: var(--gold); }
.card-tag.upcoming  { color: var(--cream-dim); }

.card-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 400; line-height: 1; margin-bottom: .5rem; letter-spacing: -.01em;
}
.card-concept {
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.75rem;
}
.card-desc {
  font-size: .875rem; color: var(--cream-dim); line-height: 1.85; margin-bottom: 2rem;
}

.card-details {
  display: flex; flex-direction: column; gap: .75rem;
  border-top: 1px solid var(--border-sub); padding-top: 1.5rem;
}
.card-detail-row { display: flex; justify-content: space-between; align-items: center; }
.detail-key {
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.detail-val { font-size: .75rem; color: var(--cream); }

.card-coming-soon {
  margin-top: 2rem; padding: 2rem; border: 1px dashed var(--border);
  text-align: center;
}
.card-coming-soon p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic; color: var(--muted); line-height: 1.7;
}

.card-num {
  position: absolute; bottom: 2.5rem; right: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; font-weight: 300;
  color: rgba(237,233,223,.03); line-height: 1;
  pointer-events: none; user-select: none;
}

/* ─── PHILOSOPHY ─────────────────────────────────────────────────────── */
#philosophy.site-section { border-top: 1px solid var(--border-sub); }

.philosophy-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.15; max-width: 600px; margin-bottom: 0;
}
.philosophy-heading em { font-style: italic; color: var(--gold-light); }

.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem; border: 1px solid var(--border-sub);
}
.pillar {
  padding: 2.75rem 2.5rem;
  border-right: 1px solid var(--border-sub);
}
.pillar:last-child { border-right: none; }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: var(--gold); margin-bottom: 1.25rem; letter-spacing: .1em;
}
.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; margin-bottom: .85rem; line-height: 1.2;
}
.pillar-body { font-size: .82rem; color: var(--cream-dim); line-height: 1.85; }

/* ─── CONTACT ────────────────────────────────────────────────────────── */
#contact.site-section {
  border-top: 1px solid var(--border-sub);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.25rem;
}
.contact-heading em { font-style: italic; color: var(--gold-light); }
.contact-body { font-size: .875rem; color: var(--cream-dim); line-height: 1.9; margin-bottom: 2.5rem; }

.contact-info-list { list-style: none; }
.contact-info-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-sub); align-items: start;
}
.contact-info-item:first-child { border-top: 1px solid var(--border-sub); }
.ci-label {
  font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); padding-top: .1rem;
}
.ci-val { font-size: .875rem; color: var(--cream); line-height: 1.6; }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
#site-footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--border-sub);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: .08em;
}
.footer-copy { font-size: .65rem; font-weight: 500; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.footer-legal { font-size: .65rem; color: var(--muted); letter-spacing: .08em; max-width: 420px; text-align: right; line-height: 1.7; }

/* ─── REVEAL ANIMATION ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  #site-header { padding: 1.25rem 2rem; }
  #primary-navigation { display: none; position: fixed; inset: 0; top: 70px; background: rgba(8,8,16,.97); padding: 3rem 2rem; flex-direction: column; }
  #primary-navigation.open { display: flex; }
  #primary-navigation ul { flex-direction: column; gap: 2rem; }
  #primary-navigation a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .hero-section { padding: 0 2rem 5rem; }
  .site-section { padding: 5rem 2rem; }
  #about.site-section { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border-sub); }
  .pillar:last-child { border-bottom: none; }
  #contact.site-section { grid-template-columns: 1fr; gap: 3rem; }
  #site-footer { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; max-width: 100%; }
}
