/*
Theme Name:  Meet Lahore Restaurant
Theme URI:   https://pixfw.com
Author:      Mehran Khan
Author URI:  https://pixfw.com
Description: A professional, fully custom restaurant theme for Meet Lahore Restaurant – Tabuk, Saudi Arabia. Features hero section, tabbed menu, reviews, contact info and Google Maps link.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meet-lahore
Tags:        restaurant, food, custom-background, custom-menu, full-width-template, one-page, translation-ready
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --saffron:    #E8882A;
  --deep-red:   #8B1A1A;
  --cardamom:   #2C1810;
  --cream:      #FDF6EC;
  --warm-white: #FAF3E8;
  --gold:       #C9882A;
  --light-gold: #F5D080;
  --smoke:      #6B5744;
  --leaf:       #3D5A3E;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cardamom);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 9999;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ============================================================
   NAV
   ============================================================ */
#ml-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: linear-gradient(to bottom, rgba(44,24,16,0.96), transparent);
  backdrop-filter: blur(2px);
}
.ml-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--light-gold);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.ml-nav-logo span { color: var(--saffron); }

/* WordPress nav menu reset */
#ml-nav .nav-menu {
  display: flex; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
#ml-nav .nav-menu a {
  color: var(--cream); opacity: 0.8;
  text-decoration: none; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 400;
  transition: opacity 0.2s, color 0.2s;
}
#ml-nav .nav-menu a:hover { opacity: 1; color: var(--light-gold); }
#ml-nav .nav-menu .current-menu-item > a { color: var(--light-gold); opacity: 1; }

