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

body {
  font-family: 'Lora', serif;
  background: #F5F0E6;
  color: #3B2F2F;
  line-height: 1.6;
}

/* Hero Section */
.hero { position: relative; height: 100vh; overflow: hidden; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.4); }
.hero .overlay { position: relative; z-index: 1; text-align: center; color: #F5F0E6; top: 35%; padding: 0 20px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 4rem; background: linear-gradient(90deg, #ffffff, #C49A6C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
.hero p.accent { font-family: 'Great Vibes', cursive; font-size: 2.2rem; margin: 15px 0; color: #C49A6C; }
.hero button { background: #6B2E2E; color: #F5F0E6; border: none; padding: 14px 32px; border-radius: 30px; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; }
.hero button:hover { background: #C49A6C; color: #3B2F2F; }

/* About Section */
.about-section { padding: 80px 20px; background: #ffffff; text-align: center; }
.about-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: #6B2E2E; margin-bottom: 20px; }
.about-section p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #555; }

/* Menu Showcase Base Layout */
.menu-showcase { text-align: center; padding: 90px 20px; max-width: 1200px; margin: 0 auto; }
.menu-showcase h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: #6B2E2E; margin-bottom: 10px; }
.menu-intro { font-style: italic; margin-bottom: 40px; color: #555; }

/* 3-Panel Luxury Card Layout Grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(196, 154, 108, 0.4);
  padding: 50px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #6B2E2E;
  box-shadow: 0 10px 30px rgba(107, 46, 46, 0.1);
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #6B2E2E;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.card-tagline {
  font-size: 1rem;
  color: #C49A6C;
  margin-bottom: 15px;
  font-weight: bold;
}

.card-description {
  font-size: 0.95rem;
  color: #555555;
}

/* Contact Section */
.contact-section { background: #F5F0E6; padding: 80px 20px; text-align: center; border-top: 1px solid rgba(196, 154, 108, 0.3); }
.contact-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: #6B2E2E; margin-bottom: 15px; }
.contact-section form { max-width: 500px; margin: 30px auto 0 auto; }
.contact-section input, .contact-section textarea { width: 100%; padding: 14px; margin: 12px 0; border: 1px solid #C49A6C; border-radius: 4px; font-family: 'Lora', serif; background: #fff; }
.contact-section button { background: #6B2E2E; color: #F5F0E6; border: none; padding: 14px 35px; border-radius: 30px; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; cursor: pointer; transition: all 0.3s ease; width: 100%; max-width: 250px; }
.contact-section button:hover { background: #C49A6C; color: #3B2F2F; }

/* Social Links */
.social-links { margin-top: 40px; display: flex; justify-content: center; gap: 30px; }
.social-links a { color: #6B2E2E; font-weight: bold; text-decoration: none; border-bottom: 1px dashed #6B2E2E; padding-bottom: 2px; transition: all 0.3s ease; }
.social-links a:hover { color: #C49A6C; border-color: #C49A6C; }

/* Popup System Styles */
.popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); justify-content: center; align-items: center; z-index: 999; backdrop-filter: blur(4px); }
.popup-content { background: #F5F0E6; padding: 40px; border-radius: 4px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid #C49A6C; max-width: 400px; width: 90%; }
.popup-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #6B2E2E; margin-bottom: 10px; }
.popup-content button { margin-top: 20px; background: #6B2E2E; color: #F5F0E6; border: none; padding: 10px 30px; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; }
.popup-content button:hover { background: #C49A6C; color: #3B2F2F; }

/* Responsive adjustments (continued) */
@media (max-width: 900px) {
  .experience-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2.8rem; }
  .social-links { flex-direction: column; gap: 15px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p.accent { font-size: 1.6rem; }
  .about-section h2, .menu-showcase h2, .contact-section h2 { font-size: 2rem; }
  .card { padding: 35px 20px; min-height: auto; }
}

/* Fluid Hover & Interaction States */
.hero button, .contact-section button, .popup-content button {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(107, 46, 46, 0.2);
}

.hero button:active, .contact-section button:active {
  transform: scale(0.98);
}

/* Accessibility Focus Rings for Premium Navigation */
input:focus, textarea:focus {
  outline: none;
  border-color: #6B2E2E;
  box-shadow: 0 0 5px rgba(107, 46, 46, 0.2);
}

/* Print Optimization for Physical Menu Replication */
@media print {
  body { background: #ffffff; color: #000000; }
  .hero, .contact-section, .popup, script { display: none !important; }
  .menu-showcase { padding: 0; }
  .experience-grid { display: block; }
  .card { border: 1px solid #000000; page-break-inside: avoid; margin-bottom: 20px; box-shadow: none !important; transform: none !important; }
}

/* ==========================================================================
   Elegant Micro-Visual Asset Layouts
   ========================================================================== */

/* Base styling constraints for side-floating accent images */
.floating-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(196, 154, 108, 0.3);
  position: absolute;
}

/* Positioning rules to cleanly float images alongside 'Our Story' */
.about-section {
  position: relative;
  overflow: hidden;
}

.left-accent {
  left: 5%;
  top: 25%;
}

.right-accent {
  right: 5%;
  top: 25%;
}

/* Horizontal display adjustments for the menu header divider image */
.section-divider-img {
  width: 180px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(196, 154, 108, 0.3);
  margin: 0 auto 40px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Small visual framing anchors directly inside the experience cards */
.card-inline-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(196, 154, 108, 0.2);
}

/* Responsive cleanups to fold side images gracefully on tablets & mobile viewports */
@media (max-width: 1024px) {
  .floating-img {
    position: relative;
    display: inline-block;
    margin: 20px 10px 0 10px;
    left: auto;
    right: auto;
    top: auto;
    width: 110px;
    height: 110px;
  }
  
  .about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .about-block {
    order: -1; /* Ensures your story text always displays first before images */
  }
}

html {
  scroll-behavior: smooth; /* fallback smooth scroll */
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
