/* ============================================
   DILLANOS COFFEE AUTO ESPRESSO
   Minimalist · Emerald + Cream
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-emerald-900: #064e3b;
  --color-emerald-800: #065f46;
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-cream: #f5f0e8;
  --color-cream-light: #faf7f2;
  --color-cream-dark: #e8dfd3;
  --color-text: #1a1a1a;
  --color-text-light: #4a4a4a;
  --color-text-muted: #7a7a7a;
  --color-white: #ffffff;
  --color-accent: #047857;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-cream-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background-color 0.4s var(--ease-smooth), 
              box-shadow 0.4s var(--ease-smooth),
              backdrop-filter 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

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

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

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

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

.nav.scrolled .nav-links a {
  color: var(--color-text-light);
}

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

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 8px 20px;
  border-radius: 100px;
  transition: background-color 0.3s, border-color 0.3s !important;
}

.nav-cta:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 1) !important;
}

.nav.scrolled .nav-cta {
  border-color: var(--color-emerald-700) !important;
  color: var(--color-emerald-700) !important;
}

.nav.scrolled .nav-cta:hover {
  background-color: var(--color-emerald-700) !important;
  color: var(--color-white) !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform 0.3s var(--ease-out), 
              opacity 0.3s,
              background-color 0.3s;
  transform-origin: center;
}

.nav.scrolled .nav-toggle span {
  background: var(--color-emerald-900);
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, 
    #042f26 0%, 
    #064e3b 25%, 
    #0a7c5c 50%, 
    #0d9668 70%, 
    #10a876 85%, 
    #15c48a 100%
  );
  padding: 120px 24px 80px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20, 164, 118, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 28px;
}

.hero-accent {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto 40px;
}

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

.hero-meta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.hero-meta a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.hero-meta a:hover {
  color: var(--color-white);
}

.meta-dot {
  opacity: 0.4;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-emerald-900);
  border-color: var(--color-white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-directions {
  margin-top: 32px;
  background: var(--color-emerald-900);
  color: var(--color-white);
  border-color: var(--color-emerald-900);
}

.btn-directions:hover {
  background: var(--color-emerald-800);
  border-color: var(--color-emerald-800);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-emerald-900);
  margin-bottom: 24px;
}

.text-accent {
  font-style: italic;
  color: var(--color-accent);
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 48px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--color-cream-light);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 750px;
  object-fit: cover;
  border-radius: 4px;
}

.about-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-cream-dark);
  border-radius: 4px;
  z-index: -1;
}

.about-text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-cream-dark);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-emerald-900);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-cream-dark);
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
}

.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--color-cream-dark);
}

.divider svg {
  color: var(--color-cream-dark);
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: 120px 0;
  background: var(--color-cream);
}

.menu .container {
  text-align: center;
}

.menu .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.menu-card {
  background: var(--color-cream-light);
  border-radius: 6px;
  padding: 36px 32px;
  text-align: left;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.menu-card:hover {
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.08);
  transform: translateY(-2px);
}

.menu-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-cream-dark);
}

.menu-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-emerald-900);
}

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

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

.menu-item-name {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text);
}

.menu-item-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.menu-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   SPACE
   ============================================ */
.space {
  padding: 120px 0;
  background: var(--color-cream-light);
}

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

.space-text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.space-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.space-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.space-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.space-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.space-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.space-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.space-img-row img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 120px 0;
  background: var(--color-cream);
}

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

.visit-info p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

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

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

.visit-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.visit-detail-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
}

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

.visit-detail-value a:hover {
  color: var(--color-emerald-900);
}

.visit-map {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6, 78, 59, 0.08);
}

.map-placeholder {
  width: 100%;
  height: 500px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-emerald-900);
  color: var(--color-white);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

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

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

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

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

.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

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

.footer-contact span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .space-layout,
  .visit-layout {
    gap: 48px;
  }

  .about-image img {
    height: 560px;
  }

  .space-img-main img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-emerald-900);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }

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

  .nav-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .nav-cta {
    border-color: rgba(255, 255, 255, 0.4) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 80px;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    gap: 4px;
  }

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

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 400px;
  }

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

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .space-img-main img {
    height: 300px;
  }

  .space-img-row {
    grid-template-columns: 1fr;
  }

  .space-img-row img {
    height: 240px;
  }

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

  .visit-map {
    order: -1;
  }

  .map-placeholder {
    height: 300px;
  }

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

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .about,
  .menu,
  .space,
  .visit {
    padding: 80px 0;
  }

  .menu-card {
    padding: 28px 24px;
  }

  .hero-scroll {
    display: none;
  }
}
