/* ===================================================
   TCUM — The Ceylon UltraFine Mill
   Main Stylesheet
   =================================================== */

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

/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --forest:    #1a2e1a;
  --sage:      #4a6741;
  --ceylon:    #8faa52;
  --gold:      #c9a84c;
  --cream:     #f5f0e8;
  --parchment: #ede5d0;
  --dark:      #0d1a0d;
  --steel:     #2c3e2c;
  --mist:      #e8f0e0;
  --text:      #1a2e1a;
  --light-text:#5a7050;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ─── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(13, 26, 13, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(143, 170, 82, 0.2);
  transition: padding 0.3s;
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.nav-logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; color: var(--ceylon); letter-spacing: 3px; line-height: 1;
}
.nav-logo-sub { font-size: 0.6rem; color: rgba(255,255,255,0.45); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 500; transition: color 0.2s; padding: 0.3rem 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--ceylon); 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(--ceylon); }
.nav-cta {
  background: var(--ceylon) !important;
  color: var(--dark) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 2px; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: white; transition: all 0.3s; display: block; }
.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); }

/* ─── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--dark);
  min-height: 380px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding: 6rem 4rem 3.5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(143,170,82,0.1) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(143,170,82,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,170,82,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }
.page-hero-tag {
  font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ceylon); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.page-hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--ceylon); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300; color: white; line-height: 1.05;
}
.page-hero h1 em { font-style: italic; color: var(--ceylon); }
.page-hero-desc { margin-top: 1rem; font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 500px; line-height: 1.7; font-weight: 300; }

/* ─── SECTION COMMONS ─────────────────────────── */
.section { padding: 7rem 4rem; max-width: 1400px; margin: 0 auto; }
.section-tag {
  font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ceylon); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--ceylon); }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.1;
  color: var(--forest); margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--sage); }
.lead {
  font-size: 1rem; line-height: 1.8; color: var(--light-text);
  max-width: 600px; font-weight: 300;
}
.lead-white { color: rgba(255,255,255,0.5); }

/* ─── BUTTONS ─────────────────────────────────── */
.btn-primary {
  background: var(--ceylon); color: var(--dark);
  padding: 0.9rem 2.2rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: all 0.3s; border: 2px solid var(--ceylon); display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--ceylon); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 0.9rem 2.2rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 2px solid rgba(255,255,255,0.25); transition: all 0.3s; display: inline-block;
}
.btn-outline:hover { border-color: var(--ceylon); color: var(--ceylon); }
.btn-outline-dark {
  background: transparent; color: var(--forest);
  padding: 0.9rem 2.2rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 2px solid rgba(26,46,26,0.3); transition: all 0.3s; display: inline-block;
}
.btn-outline-dark:hover { border-color: var(--ceylon); color: var(--ceylon); }

/* ─── ANIMATIONS ─────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--forest);
  color: white;
  padding: 5rem 4rem 2.5rem;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; color: var(--ceylon); letter-spacing: 3px; display: block; margin-bottom: 0.3rem;
}
.footer-brand-sub { font-size: 0.65rem; letter-spacing: 2px; color: rgba(255,255,255,0.35); display: block; margin-bottom: 1.2rem; text-transform: uppercase; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }
.footer-contact { margin-top: 1.5rem; }
.footer-contact a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--ceylon); }
.footer-col h5 { font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ceylon); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.77rem; color: rgba(255,255,255,0.28); }
.footer-bottom-right { display: flex; gap: 1.5rem; align-items: center; }
.footer-bottom-right span { font-size: 0.77rem; color: rgba(255,255,255,0.28); font-style: italic; }
.site-by { font-size: 0.77rem; color: rgba(255,255,255,0.28); }
.site-by a { color: var(--ceylon); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.site-by a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { padding: 1rem 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,26,13,0.98); padding: 1.5rem;
    gap: 0.8rem; border-top: 1px solid rgba(143,170,82,0.2);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 5rem 1.5rem; }
  .page-hero { padding: 6rem 1.5rem 3rem; }
  footer { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
