/* --- CSS VARIABLES & RESET --- */
:root {
  --primary-color: #111111;
  --accent-color: #80d184;
  --bg-color: #faf9f6;
  --surface-color: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- SMOOTH PAGE TRANSITIONS --- */
body { 
  font-family: var(--font-body); 
  color: var(--text-main); 
  background-color: var(--bg-color); 
  line-height: 1.6; 
  overflow-x: hidden; /* Prevents horizontal scroll on small devices */
  opacity: 0; 
  animation: pageFadeIn 0.6s ease-out forwards; 
}

body.fade-out {
  animation: pageFadeOut 0.4s ease-in forwards; 
}

@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageFadeOut { from { opacity: 1; } to { opacity: 0; } }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- BUTTONS --- */
.btn { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: 14px 28px; background: var(--primary-color); color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; border-radius: 4px; transition: var(--transition); border: 1px solid var(--primary-color); cursor: pointer; }
.btn:hover { background: transparent; color: var(--primary-color); }
.btn.secondary { background: transparent; color: var(--primary-color); }
.btn.secondary:hover { background: var(--primary-color); color: #fff; }

/* --- NAVIGATION --- */
header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: var(--transition); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; }

/* LOGO FIX */
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 1.3rem; font-weight: 800; color: var(--primary-color); letter-spacing: 0.5px; transition: var(--transition); }
.logo img { height: 40px; width: auto; display: block; flex-shrink: 0; } /* Flex-shrink ensures logo doesn't squash */
.logo:hover { opacity: 0.7; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.85rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary-color); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--primary-color); }

/* --- LAYOUT WRAPPER --- */
.page-wrapper { padding-top: 120px; min-height: 80vh; }
.section-container { max-width: 1000px; margin: 0 auto; padding: 80px 20px; width: 100%; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.5rem); text-align: center; margin-bottom: 10px; color: var(--primary-color); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; padding: 0 15px; }

