/* =============================================
   YASÉ Restaurant — Main Stylesheet
   Brand: Cream ivory, olive green, burnt sienna
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream:       #F5F0E8;
  --cream-dark:  #EDE5D4;
  --ivory:       #FDFAF4;
  --olive:       #3D4228;
  --olive-mid:   #5A6130;
  --olive-light: #8A9456;
  --sienna:      #6B2516;
  --sienna-mid:  #8B3A28;
  --gold:        #C4A35A;
  --gold-light:  #D4B97A;
  --charcoal:    #1E1E1A;
  --text-dark:   #2A2A22;
  --text-mid:    #5A5A4A;
  --text-light:  #8A8A7A;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm:  0 2px 8px rgba(30,30,26,.08);
  --shadow-md:  0 8px 32px rgba(30,30,26,.12);
  --shadow-lg:  0 20px 60px rgba(30,30,26,.18);

  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

.display-xl { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 300; letter-spacing: -.02em; }
.display-lg { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300;}
.display-md { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.display-sm { font-size: clamp(1.3rem, 2vw, 1.8rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--olive-mid);
  color: var(--cream);
}
.btn-primary:hover { background: var(--sienna-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,.4);
}
.btn-outline:hover { background: rgba(245,240,232,.1); border-color: var(--cream); }

.btn-dark {
  background: var(--olive);
  color: var(--cream);
}
.btn-dark:hover { background: var(--olive-mid); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background-image: url('../images/texture-brown.jpeg');
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: .8rem 0;
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled .nav-logo { filter: none; }
.navbar.scrolled .nav-link { color: var(--text-light); }
.navbar.scrolled .nav-link:hover { color: var(--cream-dark); }

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

.nav-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-reserve .btn { padding: .6rem 1.4rem; font-size: .7rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/background_hotel.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,20,10,.75) 0%, rgba(61,42,24,.55) 100%);
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
}

.hero-logo {
  width: 180px;
  margin-bottom: 2.5rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.hero-title {
  color: var(--cream);
  margin-bottom: 1.2rem;
  margin-top: 6rem;
}

.hero-sub {
  color: rgba(245,240,232,.75);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.8rem;
  line-height: 1.8;
}

.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(245,240,232,.5);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.6); }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* ── SECTION LAYOUT ── */
.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }

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

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow { margin-bottom: .8rem; }
.section-header p {
  color: var(--text-mid);
  max-width: 540px;
  margin: 1rem auto 0;
  font-size: .95rem;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem auto;
  max-width: 200px;
}
.divider-line { flex: 1; height: 1px; background: var(--gold-light); opacity: .4; }
.divider-icon { color: var(--gold); font-size: .8rem; }

/* ── FEATURED SECTION ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5px;
  background: var(--cream-dark);
}
.feature-card {
  background: var(--ivory);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { background: var(--cream); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  color: var(--sienna);
}
.feature-card p { color: var(--text-mid); font-size: .9rem; }

/* ── SIGNATURE DISHES ── */
.dishes-bg { background: var(--olive); }
.dishes-bg .section-header h2,
.dishes-bg .eyebrow { color: var(--cream); }
.dishes-bg .eyebrow { color: var(--gold-light); }
.dishes-bg .section-header p { color: rgba(245,240,232,.65); }

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
}

.dish-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 8/4;
  cursor: pointer;
}
.dish-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.dish-card:hover .dish-card-img { transform: scale(1.08); }

.dish-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--olive-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .6s ease;
}
.dish-card:hover .dish-card-placeholder { transform: scale(1.03); }

.dish-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,20,10,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity .4s ease;
}
.dish-card:hover .dish-card-overlay { opacity: 1; }
.dish-card-name {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: .3rem;
}
.dish-card-price { color: var(--gold-light); font-size: .85rem; }