/* Mobile hamburger */
.ml-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.ml-hamburger span {
  width: 26px; height: 2px;
  background: var(--cream); display: block;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
#ml-hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.ml-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(232,136,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(139,26,26,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(201,136,42,0.12) 0%, transparent 50%),
    linear-gradient(170deg, #1a0d08 0%, #2C1810 40%, #1e0f0a 100%);
}
.ml-hero-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,136,42,0.04) 0px, rgba(201,136,42,0.04) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(201,136,42,0.04) 0px, rgba(201,136,42,0.04) 1px, transparent 1px, transparent 20px);
}
.ml-hero-arch {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 120px; background: var(--cardamom);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.ml-hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 20px;
  animation: mlFadeUp 1.2s ease both;
}
@keyframes mlFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ml-hero-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--light-gold); opacity: 0.9;
  margin-bottom: 16px; direction: rtl;
  animation: mlFadeUp 1.2s ease 0.1s both;
}
.ml-hero-tag {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--saffron); margin-bottom: 20px; font-weight: 400;
  animation: mlFadeUp 1.2s ease 0.2s both;
}
.ml-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900; line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(232,136,42,0.3);
  margin-bottom: 8px;
  animation: mlFadeUp 1.2s ease 0.3s both;
}
.ml-hero-title .accent { color: var(--saffron); font-style: italic; }
.ml-hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400; font-style: italic;
  color: var(--light-gold); margin-bottom: 12px;
  animation: mlFadeUp 1.2s ease 0.4s both;
}
.ml-hero-location {
  font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream); opacity: 0.6; margin-bottom: 48px;
  animation: mlFadeUp 1.2s ease 0.5s both;
}
.ml-hero-cta {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: mlFadeUp 1.2s ease 0.6s both;
}
.ml-rating-badge {
  position: absolute; bottom: 140px; right: clamp(20px,5vw,80px); z-index: 2;
  background: rgba(253,246,236,0.08);
  border: 1px solid rgba(201,136,42,0.4);
  backdrop-filter: blur(12px);
  padding: 20px 24px; text-align: center;
  animation: mlFadeUp 1.2s ease 0.8s both;
}
.ml-rating-badge .stars { color: var(--saffron); font-size: 1.1rem; margin-bottom: 4px; }
.ml-rating-badge .score {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 900; color: var(--light-gold); line-height: 1;
}
.ml-rating-badge .label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.ml-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.ml-btn-primary { background: var(--saffron); color: var(--cardamom); }
.ml-btn-primary:hover { background: var(--light-gold); transform: translateY(-2px); color: var(--cardamom); }
.ml-btn-outline {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(253,246,236,0.3);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.ml-btn-outline:hover { border-color: var(--light-gold); color: var(--light-gold); transform: translateY(-2px); }

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.ml-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.ml-section { padding: 80px 0; }
.ml-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--saffron); margin-bottom: 12px; font-weight: 400;
}
.ml-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1;
  color: var(--cream); margin-bottom: 20px;
}
.ml-title em { color: var(--saffron); font-style: italic; }
.ml-body {
  font-size: 1.15rem; line-height: 1.8;
  color: rgba(253,246,236,0.75); max-width: 600px; font-weight: 300;
}
.ml-ornament { text-align: center; padding: 16px 0; color: var(--gold); opacity: 0.5; font-size: 1.4rem; letter-spacing: 0.5em; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#ml-about {
  background: linear-gradient(135deg, #1e0f0a 0%, #2C1810 50%, #231208 100%);
  position: relative; overflow: hidden;
}
#ml-about::before {
  content: 'ل';
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 28rem; color: rgba(201,136,42,0.04); line-height: 1; pointer-events: none;
}
.ml-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ml-about-frame {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(145deg, rgba(232,136,42,0.15), rgba(139,26,26,0.2));
  border: 1px solid rgba(201,136,42,0.2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ml-about-frame-emoji { font-size: 8rem; opacity: 0.4; animation: mlFloat 6s ease-in-out infinite; }
@keyframes mlFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}
.ml-about-frame::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(201,136,42,0.15); pointer-events: none;
}
.ml-about-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--saffron); color: var(--cardamom);
  padding: 20px 24px; font-family: 'Playfair Display', serif; font-weight: 900;
}
.ml-about-badge .big { font-size: 2rem; display: block; line-height: 1; }
.ml-about-badge .small { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ml-features { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ml-feature { display: flex; gap: 16px; align-items: flex-start; }
.ml-feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(232,136,42,0.12); border: 1px solid rgba(232,136,42,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ml-feature-text h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--light-gold); margin-bottom: 4px; }
.ml-feature-text p { font-size: 0.9rem; opacity: 0.6; line-height: 1.6; }

/* ============================================================
   MENU SECTION
   ============================================================ */
#ml-menu { background: var(--cardamom); }
.ml-menu-header { text-align: center; margin-bottom: 60px; }
.ml-menu-header .ml-body { margin: 0 auto; text-align: center; }
.ml-menu-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 48px;
  border-bottom: 1px solid rgba(201,136,42,0.2); flex-wrap: wrap;
}
.ml-tab {
  padding: 12px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(253,246,236,0.5);
  background: none; border: none; cursor: pointer; position: relative;
  transition: color 0.3s;
}
.ml-tab.active { color: var(--saffron); }
.ml-tab.active::after {
  content: ''; position: absolute;
  bottom: -1px; left: 20%; right: 20%;
  height: 2px; background: var(--saffron);
}
.ml-tab:hover { color: var(--cream); }
.ml-menu-section { display: none; }
.ml-menu-section.active {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px;
}
.ml-menu-item {
  background: rgba(253,246,236,0.03); border: 1px solid rgba(201,136,42,0.08);
  padding: 28px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ml-menu-item::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--saffron); transition: height 0.3s ease;
}
.ml-menu-item:hover { background: rgba(253,246,236,0.06); }
.ml-menu-item:hover::before { height: 100%; }
.ml-menu-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.ml-menu-item-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--cream); }
.ml-menu-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--saffron); font-weight: 600; white-space: nowrap; }
.ml-menu-item-desc { font-size: 0.9rem; color: rgba(253,246,236,0.5); line-height: 1.6; }
.ml-menu-tag {
  display: inline-block; margin-top: 10px;
  padding: 2px 10px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid rgba(232,136,42,0.3); color: var(--saffron);
}

/* ============================================================
   SPECIALS BANNER
   ============================================================ */
#ml-specials {
  background: linear-gradient(135deg, var(--deep-red), #5c1010);
  padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
#ml-specials::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(253,246,236,0.03) 19px, rgba(253,246,236,0.03) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(253,246,236,0.03) 19px, rgba(253,246,236,0.03) 20px);
}
#ml-specials h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3.5rem); font-style: italic;
  color: var(--light-gold); margin-bottom: 12px; position: relative;
}
#ml-specials p {
  font-size: 1.1rem; color: rgba(253,246,236,0.7);
  max-width: 500px; margin: 0 auto 32px; line-height: 1.7; position: relative;
}

/* ============================================================
   REVIEWS
   ============================================================ */
