@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --cream: #f5eee5;
  --sand: #dfcbb8;
  --brown: #24150f;
  --wine: #6e1f18;
  --clay: #b56b48;
  --white: #fffaf2;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

.loader {
  position: fixed;
  inset: 0;
  background: var(--brown);
  color: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8%;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
}

.loader.hide {
  transform: translateY(-100%);
}

.loader p {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 20px;
}

.loader h2 {
  font-family: "Italiana", serif;
  font-size: 110px;
  line-height: 0.9;
  font-weight: 400;
}

.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--wine);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.top-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px 6%;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  mix-blend-mode: difference;
}

.top-header p,
.menu-btn {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.menu-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: 460px;
  background: rgba(245, 238, 229, 0.86);
  backdrop-filter: blur(26px);
  z-index: 50;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}

.menu-panel.active {
  transform: translateX(0);
}

.menu-panel a,
.close-btn {
  font-family: "Italiana", serif;
  font-size: 48px;
  color: var(--brown);
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-panel a:hover,
.close-btn:hover {
  color: var(--wine);
  transform: translateX(12px);
}

.close-btn {
  margin-bottom: 30px;
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-img {
  height: 112%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.08) contrast(1.06);
  animation: heroBreath 14s ease-in-out infinite;
}

@keyframes heroBreath {
  0%, 100% {
    transform: scale(1.05);
  }

  50% {
    transform: scale(1.1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 240, 220, 0.25), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(255, 200, 160, 0.15), transparent 40%),
    linear-gradient(to bottom, rgba(36,21,15,0.1), rgba(36,21,15,0.65));
}

.hero-text {
  position: absolute;
  left: 7%;
  bottom: 9%;
  color: var(--white);
  max-width: 980px;
  z-index: 4;
}

.eyebrow {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  margin-bottom: 18px;
}

.hero .eyebrow {
  color: var(--white);
}

.split-title span {
  display: block;
  overflow: hidden;
  animation: titleSlide 1.2s cubic-bezier(.16,1,.3,1) forwards;
}

.split-title span:nth-child(2) {
  animation-delay: 0.18s;
}

@keyframes titleSlide {
  from {
    opacity: 0;
    transform: translateY(90px) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-text h1 {
  font-family: "Italiana", serif;
  font-size: 150px;
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -4px;
  margin-bottom: 30px;
}

.hero-copy {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 34px;
}

.main-link {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 250, 242, 0.8);
  padding: 15px 28px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.main-link:hover {
  background: var(--white);
  color: var(--brown);
  transform: translateY(-4px);
}

.animate-in {
  opacity: 0;
  transform: translateY(34px);
  animation: fadeUp 1.1s cubic-bezier(.16,1,.3,1) forwards;
}

.delay-2 {
  animation-delay: 0.35s;
}

.delay-3 {
  animation-delay: 0.55s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-hint {
  position: absolute;
  right: 6%;
  bottom: 8%;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 4;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--white);
  animation: lineMove 1.6s ease-in-out infinite;
}

@keyframes lineMove {
  0%, 100% {
    transform: scaleY(0.4);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

.concept,
.destinations,
.food-guide,
.food-gallery,
.month-guide,
.planner,
.result-section,
.stay,
footer {
  padding: 120px 8%;
}

h2 {
  font-family: "Italiana", serif;
  font-size: 76px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -2px;
  max-width: 980px;
  margin-bottom: 34px;
}

h3 {
  font-family: "Italiana", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 760px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.reveal {
  opacity: 0;
  transform: translateY(54px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.16,1,.3,1);
}

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

.destinations {
  background: var(--sand);
}

.section-top {
  margin-bottom: 60px;
}

.destination-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  animation: softDrift 12s ease-in-out infinite alternate;
}

@keyframes softDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-18px);
  }
}

.place-card {
  position: relative;
  height: 560px;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}

.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(36, 21, 15, 0.78));
  z-index: 1;
}

.place-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25), transparent 80%);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.place-card:hover::before {
  opacity: 1;
  animation: sweep 0.8s ease;
}

@keyframes sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.place-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.8s ease;
}

.place-card span,
.place-card h3,
.place-card p {
  position: relative;
  z-index: 3;
}

.place-card span {
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.place-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.place-card:hover {
  transform: translateY(-18px) scale(1.02);
  z-index: 3;
}

.place-card:hover img {
  transform: scale(1.12);
  filter: brightness(0.72);
}

.place-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.food-guide {
  background: #fff7ee;
  position: relative;
  overflow: hidden;
}

.food-guide::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(181, 107, 72, 0.22), transparent 68%);
  border-radius: 50%;
}

.food-intro {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-bottom: 70px;
}

.food-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 70px;
}

.food-feature {
  min-height: 340px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(36, 21, 15, 0.12);
  box-shadow: 0 30px 80px rgba(36, 21, 15, 0.08);
  transition: transform 0.55s cubic-bezier(.16,1,.3,1), box-shadow 0.55s ease;
}

.food-feature:hover {
  transform: translateY(-18px);
  box-shadow: 0 40px 90px rgba(36, 21, 15, 0.14);
}

.food-feature span {
  display: inline-block;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 34px;
}

.food-feature h3 {
  font-size: 46px;
  margin-bottom: 22px;
}

.food-feature p {
  font-size: 15px;
  line-height: 1.8;
}

.city-food-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.city-food-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(36, 21, 15, 0.18);
}

.city-food-card:last-child {
  border-bottom: 1px solid rgba(36, 21, 15, 0.18);
}

.city-food-card h3 {
  color: var(--wine);
  font-size: 38px;
}