/* ── ABOUT STRIP ── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}
.about-strip-img {
  position: relative;
  overflow: hidden;
}
.about-strip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-strip-content {
  background: var(--sienna);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-strip-content .eyebrow { color: var(--gold-light); }
.about-strip-content h2 { color: var(--cream); font-size: clamp(2rem,3vw,3rem); margin: 1rem 0; }
.about-strip-content p  { color: rgba(245,240,232,.8); line-height: 1.9; margin-bottom: 1rem; font-size: .95rem; }
.about-strip-content .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ── MENU PAGE ── */
.menu-page-hero {
  height: 45vh;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.menu-page-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/texture-green.jpeg');
  background-size: cover;
  background-position: center;
}
.menu-page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(30,35,15,.68);
}
.menu-page-hero-content { position: relative; z-index: 2; }
.menu-page-hero h1 { color: var(--cream); }
.menu-page-hero .eyebrow { color: var(--gold-light); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding: 2.5rem 0;
  position: sticky;
  top: 70px;
  background: var(--ivory);
  z-index: 100;
  border-bottom: 1px solid var(--cream-dark);
}
.menu-tab {
  padding: .55rem 1.5rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--cream-dark);
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.menu-tab.active,
.menu-tab:hover {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

.menu-category { padding: 3.5rem 0; border-bottom: 1px solid var(--cream-dark); }
.menu-category:last-child { border-bottom: none; }
.menu-category-title {
  font-size: 2rem;
  color: var(--sienna);
  margin-bottom: .4rem;
}
.menu-category-desc {
  color: var(--text-mid);
  font-size: .9rem;
  margin-bottom: 2.5rem;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.menu-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.menu-item:hover { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.menu-item-img {
  width: 85px; height: 85px;
  flex-shrink: 0;
  object-fit: cover;
}
.menu-item-placeholder {
  width: 85px; height: 85px;
  flex-shrink: 0;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.menu-item-body { flex: 1; }
.menu-item-name { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .3rem; }
.menu-item-desc { color: var(--text-mid); font-size: .82rem; line-height: 1.6; }
.menu-item-price { font-size: .9rem; font-weight: 500; color: var(--sienna); margin-top: .5rem; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--sienna); }
.contact-info p  { color: var(--text-mid); line-height: 1.9; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.contact-detail-value { font-size: .95rem; color: var(--text-dark); }

.contact-form { background: var(--white); padding: 3rem; border: 1px solid var(--cream-dark); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.8rem; }

.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--ivory);
  border: 1px solid var(--cream-dark);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--sienna); background: var(--white); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── ABOUT PAGE ── */
.about-hero {
  min-height: 55vh;
  background-image: url('../images/texture-brown.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,8,.8) 0%, rgba(20,15,8,.3) 100%);
}
.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { color: var(--cream); }

.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-story-text .eyebrow { margin-bottom: .8rem; }
.about-story-text h2 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.about-story-text p  { color: var(--text-mid); line-height: 1.9; margin-bottom: 1rem; }
.about-story-img { position: relative; }
.about-story-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-story-img::before {
  content: '';
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  bottom: 1.5rem; left: 1.5rem;
  border: 1px solid var(--gold-light);
  opacity: .4;
  z-index: -1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  background: var(--cream-dark);
}
.value-card {
  background: var(--white);
  padding: 2.5rem 1.8rem;
  text-align: center;
}
.value-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.1rem; color: var(--sienna); margin-bottom: .5rem; }
.value-card p  { color: var(--text-mid); font-size: .85rem; line-height: 1.7; }

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  color: rgba(245,240,232,.65);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,.1);
}
.footer-brand .nav-logo {
  height: 44px;
  margin-bottom: 1.2rem;
}
.footer-brand p { font-size: .85rem; line-height: 1.8; max-width: 280px; }

.footer-col-title {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
}
.footer-bottom a:hover { color: var(--cream); }

/* ── PAGE HERO (shared) ── */
.page-hero {
  height: 40vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(25,20,12,.62);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem,4vw,3.5rem); }
.page-hero .eyebrow { color: var(--gold-light); margin-bottom: .6rem; }

/* ── ALERTS ── */
.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  border-left: 3px solid;
}
.alert-success { background: #f0faf0; border-color: #4caf50; color: #2e7d32; }
.alert-error   { background: #fdf0f0; border-color: #f44336; color: #c62828; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

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

  .nav-mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--charcoal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav-mobile-menu.open { transform: translateX(0); }
  .nav-mobile-menu .nav-link { color: var(--cream); font-size: 1.2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .dishes-grid   { grid-template-columns: 1fr; }
  .about-strip   { grid-template-columns: 1fr; }
  .about-strip-content { padding: 3rem 2rem; }
  .about-story-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid        { grid-template-columns: 1fr; }
  .menu-items-grid     { grid-template-columns: 1fr; }
  .footer-top          { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom       { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #ffffff;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-animation 1.5s infinite;
}

@keyframes scroll-animation {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}