/* --- HERO SECTION --- */
.hero { height: 100vh; min-height: 600px; background-color: var(--primary-color); background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('wall.jpeg'); background-position: center; background-size: cover; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; }
.hero-content { width: 100%; max-width: 800px; }
.hero-content h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; letter-spacing: 2px; margin-bottom: 15px; line-height: 1.1; }
.hero-content p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.2rem, 4vw, 1.5rem); margin-bottom: 30px; font-weight: 500; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--primary-color); border-color: #fff; }
.hero .btn:hover { background: transparent; color: #fff; }

/* --- TOP PICKS CARDS --- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.menu-card { background: var(--surface-color); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transition: var(--transition); display: flex; flex-direction: column; }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.menu-card img { width: 100%; height: 250px; object-fit: cover; }
.menu-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.menu-info h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-color); }
.menu-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* --- FULL MENU LIST --- */
.menu-tabs-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; } /* Added flex-wrap */
.tab-btn { padding: 10px 25px; border-radius: 30px; cursor: pointer; border: 1px solid var(--primary-color); background: transparent; font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; transition: var(--transition); text-align: center; flex-grow: 1; max-width: 200px; } /* Ensures buttons scale nicely */
.tab-btn.active { background: var(--primary-color); color: #fff; }
.menu-content { display: none; animation: fadeIn 0.4s ease-in-out; background: var(--surface-color); padding: 40px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); width: 100%; }
.menu-content.active { display: block; }
.menu-category { margin-top: 30px; font-family: var(--font-heading); font-size: 1.8rem; border-bottom: 2px solid #eaeaea; padding-bottom: 10px; margin-bottom: 20px; color: var(--primary-color); }
.menu-category:first-child { margin-top: 0; }
.menu-item { display: flex; justify-content: space-between; border-bottom: 1px solid #f5f5f5; padding: 18px 0; gap: 15px; transition: var(--transition); }
.menu-item:hover { background-color: #fafafa; padding: 18px 10px; border-radius: 5px; }
.menu-item:last-child { border-bottom: none; }
.menu-item-text { flex: 1; } /* Allows text area to dynamically fill space */
.menu-item-name { font-weight: 600; font-size: 1.1rem; color: var(--primary-color); }
.menu-item-desc { color: var(--text-muted); font-size: 0.95rem; margin-top: 6px; }
.menu-price { font-weight: 600; font-size: 1.1rem; white-space: nowrap; } /* Prevents price from wrapping weirdly */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- BOOKING FORM --- */
.booking-wrapper { background: var(--surface-color); border-radius: 15px; padding: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto; width: 100%; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; padding: 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; background: var(--bg-color); color: var(--text-main); }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--primary-color); }
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: 15px; }
.success-message { display: none; background: #e6f4ea; color: #1e8e3e; padding: 15px; border-radius: 8px; text-align: center; margin-top: 20px; font-weight: 500; grid-column: 1 / -1; }

/* --- GALLERY & SOCIAL GRID --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 15px; aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.15); opacity: 0; transition: 0.3s ease; pointer-events: none; }
.gallery-item:hover::after { opacity: 1; }

.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.social-item { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; display: block; }
.social-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.social-item:hover img { transform: scale(1.08); }
.social-item::after { content: '\f16d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; background: rgba(0,0,0,0.3); color: #fff; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); pointer-events: none; }
.social-item:hover::after { opacity: 1; }

/* --- REVIEWS & CONTACT --- */
.reviews-section { background-color: var(--primary-color); color: #fff; }
.reviews-section .section-title, .reviews-section .section-subtitle { color: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.review-card { background: rgba(255, 255, 255, 0.05); padding: 30px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }

/* Contact Page specific */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--surface-color); border-radius: 15px; padding: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 1200px; margin: 0 auto; align-items: start; }
.contact-content { color: #000000; }
.status-badge { display: inline-block; padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin-bottom: 20px; }
.status-open { background: #e6f4ea; color: #1e8e3e; }
.status-closed { background: #fce8e6; color: #d93025; }
.contact-info { margin-top: 20px; }
.contact-info p { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1.05rem; font-weight: 500; color: var(--text-muted); word-break: break-word; } /* Word-break stops long emails from overflowing */
.contact-info i { width: 20px; color: #000; }

.hours-list { margin-top: 20px; border-top: 1px solid #000; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; color: var(--text-muted); }
.hours-row.today { font-weight: 800; color: #000; }

.contact-message-wrapper { background: #ffffff; padding: 30px; border-radius: 12px; border: 1px solid #000; box-shadow: 0 4px 15px rgba(0,0,0,0.05); width: 100%; }
.contact-message-wrapper h3 { margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.6rem; }
.map-section { margin-top: 40px; width: 100%; height: 350px; border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.map-container iframe { width: 100%; height: 100%; min-height: 400px; border-radius: 10px; border: none; }

/* --- FOOTER --- */
footer { background: var(--primary-color); color: #fff; text-align: center; padding: 40px 20px; }
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: var(--transition); flex-shrink: 0; }
.social-links a:hover { background: var(--accent-color); transform: translateY(-3px); }

/* =========================================
   ABOUT PAGE LAYOUT
   ========================================= */
.about-split { display: flex; align-items: center; justify-content: center; gap: 60px; margin: 0 auto; width: 100%; }
.about-text { flex: 1; min-width: 280px; color: #000000; }
.about-text h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; text-align: left; }
.about-text p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 18px; }
.about-cta-container { margin-top: 35px; display: flex; gap: 15px; flex-wrap: wrap; }
.about-image { flex: 1.2; display: flex; justify-content: center; width: 100%; }
.about-image img { width: 100%; max-width: 600px; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 15px; border: 1px solid #eee; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.intro-card { background: var(--surface-color); border-radius: 15px; padding: 40px; display: flex; gap: 40px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.intro-image { flex: 1; border-radius: 10px; overflow: hidden; width: 100%; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-text { flex: 1; min-width: 280px; }
.intro-text h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2rem); margin-bottom: 20px; }

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* --- Laptops & Tablets (1024px and below) --- */
@media (max-width: 1024px) {
  .about-split { gap: 30px; }
  .about-image img { max-height: 450px; }
  .contact-grid { padding: 40px; gap: 30px; }
}

/* --- Tablets (900px and below) --- */
@media (max-width: 900px) { 
  .intro-card { flex-direction: column; padding: 30px; text-align: center; } 
  .intro-image img { height: 300px; } 
  .menu-content, .booking-wrapper { padding: 30px; } 
}

/* --- Mobile Menu & Strict Stacking (768px and below) --- */
@media (max-width: 768px) {
  .nav-container { padding: 15px 20px; } 
  .logo { font-size: 1.1rem; gap: 8px; } 
  .logo img { height: 35px; }
  .mobile-menu-btn { display: block; }
  
  /* Mobile Navigation Menu */
  .nav-links { position: fixed; top: 65px; left: -100%; width: 100%; height: calc(100vh - 65px); background: var(--surface-color); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 10vh; transition: var(--transition); overflow-y: auto; }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 1.1rem; padding: 15px; width: 100%; text-align: center; }

  .hero-btns { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .booking-form { grid-template-columns: 1fr; } 
  
  .intro-card { padding: 25px; gap: 20px; } 
  .intro-image img { height: 250px; } 

  .gallery-grid { gap: 10px; padding: 0 10px 40px; grid-template-columns: repeat(2, 1fr); }
  .gallery-item { border-radius: 10px; }

  /* Contact Adjustments */
  .contact-grid { grid-template-columns: 1fr; gap: 30px; padding: 25px; }
  .contact-message-wrapper { padding: 20px; }
  .map-section { height: 250px; }
  
  /* About Page Adjustments */
  .about-split { flex-direction: column; text-align: center; gap: 30px; }
  .about-text h1 { text-align: center; }
  .about-cta-container { justify-content: center; }
  .about-image { order: 2; }
  .about-image img { height: auto; max-height: 400px; aspect-ratio: auto; }
}

/* --- Small Mobile Phones (480px and below) --- */
@media (max-width: 480px) {
  .logo { font-size: 0; } /* Keeps the image, hides the text to prevent squishing */
  .logo img { height: 30px; } /* Slightly smaller for tiny screens */
  
  .section-container { padding: 50px 15px; } /* Less padding on small screens */
  .menu-content, .booking-wrapper { padding: 20px 15px; }
  
  /* Fix squishing on menu items */
  .menu-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .menu-item:hover { padding: 10px; }
  
  /* Ensure grids adapt to tiny spaces */
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .about-cta-container { flex-direction: column; width: 100%; }
  .about-cta-container .btn { width: 100%; }

  /* --- PERFECT MENU ITEM LAYOUT (All Devices) --- */
.menu-item {
  display: grid !important;
  grid-template-columns: 1fr auto; /* Title takes available space, Price hugs the right */
  column-gap: 15px;
  row-gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}

.menu-item-text {
  display: contents; /* Unlocks the title and description to sit perfectly in the grid */
}

.menu-item-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.menu-price {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.menu-item-desc {
  grid-column: 1 / -1; /* Forces the description to span fully across the bottom row */
  grid-row: 2;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
}