/* Pandit Brothers — premium bakery / eatery theme */

:root {
  --color-bg: #faf7f2;
  --color-bg-warm: #f3ebe0;
  --color-surface: #fffdf9;
  --color-ink: #1c1612;
  --color-ink-muted: #5c534a;
  --color-accent: #8b4513;
  --color-accent-dark: #5c2d0c;
  --color-gold: #c9a227;
  --color-gold-soft: rgba(201, 162, 39, 0.15);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(28, 22, 18, 0.06);
  --shadow-md: 0 12px 40px rgba(28, 22, 18, 0.1);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-accent-dark);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, 92vw);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 22, 18, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-decoration: none;
}

.logo span {
  font-weight: 700;
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-ink);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--color-ink);
  color: var(--color-surface) !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-surface) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(28, 22, 18, 0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(28, 22, 18, 0.06);
    text-align: center;
  }

  .site-nav a:last-child {
    border-bottom: none;
    margin-top: var(--space-xs);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  padding: calc(var(--header-h) + var(--space-md)) 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--color-gold-soft), transparent 55%),
    linear-gradient(165deg, var(--color-bg-warm) 0%, var(--color-bg) 45%, #ebe4d8 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c1612' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-md), 4vw, var(--space-xl));
  align-items: center;
  width: min(1120px, 92vw);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-inner .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-inner .hero-figure {
    order: 1;
    max-width: 420px;
    margin-inline: auto;
  }
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(28, 22, 18, 0.08);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  text-align: left;
}

@media (max-width: 900px) {
  .hero-content {
    max-width: none;
    margin-inline: auto;
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-sm);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  color: var(--color-ink);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-dark);
}

.hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-ink-muted);
  max-width: 34em;
  margin: 0 auto var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--color-ink);
  color: var(--color-surface);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-surface);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(28, 22, 18, 0.2);
}

.btn-ghost:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  color: var(--color-ink);
}

.section h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.section-about {
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-md), 4vw, var(--space-xl));
  align-items: center;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(28, 22, 18, 0.08);
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy .section-label {
  margin-top: 0;
}

.section-about .lead {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-ink-muted);
}

.section-about p {
  margin: 0 0 var(--space-md);
  color: var(--color-ink-muted);
}

.section-about p:last-child {
  margin-bottom: 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  margin-bottom: var(--space-sm);
}

.section-sub {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ink-muted);
  line-height: 1.6;
}

.address-block {
  font-size: 1.05rem;
  color: var(--color-ink-muted);
  margin: 0;
  line-height: 1.7;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.card {
  background: var(--color-surface);
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 22, 18, 0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-ink-muted);
}

/* Cakes split */
.section-cakes {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-text .lead {
  color: var(--color-ink-muted);
  margin-bottom: var(--space-md);
}

.split-text p {
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-md);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.split-visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 22, 18, 0.08);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .split-visual {
    order: -1;
  }
}

/* Gallery */
.section-gallery {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.65rem, 2vw, 1rem);
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-tile {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  background: var(--color-ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.gallery-tile:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.gallery-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.25s var(--ease);
}

.gallery-tile:hover img {
  opacity: 1;
}

.gallery-album {
  margin: var(--space-lg) 0 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.gallery-album-hint {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  opacity: 0.95;
}

.gallery-path {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  color: var(--color-ink);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--space-md);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.82);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-surface);
  background: rgba(28, 22, 18, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(28, 22, 18, 0.75);
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

/* Map */
.section-visit {
  background: var(--color-surface);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 22, 18, 0.08);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.map-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  margin: var(--space-md) 0 0;
}

/* Contact */
.section-contact {
  padding-bottom: calc(var(--space-xl) + var(--space-md));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--color-ink);
  color: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-card .contact-hint,
.contact-card .contact-phone {
  color: var(--color-surface);
}

.contact-phone {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-xs);
}

.contact-phone:hover {
  color: var(--color-gold);
}

.contact-hint {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0 0 var(--space-md);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-card .btn-primary {
  background: var(--color-surface);
  color: var(--color-ink);
}

.contact-card .btn-primary:hover {
  background: var(--color-gold);
  color: var(--color-ink);
}

.contact-card .btn-ghost {
  border-color: rgba(255, 253, 249, 0.35);
  color: var(--color-surface);
}

.contact-card .btn-ghost:hover {
  background: rgba(255, 253, 249, 0.1);
  border-color: var(--color-surface);
  color: var(--color-surface);
}

/* Footer */
.site-footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(28, 22, 18, 0.08);
  background: var(--color-bg-warm);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-brand p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

.footer-logo {
  font-size: 1.35rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  max-width: 36rem;
  text-align: right;
}

.footer-photo-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .footer-copy {
    text-align: left;
  }
}
