/* =============================================
   EAST INDIA TRADERS — Main Stylesheet
   Design: Heritage trading house, navy + gold
   ============================================= */

:root {
  --navy:      #0D1B2A;
  --navy-mid:  #162436;
  --navy-light:#1E3350;
  --gold:      #C9A84C;
  --gold-light:#DEC070;
  --gold-pale: #F0E4C3;
  --ivory:     #F5EFE0;
  --ivory-off: #FAF7F0;
  --charcoal:  #3D3D3D;
  --grey:      #7A7A7A;
  --white:     #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1160px;
  --section-pad: 5rem 2rem;
  --border-rule: 1px solid rgba(201,168,76,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory-off);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid var(--gold);
  padding: 0.45rem 1rem;
  gap: 0;
  letter-spacing: 0.22em;
  line-height: 1.15;
}
.logo-box span {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ivory);
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
  text-align: center;
}
.logo-box .logo-bottom { color: var(--gold); }
.logo-box--sm span { font-size: 0.68rem; }
.logo-link:hover .logo-box { border-color: var(--gold-light); }

/* Nav */
.main-nav ul {
  display: flex;
  gap: 2.5rem;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,239,224,0.75);
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.25s;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(201,168,76,0.04) 79px,
      rgba(201,168,76,0.04) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(201,168,76,0.04) 79px,
      rgba(201,168,76,0.04) 80px
    );
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--ivory);
  line-height: 1.08;
  max-width: 680px;
  margin-bottom: 1.75rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(245,239,224,0.6);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1.5px solid;
  transition: all 0.22s;
  cursor: pointer;
  line-height: 1;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245,239,224,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-navy {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); }

/* ── SECTION SHARED ── */
.section { padding: var(--section-pad); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
  line-height: 1.8;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--ivory);
  padding: var(--section-pad);
  border-top: var(--border-rule);
  border-bottom: var(--border-rule);
}
.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-strip-text p { color: var(--charcoal); margin-bottom: 1rem; }
.about-strip-text p:last-child { margin-bottom: 0; }

.gst-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--navy);
  color: var(--gold);
  padding: 0.4rem 0.9rem;
  margin-top: 1.25rem;
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(13,27,42,0.08);
  border: var(--border-rule);
}
.stat-item {
  background: var(--ivory-off);
  padding: 2rem 1.75rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-num span { font-size: 1.8rem; color: var(--gold); }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}

/* ── SUBSIDIARIES CARD ── */
.subsidiaries-section { background: var(--navy); }
.subsidiaries-section .section-title { color: var(--ivory); }
.subsidiaries-section .section-lead { color: rgba(245,239,224,0.6); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(201,168,76,0.15);
}
.sub-card {
  background: var(--navy-mid);
  padding: 2.5rem 2.25rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.sub-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s;
}
.sub-card:hover { background: var(--navy-light); }
.sub-card:hover::after { width: 100%; }

.sub-card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.sub-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.sub-card p {
  font-size: 0.92rem;
  color: rgba(245,239,224,0.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.sub-card-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.sub-card:hover .sub-card-link { gap: 0.8rem; }
.sub-card-link::after { content: '→'; }

/* ── CONTACT SECTION ── */
.contact-section { background: var(--ivory); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {}
.contact-item-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 400;
}
.contact-item-value a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.15);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(201,168,76,0.04) 79px,
    rgba(201,168,76,0.04) 80px
  );
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--ivory);
  line-height: 1.1;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(245,239,224,0.6);
  margin-top: 1rem;
  max-width: 520px;
}

/* ── PROSE CONTENT (legal pages) ── */
.prose-section {
  padding: 4rem 2rem 6rem;
  background: var(--ivory-off);
}
.prose-inner {
  max-width: 760px;
  margin: 0 auto;
}
.prose-meta {
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border-rule);
}
.prose-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}
.prose-inner h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}
.prose-inner p { margin-bottom: 1rem; color: var(--charcoal); }
.prose-inner ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose-inner ul li { margin-bottom: 0.4rem; color: var(--charcoal); }
.prose-inner a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose-inner .highlight-box {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

/* ── OWNER CARD ── */
.owner-section {
  background: var(--navy);
  padding: var(--section-pad);
}
.owner-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.owner-monogram {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 300;
}
.owner-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.35rem;
}
.owner-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.owner-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.owner-contacts a {
  color: rgba(245,239,224,0.65);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.owner-contacts a:hover { color: var(--gold); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.18);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}
.footer-tagline {
  font-size: 0.75rem;
  color: rgba(245,239,224,0.4);
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(245,239,224,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-gst, .footer-note {
  font-size: 0.8rem;
  color: rgba(245,239,224,0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245,239,224,0.3);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.72rem;
  color: rgba(245,239,224,0.35);
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--gold); }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-strip-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.12);
    padding: 1.5rem 2rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 1.25rem; }
  .nav-toggle { display: flex; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