#ml-reviews { background: linear-gradient(180deg, #1e0f0a 0%, #2C1810 100%); }
.ml-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ml-review-card {
  background: rgba(253,246,236,0.04); border: 1px solid rgba(201,136,42,0.12);
  padding: 28px; position: relative; transition: border-color 0.3s;
}
.ml-review-card:hover { border-color: rgba(201,136,42,0.3); }
.ml-review-card::before {
  content: '"'; font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 900;
  color: rgba(232,136,42,0.15); position: absolute; top: -10px; left: 20px; line-height: 1;
}
.ml-review-stars { color: var(--saffron); font-size: 0.85rem; margin-bottom: 12px; }
.ml-review-text { font-size: 1rem; line-height: 1.75; color: rgba(253,246,236,0.75); font-style: italic; margin-bottom: 16px; }
.ml-review-author { font-family: 'Playfair Display', serif; font-size: 0.85rem; color: var(--light-gold); font-weight: 700; letter-spacing: 0.05em; }
.ml-review-source { font-size: 0.75rem; opacity: 0.45; margin-top: 2px; }

/* ============================================================
   CONTACT
   ============================================================ */
#ml-contact { background: #160a06; position: relative; overflow: hidden; }
#ml-contact::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(232,136,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.ml-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.ml-contact-info { display: flex; flex-direction: column; gap: 32px; }
.ml-contact-item { display: flex; gap: 20px; align-items: flex-start; }
.ml-contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(232,136,42,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--saffron);
}
.ml-contact-detail h4 {
  font-family: 'Playfair Display', serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--saffron); margin-bottom: 6px;
}
.ml-contact-detail p,
.ml-contact-detail a { font-size: 1.05rem; color: var(--cream); opacity: 0.8; line-height: 1.6; text-decoration: none; }
.ml-contact-detail a:hover { color: var(--light-gold); opacity: 1; }
.ml-hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 8px; }
.ml-hours-row { font-size: 0.9rem; color: rgba(253,246,236,0.65); }
.ml-hours-row span { color: var(--cream); opacity: 0.9; }
.ml-map-box {
  background: rgba(253,246,236,0.04); border: 1px solid rgba(201,136,42,0.15);
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding: 32px;
  position: relative; overflow: hidden;
}
.ml-map-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(201,136,42,0.04) 29px, rgba(201,136,42,0.04) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(201,136,42,0.04) 29px, rgba(201,136,42,0.04) 30px);
}
.ml-map-box .ml-map-pin { font-size: 3rem; position: relative; }
.ml-map-box h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); position: relative; }
.ml-map-box p { font-size: 0.9rem; color: rgba(253,246,236,0.5); position: relative; line-height: 1.6; }
.ml-map-box .ml-btn { position: relative; margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
#ml-footer {
  background: #0f0604; padding: 48px 0 32px;
  border-top: 1px solid rgba(201,136,42,0.1);
}
.ml-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.ml-footer-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--light-gold); }
.ml-footer-brand span { color: var(--saffron); }
.ml-footer-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: 0.9rem; color: rgba(253,246,236,0.3); margin-top: 4px; direction: rtl; }
.ml-footer-copy { font-size: 0.8rem; color: rgba(253,246,236,0.3); letter-spacing: 0.08em; }
.ml-footer-social { display: flex; gap: 12px; }
.ml-social-btn {
  width: 36px; height: 36px; border: 1px solid rgba(201,136,42,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(253,246,236,0.5); text-decoration: none; font-size: 0.9rem;
  transition: all 0.2s;
}
.ml-social-btn:hover { border-color: var(--saffron); color: var(--saffron); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.ml-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ml-fade-up.ml-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET
   ============================================================ */
.admin-bar #ml-nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #ml-nav { top: 46px; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ml-about-grid,
  .ml-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ml-about-frame { max-width: 320px; margin: 0 auto; }
  .ml-rating-badge { display: none; }
}
@media (max-width: 768px) {
  #ml-nav { padding: 16px 20px; }
  #ml-nav .nav-menu { display: none; }
  #ml-nav .nav-menu.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(44,24,16,0.98); padding: 12px 0; }
  #ml-nav .nav-menu.open a { display: block; padding: 12px 24px; }
  .ml-hamburger { display: flex; }
  .ml-section { padding: 60px 0; }
  .ml-menu-tabs { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ml-tab { white-space: nowrap; }
}
