/* CSS Custom Properties */
:root {
  /* Colors - Historic Luxury Palette */
  --color-primary: #8B2635;        /* Deep brick red */
  --color-secondary: #D4A574;      /* Warm gold */
  --color-accent: #2D4A3E;         /* Forest green */
  --color-stone: #6B5B47;          /* Stone brown */
  --color-light-stone: #A69582;    /* Light stone */
  --color-dark: #2C1810;           /* Dark chocolate */
  --color-light: #FDF8F2;          /* Cream white */
  --color-paper: #F5F0E8;          /* Paper beige */

  /* Typography */
  --font-display: 'Crimson Text', serif;
  --font-body: 'Optima', 'Arial', sans-serif;

  /* Spacing */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-light: 0 2px 20px rgba(139, 38, 53, 0.1);
  --shadow-medium: 0 8px 30px rgba(139, 38, 53, 0.15);
  --shadow-heavy: 0 20px 60px rgba(44, 24, 16, 0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-stone);
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(139, 38, 53, 0.7) 0%, rgba(44, 24, 16, 0.8) 100%),
    url('assets/images/photo-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, rgba(139, 38, 53, 0.9) 0%, rgba(45, 74, 62, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.title-subtitle {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  animation: ratingFloat 3s ease-in-out infinite;
}

@keyframes ratingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.stars {
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: linear-gradient(45deg, var(--color-primary), #a73348);
  color: white;
  box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  background: linear-gradient(45deg, #a73348, var(--color-primary));
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(44, 24, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
  transform: translateY(-100%);
  transition: var(--transition);
}

.navbar.scrolled {
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.nav-brand:hover {
  color: white;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

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

/* Section Base Styles */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

/* Gallery Section */
.gallery {
  background:
    radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-paper) 0%, var(--color-light) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-stone);
  aspect-ratio: 4/3;
}

.gallery-item:nth-child(odd) {
  transform: rotate(-1deg);
}

.gallery-item:nth-child(even) {
  transform: rotate(1deg);
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 38, 53, 0.8), rgba(45, 74, 62, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Reviews Section */
.reviews {
  background:
    linear-gradient(45deg, var(--color-dark) 0%, var(--color-stone) 100%);
  color: white;
  position: relative;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23D4A574" fill-opacity="0.05"><polygon points="36 34 24 0 14 0 26 34 14 60 24 60"/></g></svg>');
  opacity: 0.3;
}

.reviews .section-title {
  color: white;
}

.reviews .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  color: var(--color-secondary);
  opacity: 0.3;
  font-family: var(--font-display);
}

.review-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-heavy);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.reviewer-name {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.review-stars {
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}

/* Menu Section */
.menu {
  background: var(--color-light);
  position: relative;
}

.menu::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(139, 38, 53, 0.1) 0%, transparent 70%);
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.menu-category {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(139, 38, 53, 0.1);
  transition: var(--transition);
}

.menu-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.category-title {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-secondary);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(139, 38, 53, 0.1);
}

.menu-item:last-child {
  border-bottom: none;
}

.item-info h4 {
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.item-info p {
  color: var(--color-stone);
  line-height: 1.5;
}

.menu-note {
  margin-top: 3rem;
  text-align: center;
  background: rgba(139, 38, 53, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.menu-note p {
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-weight: 500;
}

.menu-note i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

/* Contact Section */
.contact {
  background:
    linear-gradient(135deg, var(--color-paper) 0%, var(--color-light) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-light);
}

.contact-icon i {
  color: white;
  font-size: 1.3rem;
}

.contact-details h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--color-stone);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--color-accent);
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.maps-link i {
  font-size: 0.9rem;
}

.hours-schedule {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(139, 38, 53, 0.1);
}

.hours-schedule h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(139, 38, 53, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item.weekend {
  background: rgba(212, 165, 116, 0.1);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 8px;
}

.day {
  font-weight: 500;
  color: var(--color-dark);
}

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

.accessibility-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(139, 38, 53, 0.1);
}

.accessibility-info h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.accessibility-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accessibility-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-stone);
}

.accessibility-features i {
  color: var(--color-accent);
  width: 20px;
}

/* Footer */
.footer {
  background:
    linear-gradient(135deg, var(--color-dark) 0%, var(--color-stone) 100%);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.footer-contact p,
.footer-hours p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--color-secondary);
  width: 15px;
}

.footer-hours strong {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-heavy);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: calc(100% + 120px);
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2rem, 6vw, 4rem);
    --container-padding: 1rem;
  }

  .nav-menu {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .menu-categories {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
  }

  .lightbox-nav {
    width: calc(100% + 60px);
  }

  .lightbox-prev {
    left: -30px;
  }

  .lightbox-next {
    right: -30px;
  }
}

@media (max-width: 480px) {
  .title-main {
    font-size: 2.5rem;
  }

  .title-subtitle {
    font-size: 1.2rem;
  }

  .gallery-item:nth-child(odd),
  .gallery-item:nth-child(even) {
    transform: rotate(0deg);
  }

  .accessibility-features {
    align-items: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-background {
    background-attachment: scroll;
  }
}