/* ==========================================================================
   Cooking with us — Official Editorial Landing Page Stylesheet
   Brand Aesthetic: Premium Bengali Editorial, Nostalgic, Warm, Minimal
   ========================================================================== */

/* --- CSS CUSTOM PROPERTIES (DESIGN SYSTEM) --- */
:root {
  /* Color Palette */
  --bg-primary: #FAF7F2;          /* Warm Ivory / Off-white */
  --bg-secondary: #F3ECE1;        /* Muted Earthy Warm Sand */
  --bg-surface: #FFFFFF;          /* Pure Card Contrast */
  --bg-surface-tint: #FAF5ED;     /* Warm Tinted Surface */

  --color-maroon: #7D1924;        /* Authentic Bengali Deep Maroon (Alta/Sindoor) */
  --color-maroon-dark: #63101A;   /* Deep Maroon Hover */
  --color-maroon-soft: #F5EAEB;   /* Soft Maroon Wash */
  --color-maroon-border: rgba(125, 25, 36, 0.18);

  --color-gold: #C29342;          /* Subtle Warm Golden Tone (Vintage Brass/Kansa) */
  --color-gold-dark: #A1762B;     /* Deep Gold */
  --color-gold-soft: rgba(194, 147, 66, 0.14);

  --color-charcoal: #1F1D1B;      /* Elegant Charcoal Typography */
  --color-charcoal-muted: #565049;/* Secondary Editorial Charcoal */
  --color-charcoal-subtle: #857D74;/* Light Metadata Charcoal */

  --border-subtle: #E6DDD0;       /* Muted Earthy Beige Border */
  --border-maroon: rgba(125, 25, 36, 0.22);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Garamond, 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Responsive Typography */
  --fs-hero-title: clamp(2.5rem, 1.8rem + 2.8vw, 4.25rem);
  --fs-hero-tagline: clamp(1.15rem, 0.98rem + 0.5vw, 1.38rem);
  --fs-section-title: clamp(1.85rem, 1.45rem + 1.8vw, 2.75rem);
  --fs-body-lead: clamp(1.18rem, 1.05rem + 0.45vw, 1.35rem);
  --fs-body-text: clamp(1.02rem, 0.94rem + 0.35vw, 1.15rem);
  --fs-button: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --fs-caption: clamp(0.8rem, 0.75rem + 0.15vw, 0.88rem);

  /* Spacing */
  --container-max-w: 1180px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 18px -4px rgba(40, 25, 15, 0.05);
  --shadow-cinematic: 0 24px 50px -12px rgba(45, 25, 20, 0.13), 0 8px 24px -6px rgba(45, 25, 20, 0.07);
  --shadow-button: 0 8px 22px -4px rgba(125, 25, 36, 0.30);
  --shadow-button-hover: 0 12px 28px -4px rgba(125, 25, 36, 0.42);

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-delicate: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CSS RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--color-charcoal);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-text);
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--color-charcoal);
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle Artisanal Paper Texture Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Subtle Warm Ambient Top Glow */
body::after {
  content: "";
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 400px;
  background: radial-gradient(circle, rgba(194, 147, 66, 0.07) 0%, rgba(125, 25, 36, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Accessibility: Focus Styles */
:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 3px;
}

/* Typography Base */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-charcoal);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p {
  color: var(--color-charcoal-muted);
}

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

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

/* --- LAYOUT UTILITIES --- */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* ==========================================================================
   1. HEADER SECTION (Brand Title, Single-Line Tagline & Top-Right Button)
   ========================================================================== */
.site-header {
  padding-top: clamp(2.5rem, 2rem + 2.5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.header-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Prominent Main Heading */
.brand-title {
  font-family: var(--font-serif);
  font-size: var(--fs-hero-title);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

/* Tagline – Strictly Single Line on Desktop */
.brand-tagline {
  font-family: var(--font-serif);
  font-size: var(--fs-hero-tagline);
  font-style: italic;
  font-weight: 400;
  color: var(--color-charcoal-muted);
  line-height: 1.4;
  white-space: nowrap;
}

.brand-tagline .tagline-highlight {
  color: #A37B3C; /* Soft, elegant warm light brown tone */
  font-style: italic;
}

/* Top-Right "Get in Touch →" Action Button */
.header-action-block {
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  background-color: var(--color-maroon);
  color: #FAF7F2;
  font-family: var(--font-sans);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-contact .btn-label {
  display: inline-block;
}

.btn-contact .btn-arrow {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  transition: transform var(--transition-smooth);
}

.btn-contact:hover {
  background-color: var(--color-maroon-dark);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-contact:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-contact:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px -2px rgba(125, 25, 36, 0.35);
}

/* ==========================================================================
   2. MAIN CONTENT – TWO-COLUMN EDITORIAL LAYOUT
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.98fr;
  gap: clamp(2.5rem, 4.5vw, 5.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 3.5vw, 5.5rem);
}

/* LEFT COLUMN – ABOUT */
.about-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-subheading {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A1918; /* Slightly bolder and darker, closer to black */
  margin-bottom: clamp(1.2rem, 1rem + 0.6vw, 1.8rem);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 0.95rem + 0.5vw, 1.6rem);
}

.about-p {
  font-family: var(--font-serif);
  font-size: var(--fs-body-lead);
  line-height: 1.72;
  color: var(--color-charcoal);
  max-width: 580px;
}

/* RIGHT COLUMN – EXISTING HERO IMAGE */
.visual-column {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-cinematic);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10.8; /* Refined aspect ratio subtly cropping left and right edges */
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -12px rgba(45, 25, 20, 0.16);
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-character-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* Keeps Thakuma & Dadu centered, crisp and beautifully framed */
  display: block;
  border-radius: var(--radius-lg);
}

/* Subtle Cinematic Lighting Overlay */
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 40px rgba(70, 35, 20, 0.06);
}

/* ==========================================================================
   3. SOCIAL MEDIA ROW (Icons + Usernames, Fully Clickable)
   ========================================================================== */
.social-section {
  padding-bottom: clamp(3rem, 3.5vw, 5rem);
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 4rem);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-col {
  display: inline-flex;
}

/* Interactive link wrapping both icon and username */
.social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.social-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  color: var(--color-charcoal);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.social-icon-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.social-username {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-charcoal-muted);
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

/* Hover Effects on Social Item */
.social-item:hover .social-icon-box {
  background-color: var(--color-maroon);
  color: #FAF7F2;
  border-color: var(--color-maroon);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(125, 25, 36, 0.28);
}

.social-item:hover .social-icon-box svg {
  transform: scale(1.08);
}

.social-item:hover .social-username {
  color: var(--color-maroon);
  font-weight: 600;
}

/* Unlinked State for Facebook (URL pending) */
.social-item.social-unlinked {
  cursor: default;
  opacity: 0.85;
}

.social-item.social-unlinked:hover .social-icon-box {
  background-color: var(--bg-surface);
  color: var(--color-charcoal);
  border-color: var(--border-subtle);
  transform: none;
  box-shadow: var(--shadow-subtle);
}

.social-item.social-unlinked:hover .social-icon-box svg {
  transform: none;
}

.social-item.social-unlinked:hover .social-username {
  color: var(--color-charcoal-muted);
  font-weight: 500;
}

/* ==========================================================================
   4. MINIMAL FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  padding-block: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  background-color: transparent;
}

.footer-text {
  font-size: var(--fs-caption);
  color: var(--color-charcoal-subtle);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   5. REFINED SUBTLE ANIMATIONS (PERFORMANCE & ACCESSIBILITY READY)
   ========================================================================== */
@keyframes editorialReveal {
  from {
    opacity: 0.2;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: editorialReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.editorial-grid {
  animation: editorialReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.social-section {
  animation: editorialReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-visual-card:hover,
  .btn-contact:hover,
  .social-item:hover .social-icon-box {
    transform: none !important;
  }
}

/* ==========================================================================
   6. RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet & Smaller Screens */
@media (max-width: 960px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-column {
    order: 1;
  }

  .visual-column {
    order: 2;
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .about-p {
    max-width: 100%;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .header-brand-block {
    align-items: center;
  }

  .brand-tagline {
    white-space: normal;
    text-wrap: balance;
  }

  .btn-contact {
    padding: 0.8rem 1.6rem;
  }

  .about-column {
    text-align: center;
  }

  .about-copy {
    align-items: center;
  }

  .about-p {
    text-align: center;
  }

  .hero-visual-card {
    border-radius: 14px;
  }

  .hero-character-image {
    border-radius: 14px;
  }

  .social-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .social-item {
    width: 100%;
    max-width: 280px;
    justify-content: flex-start;
  }
}
