/* ===== CSS Variables ===== */
:root {
  --brown-dark: #2C1810;
  --brown-medium: #4A3228;
  --brown-light: #6B4C3B;
  --gold: #C9A962;
  --gold-light: #D4BC7A;
  --gold-dark: #A08040;
  --cream: #FAF8F5;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --text-dark: #3E2723;
  --text-muted: #7A6A5A;
  --shadow: rgba(44, 24, 16, 0.12);
  --shadow-strong: rgba(44, 24, 16, 0.25);
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('main.png') center top / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 5, 0.55) 0%,
    rgba(20, 10, 5, 0.35) 50%,
    rgba(20, 10, 5, 0.65) 100%
  );
  z-index: 1;
}

/* ===== Navbar ===== */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
}

.nav-logo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px var(--shadow-strong);
  transition: transform var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  transition: background var(--transition);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===== Hero Content ===== */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-logo {
  width: min(280px, 60vw);
  height: min(280px, 60vw);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(201, 169, 98, 0.4),
    0 0 0 8px rgba(201, 169, 98, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out;
}

.hero-tagline {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* ===== Hero Wave ===== */
.hero-wave {
  position: relative;
  z-index: 10;
  margin-top: auto;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ===== Menu Section ===== */
.menu-section {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 1.25rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-bean {
  font-size: 1.25rem;
  filter: grayscale(0.3);
}

/* ===== Menu Grid ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.menu-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(201, 169, 98, 0.1);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.menu-card-wide {
  grid-column: span 2;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--brown-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.menu-list li:last-child {
  border-bottom: none;
}

.item-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-medium);
  white-space: nowrap;
}

.item-price::after {
  content: ' €';
  font-weight: 400;
  font-size: 0.75rem;
}

.menu-list-detailed .item-info {
  flex: 1;
}

.item-desc {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===== Featured Sections ===== */
.featured-section {
  margin-bottom: 4rem;
}

.featured-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.featured-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.featured-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(201, 169, 98, 0.1);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-strong);
}

.featured-item-highlight {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, #FFF9F0 100%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
}

.featured-item h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.featured-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.featured-price {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.featured-price::after {
  content: ' €';
  font-size: 1rem;
}

/* ===== Info Section ===== */
.info-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
}

.info-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.info-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== Breakfast Section ===== */
.breakfast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.breakfast-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(201, 169, 98, 0.1);
  transition: transform var(--transition);
}

.breakfast-item:hover {
  transform: translateY(-4px);
}

.breakfast-item-highlight {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, #FFF9F0 100%);
}

.breakfast-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breakfast-item h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.breakfast-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.breakfast-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Allergen Note ===== */
.allergen-note {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 2rem 1rem;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  margin-top: 2rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-bean {
  margin-bottom: 1rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bean svg {
  width: 24px;
  height: 36px;
  margin: 0 auto;
}

.footer-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card-wide {
    grid-column: span 1;
  }

  .featured-grid,
  .breakfast-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: rgba(44, 24, 16, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(44, 24, 16, 0.97);
    backdrop-filter: blur(12px);
    padding: 2rem;
    transition: right var(--transition);
    z-index: 100;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1rem;
  }

  .nav-logo img {
    width: 52px;
    height: 52px;
  }

  .hero-content {
    display: none;
  }

  .hero-bg,
  .hero-overlay,
  .hero-wave {
    display: none;
  }

  .menu-section {
    padding: 5.5rem 0 4rem;
  }

  .menu-card {
    padding: 1.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .menu-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .menu-list-detailed li {
    flex-direction: row;
  }

  .item-price {
    align-self: flex-end;
  }
}
