/* 
  DORÉ - High-End Luxury Restaurant CSS Style 
  Generated based on Design Analysis
*/

/* 1. CSS Variables */
:root {
  /* Colors */
  --primary-color: #C5A059;
  --primary-hover: #D4B475;
  --bg-dark: #121212;
  --bg-card: #1A1A1A;
  --text-white: #FFFFFF;
  --text-muted: #A0A0A0;
  --border-color: rgba(197, 160, 89, 0.3);
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', serif; /* Recommended for Elegant/Italic elements */
  
  /* Spacing */
  --section-padding: 100px 5%;
  --container-max-width: 1400px;
  --transition-speed: 0.4s;
}

/* 2. Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

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

/* 3. Typography Utility Classes */
.heading-xl {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.heading-serif {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary-color);
  font-weight: 400;
}

.label-small {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

/* 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

/* 5. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(18,18,18,0.8) 0%, transparent 100%);
  backdrop-filter: blur(10px);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

/* 6. Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg') center/cover no-repeat;
  padding: 0 10%;
}

.hero-content {
  max-width: 900px;
}

.hero-btns {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* 7. Grid & Content Layout */
.section {
  padding: var(--section-padding);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

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

/* 8. Food / Experience Cards */
.card {
  position: relative;
  overflow: hidden;
  height: 500px;
  background-color: var(--bg-card);
  transition: transform var(--transition-speed) ease;
}

.card:hover {
  transform: translateY(-10px);
}

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

.card:hover .card-img {
  transform: scale(1.1);
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-price {
  color: var(--primary-color);
  font-weight: 600;
}

/* 9. Booking Form */
.booking-section {
  display: flex;
  background-color: var(--bg-card);
}

.booking-info, .booking-form {
  flex: 1;
  padding: 4rem;
}

.form-group {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 0;
  color: var(--text-white);
  font-family: var(--font-sans);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* 10. Footer */
.footer {
  padding: 5rem 5% 2rem;
  background-color: #0A0A0A;
  border-top: 1px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 11. Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

/* 12. Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .booking-section {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding: 1rem 5%;
  }

  .nav-links {
    display: none; /* In real scenario, implement a hamburger menu */
  }

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

  .section {
    padding: 60px 5%;
  }

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

  .btn {
    width: 100%;
  }

  .heading-xl {
    font-size: 3rem;
  }

  .booking-info, .booking-form {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeIn 1.2s ease-out forwards;
}