/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-bg: #0A0A0A;
  --secondary-bg: #141414;
  --forest-green: #0d2e1c;
  --warm-burgundy: #4a0e17;
  --metallic-gold: #D4AF37;
  --text-primary: #f0f0f0;
  --text-secondary: #aaaaaa;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--metallic-gold);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--metallic-gold);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--metallic-gold);
  color: var(--primary-bg);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--metallic-gold);
}

.btn-outline {
  background-color: transparent;
  color: var(--metallic-gold);
}

.btn-outline:hover {
  background-color: var(--metallic-gold);
  color: var(--primary-bg);
}

/* Header & Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 100%);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-nav a {
  color: var(--metallic-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
  opacity: 0.9;
  position: relative;
}

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

.main-nav a:hover {
  opacity: 1;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(10,10,10,0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 16px;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.8);
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--metallic-gold);
  font-family: var(--font-heading);
  font-style: italic;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Our Story */
.our-story {
  padding: 100px 20px;
  background-color: var(--secondary-bg);
  text-align: center;
  position: relative;
}

.our-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background-color: var(--metallic-gold);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.story-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.story-text p {
  margin-bottom: 16px;
}

/* Signature Dishes */
.signature-dishes {
  padding: 100px 60px;
  background-color: var(--primary-bg);
}

.signature-dishes .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.dish-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--primary-bg);
}

.dish-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dish-card:hover .dish-img {
  transform: scale(1.05);
}

.dish-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.dish-name {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

.dish-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--metallic-gold);
}

/* Reservation */
.reservation {
  position: relative;
  padding: 120px 20px;
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.reservation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.reservation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-bg) 0%, rgba(13, 46, 28, 0.4) 50%, var(--primary-bg) 100%);
  z-index: 2;
}

.reservation-content {
  position: relative;
  z-index: 3;
  background: rgba(10, 10, 10, 0.7);
  padding: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  max-width: 600px;
}

.reservation .section-title {
  margin-bottom: 16px;
}

.reservation p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--secondary-bg);
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.footer-location {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--metallic-gold);
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.copyright {
  font-size: 0.8rem;
  color: #555;
}

/* Media Queries */
@media (max-width: 1024px) {
  header {
    padding: 24px 40px;
  }
  .signature-dishes {
    padding: 80px 40px;
  }
}

@media (max-width: 900px) {
  .dish-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: rgba(10,10,10,0.95);
    position: fixed;
  }
  
  .main-nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: 4px;
    margin-top: 100px;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 16px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .our-story {
    padding: 80px 20px;
  }
  
  .signature-dishes {
    padding: 60px 20px;
  }
  
  .reservation {
    padding: 80px 15px;
  }
  
  .reservation-content {
    padding: 30px 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .main-nav ul {
    gap: 12px;
  }
  
  .main-nav a {
    font-size: 0.95rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  
  .dish-name {
    font-size: 1.2rem;
  }
  
  .dish-price {
    font-size: 1.1rem;
  }
  
  .dish-info {
    padding: 20px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(10px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #0d0d0d linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  overflow-y: auto;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.05);
  border-radius: 4px;
  padding: 50px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--metallic-gold);
  cursor: pointer;
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  color: var(--metallic-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  color: #fff;
  font-family: var(--font-body);
  border-radius: 2px;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--metallic-gold);
}

.form-group textarea {
  height: 120px;
  resize: none;
}

/* Mock Calendar */
.mock-calendar {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 2px;
}

.calendar-header {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--metallic-gold);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
}

.day-label {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.day {
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.day:hover:not(.muted) {
  color: var(--metallic-gold);
}

.day.muted {
  color: #333;
}

.day.selected {
  background: var(--metallic-gold);
  color: var(--primary-bg);
  border-radius: 2px;
}

.day.available {
  color: var(--metallic-gold);
  position: relative;
}

.day.available::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--metallic-gold);
  border-radius: 50%;
}

/* Party Selector */
.party-selector {
  display: flex;
  gap: 10px;
}

.party-btn {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-heading);
}

.party-btn:hover, .party-btn.selected {
  border-color: var(--metallic-gold);
  color: var(--metallic-gold);
}

.party-btn.selected {
  background: rgba(212, 175, 55, 0.1);
}

/* Time Grid */
.time-grid {
  display: grid;
  gap: 10px;
}

.time-slot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.time-slot:hover, .time-slot.selected {
  border-color: var(--metallic-gold);
  background: rgba(212, 175, 55, 0.1);
}

.time-slot .time {
  font-weight: 600;
  color: #fff;
}

.time-slot .status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status.available { color: #81ac8d; }
.status.limited { color: #ac8181; }

.full-width {
  width: 100%;
}

/* Success State */
.res-state-hidden {
  display: none;
}

.res-state-active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--metallic-gold);
  color: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 30px;
}

.success-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 40px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.summary-item .label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-item .value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--metallic-gold);
}

.summary-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.success-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .success-actions {
    flex-direction: column;
  }
}

/* Image Performance & Layout Shift Prevention */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Page Fade-In Animation */
body {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.loaded {
  opacity: 1;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Premium Hover Effects */
.main-nav a {
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-nav a:hover {
  transform: scale(1.05);
  color: #fff;
}

.btn {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.dish-card {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dish-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Form Interactivity */
.form-group input, 
.form-group textarea {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.form-group input:hover, 
.form-group textarea:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
}

.form-group input:focus, 
.form-group textarea:focus {
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