.city-food-card p {
  max-width: 860px;
}

.food-gallery {
  background: var(--cream);
}

.food-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}

.food-photo-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(36, 21, 15, 0.12);
}

.food-photo-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(1.05);
  transition: transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.8s ease;
}

.food-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(36,21,15,0.82));
  z-index: 1;
}

.food-photo-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  z-index: 2;
}

.food-photo-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #f3d2be;
}

.food-photo-card h3 {
  font-size: 48px;
  margin-bottom: 14px;
  color: var(--white);
}

.food-photo-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
}

.food-photo-card:hover img {
  transform: scale(1.12);
  filter: brightness(0.62) saturate(1.1);
}

.big-food-card {
  grid-column: span 2;
}

.month-guide {
  background: #fff7ee;
}

.month-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.month-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(36,21,15,0.12);
  box-shadow: 0 24px 70px rgba(36,21,15,0.06);
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), box-shadow 0.45s ease;
}

.month-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 80px rgba(36,21,15,0.12);
}

.month-card span {
  display: block;
  color: var(--wine);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.month-card h3 {
  font-size: 34px;
  color: var(--wine);
  margin-bottom: 16px;
}

.month-card p {
  font-size: 15px;
  line-height: 1.75;
}

.planner {
  background: var(--brown);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.planner .eyebrow {
  color: #d8a78d;
}

.planner-box {
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.24);
  backdrop-filter: blur(20px);
  padding: 44px;
  border-radius: 26px;
  animation: softBreath 5s ease-in-out infinite;
}

@keyframes softBreath {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 250, 242, 0);
  }

  50% {
    box-shadow: 0 0 55px rgba(255, 250, 242, 0.12);
  }
}

.field {
  margin-bottom: 30px;
}

.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #e6c8b8;
}

.multi-select {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.multi-select button {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.multi-select button:hover {
  transform: translateY(-3px);
  border-color: var(--white);
}

.multi-select button.active {
  background: var(--white);
  color: var(--brown);
  transform: scale(1.05);
}

select,
input {
  width: 100%;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 250, 242, 0.42);
  padding: 18px;
  font-size: 16px;
  border-radius: 999px;
  outline: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

input::placeholder {
  color: rgba(255, 250, 242, 0.55);
}

option {
  color: var(--brown);
}

select:focus,
input:focus {
  transform: scale(1.02);
  border-color: var(--white);
}

#generateBtn {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

#generateBtn:hover {
  transform: translateY(-4px);
  background: #ead4bd;
}

#generateBtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
}

#generateBtn:hover::after {
  animation: shine 0.8s ease;
}

@keyframes shine {
  to {
    left: 140%;
  }
}

.result-section {
  display: none;
  background: var(--cream);
}

.result-section.active {
  display: block;
  animation: softAppear 0.8s ease forwards;
}

@keyframes softAppear {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trip-intro {
  background: var(--white);
  padding: 40px;
  border-radius: 28px;
  margin-bottom: 34px;
  box-shadow: 0 30px 70px rgba(36, 21, 15, 0.08);
}

.trip-intro p {
  margin-top: 14px;
}

.day-card {
  background: var(--white);
  padding: 42px;
  border-radius: 28px;
  margin-bottom: 28px;
  box-shadow: 0 30px 70px rgba(36, 21, 15, 0.08);
  transform-origin: top center;
  opacity: 0;
  animation: unfoldCard 0.9s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes unfoldCard {
  from {
    opacity: 0;
    transform: translateY(50px) scaleY(0.92);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

.day-label {
  color: var(--wine);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  margin-bottom: 14px;
}

.day-card h3 {
  color: var(--wine);
  margin-bottom: 18px;
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.day-meta span {
  background: var(--sand);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.time-block {
  border-top: 1px solid rgba(36, 21, 15, 0.18);
  padding-top: 22px;
  margin-top: 22px;
}

.time-block h4,
.food-block h4 {
  color: var(--wine);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.food-block {
  margin-top: 18px;
  padding: 22px;
  border-radius: 20px;
  background: #f1e2d3;
  border-left: 5px solid var(--clay);
}

.food-block p {
  font-size: 16px;
}

.food-block.sweet {
  background: #ead8c8;
}

.slow-note,
.budget-note,
.extra-note {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
}

.slow-note {
  background: var(--sand);
  font-style: italic;
}

.budget-note {
  background: #f0e4d9;
}

.extra-note {
  background: #ead8c8;
}

.stay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  background: var(--sand);
}

.stay img {
  height: 650px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(36, 21, 15, 0.16);
}

footer {
  background: var(--brown);
  color: var(--white);
}

footer .eyebrow {
  color: #d8a78d;
}

footer h2 {
  font-size: 94px;
}

@media (max-width: 950px) {
  .cursor-dot {
    display: none;
  }

  .loader h2 {
    font-size: 70px;
  }

  .hero-text h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 48px;
  }

  .two-col,
  .destination-row,
  .food-layout,
  .food-photo-grid,
  .month-grid,
  .planner,
  .stay {
    grid-template-columns: 1fr;
  }

  .destination-row {
    animation: none;
  }

  .place-card {
    height: 420px;
  }

  .big-food-card {
    grid-column: span 1;
  }

  .food-photo-card {
    min-height: 420px;
  }

  .city-food-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .menu-panel {
    width: 100%;
  }

  .concept,
  .destinations,
  .food-guide,
  .food-gallery,
  .month-guide,
  .planner,
  .result-section,
  .stay,
  footer {
    padding: 82px 6%;
  }
}