/* ==========================================================================
   FLAVORNUX - Master Responsive Stylesheet
   Pure Veg Cafe & Restaurant, Iglas (Hathras Rd, infront of Tehsil)
   Informational & Promotional Website | Zero Framework Overhead | High Speed
   ========================================================================== */

:root {
  --primary: #C85A17;          /* Bistro Warm Terracotta */
  --primary-dark: #9E410B;
  --primary-light: #FDF5EF;
  --secondary: #1E5128;        /* Pure Veg Forest Green */
  --secondary-light: #EBF4ED;
  --accent: #F4A261;           /* Warm Golden Honey */
  --bg-cream: #FAF7F2;         /* Warm Paper Background */
  --surface: #FFFFFF;          /* Pure White Cards */
  --surface-alt: #F4EFEB;      /* Muted Card Background */
  --text-main: #1C1917;        /* Espresso Charcoal */
  --text-muted: #5C554F;       /* Warm Gray */
  --border: #E5DACF;           /* Soft Border */
  --border-focus: #C85A17;
  --shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 6px 18px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 14px 32px rgba(28, 25, 23, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s ease-in-out;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for mobile sticky action bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 10px;
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Announcement & Location Bar */
.top-bar {
  background-color: var(--text-main);
  color: #FAF7F2;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-link {
  color: #FAF7F2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar-link:hover {
  color: var(--accent);
}

/* Header & Navigation */
.site-header {
  background-color: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Nav Menu */
.nav-menu {
  display: none;
  align-items: center;
  list-style: none;
  gap: 1rem;
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.nav-item-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary);
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta-btn:hover {
  background-color: var(--primary-dark);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

@media (min-width: 960px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-cream);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav-link.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Breadcrumbs */
.breadcrumbs-bar {
  padding: 0.85rem 0;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  color: var(--text-muted);
}

.breadcrumbs-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: var(--border);
  user-select: none;
}

.breadcrumbs-item[aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* Typography & Headings */
h1, h2, h3, h4 {
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-header {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-cream) 100%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Pure Veg Indicators */
.pure-veg-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.veg-icon-box {
  width: 14px;
  height: 14px;
  border: 2px solid var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.veg-icon-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

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

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* Card System */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #D6C7BA;
}

/* Menu Page & Cards */
.menu-nav-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.menu-filter-pill {
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.menu-filter-pill.active, .menu-filter-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.dish-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dish-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.dish-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.dish-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  margin-top: auto;
}

.dish-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.dish-enquiry-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Enquiry Forms (Bulk Order & Catering) */
.form-container {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  color: var(--text-main);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

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

@media (min-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-notice {
  background-color: var(--primary-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.form-message-box {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.form-message-box.error {
  display: block;
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.form-message-box.success {
  display: block;
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.gallery-caption {
  padding: 1rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Blog & Knowledge Hub */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Article Page Layout */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D2824;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 2.25rem 0 1rem;
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.75rem;
}

.article-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-cta-box {
  background-color: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

/* FAQ Accordion / Blocks */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Details & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Footer */
.site-footer {
  background-color: var(--text-main);
  color: #EADBCE;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

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

.footer-col-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-nav a {
  color: #D6C7BA;
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-contact-text {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-contact-text a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: #D6C7BA;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Sticky Bottom Action Bar for Mobile (Informational & Contact Actions) */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px;
  z-index: 95;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  gap: 3px;
}

.bottom-action-btn.call {
  color: var(--primary);
}

.bottom-action-btn.whatsapp {
  color: #25D366;
}

.bottom-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
