/* ============================================
   Dee-Dee's 2 — Café & Bar
   Bold Editorial Style | Emerald + Cream
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --cream-50: #fff7ed;
  --cream-100: #fff1e0;
  --cream-200: #ffe4c2;
  --cream-300: #f5deb3;
  --ink-900: #1a1a1a;
  --ink-700: #3d3d3d;
  --ink-500: #6b6b6b;
  --ink-300: #9e9e9e;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--ink-900);
  background-color: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-900);
  margin-bottom: 24px;
}

.section-headline em {
  font-style: italic;
  color: var(--emerald-700);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald-800);
  color: var(--cream-50);
  border-color: var(--emerald-800);
}

.btn--primary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 79, 59, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--cream-50);
  border-color: rgba(255, 247, 237, 0.5);
}

.btn--ghost:hover {
  background: var(--cream-50);
  color: var(--emerald-900);
  border-color: var(--cream-50);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 247, 237, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--cream-50);
  transition: var(--transition);
}

.nav.scrolled .nav-logo {
  color: var(--ink-900);
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--emerald-700);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream-50);
}

.nav-logo-text {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 247, 237, 0.8);
  transition: var(--transition);
  position: relative;
}

.nav.scrolled .nav-link {
  color: var(--ink-700);
}

.nav-link:hover {
  color: var(--cream-50);
}

.nav.scrolled .nav-link:hover {
  color: var(--emerald-700);
}

.nav-link--cta {
  padding: 8px 20px;
  background: var(--emerald-700);
  color: var(--cream-50) !important;
  border-radius: 50px;
}

.nav-link--cta:hover {
  background: var(--emerald-600);
  color: var(--cream-50) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream-50);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.scrolled .nav-toggle-bar {
  background: var(--ink-900);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 30, 22, 0.55) 0%,
    rgba(6, 30, 22, 0.7) 50%,
    rgba(6, 30, 22, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-200);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream-50);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--cream-200);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 247, 237, 0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 247, 237, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--cream-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-content {
  padding: 24px 0;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-500);
  letter-spacing: 0.05em;
}

/* --- Features --- */
.features {
  padding: 120px 0;
  background: var(--emerald-900);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.features-header .section-eyebrow {
  color: var(--cream-200);
}

.features-header .section-headline {
  color: var(--cream-50);
}

.features-header .section-headline em {
  color: var(--cream-200);
}

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

.feature-card {
  background: rgba(255, 247, 237, 0.06);
  border: 1px solid rgba(255, 247, 237, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255, 247, 237, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-700);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--cream-50);
}

.feature-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream-50);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 247, 237, 0.65);
}

/* --- Menu --- */
.menu {
  padding: 120px 0;
  background: var(--cream-50);
}

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.menu-text {
  position: sticky;
  top: 120px;
}

.menu-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 32px;
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-cat {
  padding: 32px;
  background: var(--cream-100);
  border-radius: var(--radius-lg);
}

.menu-cat-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emerald-800);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--emerald-700);
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.menu-item-desc {
  font-size: 0.8rem;
  color: var(--ink-500);
}

/* --- Gallery --- */
.gallery {
  padding: 120px 0;
  background: var(--cream-100);
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  aspect-ratio: 4/3;
}

.gallery-item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  aspect-ratio: 5/4;
}

.gallery-item:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2 / 3;
  aspect-ratio: 5/4;
}

.gallery-item:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2 / 3;
  aspect-ratio: 5/4;
}

.gallery-item--wide {
  grid-column: 9 / 13;
  grid-row: 2 / 3;
  aspect-ratio: 3/2;
}

/* --- Visit --- */
.visit {
  padding: 120px 0;
  background: var(--cream-50);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.visit-info {
  padding: 24px 0;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.visit-detail {
  display: flex;
  gap: 16px;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-100, #d1fae5);
  border-radius: 10px;
  color: var(--emerald-700);
}

.visit-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-700);
}

.visit-detail a {
  color: var(--emerald-700);
  transition: var(--transition);
}

.visit-detail a:hover {
  color: var(--emerald-600);
  text-decoration: underline;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--emerald-900);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-eyebrow {
  color: var(--cream-200);
}

.contact-text .section-headline {
  color: var(--cream-50);
}

.contact-text .section-headline em {
  color: var(--cream-200);
}

.contact-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 247, 237, 0.7);
}

.contact-form-wrapper {
  background: rgba(255, 247, 237, 0.06);
  border: 1px solid rgba(255, 247, 237, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-200);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 247, 237, 0.08);
  border: 1px solid rgba(255, 247, 237, 0.15);
  border-radius: var(--radius);
  color: var(--cream-50);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 247, 237, 0.35);
}

.form-input:focus {
  border-color: var(--emerald-500, #34d399);
  background: rgba(255, 247, 237, 0.12);
}

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

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius);
  color: var(--cream-200);
  font-size: 0.9rem;
  text-align: center;
}

.form-success.visible {
  display: block;
}

/* --- Footer --- */
.footer {
  background: #041a12;
  padding: 64px 0 0;
  color: var(--cream-50);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 247, 237, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--emerald-700);
  border-radius: 12px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream-50);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream-200);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 247, 237, 0.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cream-50);
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255, 247, 237, 0.55);
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255, 247, 237, 0.55);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--cream-50);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 247, 237, 0.3);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .menu-text {
    position: static;
  }

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

  .gallery-item--large {
    grid-column: 1 / 7;
  }

  .gallery-item:nth-child(2) {
    grid-column: 7 / 13;
  }

  .gallery-item:nth-child(3) {
    grid-column: 1 / 5;
  }

  .gallery-item:nth-child(4) {
    grid-column: 5 / 9;
  }

  .gallery-item--wide {
    grid-column: 9 / 13;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 247, 237, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    color: var(--ink-700) !important;
    font-size: 1rem;
  }

  .nav-link:hover {
    color: var(--emerald-700) !important;
  }

  .nav-link--cta {
    background: var(--emerald-700);
    color: var(--cream-50) !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    aspect-ratio: 4/3;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .menu-categories {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item,
  .gallery-item--large,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/3;
  }

  .visit-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visit-map {
    min-height: 300px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}
