/* ===================================================================
   The Cone Studio — Light Luxury Stylesheet
   Palette, typography, layout, components, animations, responsive
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg-ivory: #FFFDF5;
  --bg-champagne: #FDF3DC;
  --text-brown: #2C1A0E;
  --gold: #C9A84C;
  --gold-dark: #B08F35;
  --border-gold: #E8D5A3;
  --white: #FFFFFF;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(44, 26, 14, 0.07);
  --shadow-card: 0 12px 34px rgba(44, 26, 14, 0.10);
  --shadow-glow: 0 14px 40px rgba(201, 168, 76, 0.35);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-ivory);
  color: var(--text-brown);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-brown);
}

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

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

ul {
  list-style: none;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.bg-ivory { background-color: var(--bg-ivory); }
.bg-champagne { background-color: var(--bg-champagne); }

/* Section heading with gold underline */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}

.section-head p {
  max-width: 640px;
  margin: 0 auto;
  color: #6b5840;
}

.gold-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
}

.gold-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--border-gold), var(--gold), var(--border-gold));
}

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border-gold);
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold-dark);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  transition: padding var(--transition), box-shadow var(--transition),
              background-color var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  transition: padding var(--transition);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: font-size var(--transition);
}

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-brown);
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 11px 24px;
}

/* Shrink-on-scroll state */
.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(44, 26, 14, 0.08);
  background: rgba(255, 253, 245, 0.97);
}

.navbar.scrolled .nav-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar.scrolled .logo {
  font-size: 1.35rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-brown);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===================================================================
   HERO (Home)
   =================================================================== */
.hero {
  position: relative;
  background-color: var(--bg-ivory);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0) 70%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 22px 0;
}

.hero-content p {
  font-size: 1.1rem;
  color: #6b5840;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  background: var(--bg-champagne);
}

/* ===================================================================
   TRUST BADGES STRIP
   =================================================================== */
.trust-strip {
  padding: 54px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-item .trust-icon {
  font-size: 1.9rem;
}

.trust-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-brown);
}

.trust-divider {
  width: 1px;
}

/* ===================================================================
   PRODUCT / CARD GRID
   =================================================================== */
.card-grid {
  display: grid;
  gap: 30px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

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

.card-img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
  background-color: #FDF3DC;
  padding: 16px;
}

.card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.25rem;
}

.card-body p {
  color: #6b5840;
  font-size: 0.94rem;
  flex: 1;
}

.card-link {
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.card-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.card-link:hover {
  color: var(--gold);
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* Badges & tags inside product cards */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
}

.flavor-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dark);
}

.brand-tagline {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}

/* ---------- Showcase / highlighted feature box (horizontal) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 36px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.showcase:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

/* Gold-highlighted variant */
.showcase--gold {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-glow);
}

.showcase-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  background-color: #FDF3DC;
  padding: 20px;
}

.showcase-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 42px 40px;
}

.showcase-body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.showcase-body p {
  color: #6b5840;
}

@media (max-width: 760px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-img {
    min-height: 240px;
  }
  .showcase-body {
    padding: 30px 26px;
  }
}

/* ===================================================================
   ABOUT SNAPSHOT
   =================================================================== */
.about-snapshot .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin: 18px 0 20px;
}

.about-text p {
  color: #6b5840;
  margin-bottom: 28px;
  max-width: 520px;
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  background: var(--bg-champagne);
}

/* ===================================================================
   CONTACT STRIP (gold)
   =================================================================== */
.contact-strip {
  background-color: var(--gold);
  color: var(--white);
  text-align: center;
}

.contact-strip h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 14px;
}

.contact-strip .strip-sub {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
}

.contact-methods a {
  color: var(--white);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

.contact-methods a:hover {
  border-color: var(--white);
}

.contact-methods .ic {
  font-size: 1.2rem;
}

/* ===================================================================
   PAGE HERO (inner pages — champagne)
   =================================================================== */
.page-hero {
  background-color: var(--bg-champagne);
  text-align: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--border-gold);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: #6b5840;
  max-width: 600px;
  margin: 0 auto;
}

/* Sub-section heading inside product sections */
.subsection-head {
  margin-bottom: 40px;
}

.subsection-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  display: inline-block;
  padding-bottom: 14px;
  position: relative;
}

.subsection-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.subsection-head p {
  color: #6b5840;
  margin-top: 10px;
  max-width: 620px;
}

/* ===================================================================
   WHY CHOOSE US — icon cards (About page)
   =================================================================== */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--gold);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border-gold);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: #6b5840;
  font-size: 0.94rem;
}

/* Our Story block */
.story-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.story-block h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 24px;
}

.story-block p {
  color: #6b5840;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.9rem;
  margin-bottom: 28px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-item .info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border-gold);
}

.info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-item a,
.info-item span {
  display: block;
  color: #6b5840;
  font-size: 0.96rem;
  transition: color var(--transition);
}

.info-item a:hover {
  color: var(--gold-dark);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-brown);
  padding: 13px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  background: var(--bg-ivory);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b3a487;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

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

.contact-form-wrap .btn {
  width: 100%;
}

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gold-dark);
  text-align: center;
  display: none;
}

.form-note.show {
  display: block;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background-color: var(--bg-champagne);
  border-top: 1px solid var(--border-gold);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: inline-block;
}

.footer-brand p {
  color: #6b5840;
  font-size: 0.94rem;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-brown);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: #6b5840;
  font-size: 0.94rem;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-dark);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  margin-top: 44px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.86rem;
  color: #8a7659;
}

/* ===================================================================
   SCROLL FADE-IN ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper */
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  section { padding: 72px 0; }

  /* Mobile nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: var(--bg-ivory);
    border-left: 1px solid var(--border-gold);
    box-shadow: -10px 0 40px rgba(44, 26, 14, 0.12);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1100;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    z-index: 1200;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; max-width: 420px; margin: 0 auto; }

  /* About */
  .about-snapshot .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .about-text p { margin-left: auto; margin-right: auto; }
  .about-image { max-width: 460px; margin: 0 auto; }

  /* Contact page */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-links,
  .footer-contact { align-items: center; }
  .contact-methods { flex-direction: column; gap: 16px; }
  .nav-inner { padding: 16px 18px; }
}
