/* ===== Bridge House All Day — Global Stylesheet ===== */

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

:root {
  --green: #2D5016;
  --green-light: #3D6B1E;
  --green-dark: #1E3A0E;
  --brown: #8B6914;
  --brown-light: #A07D1A;
  --cream: #FFF8E7;
  --cream-dark: #F5ECD4;
  --charcoal: #2C2C2C;
  --charcoal-light: #444;
  --white: #FFFFFF;
  --shadow: rgba(0,0,0,0.12);
  --shadow-lg: rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--green-dark);
  line-height: 1.3;
  font-weight: 700;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Image Placeholders --- */
.img-placeholder {
  width: 100%;
  min-height: 250px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-alt);
  padding: 12px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,248,231,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px var(--shadow);
  height: var(--header-height);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--brown); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--green-light); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero .img-placeholder { min-height: 600px; border-radius: 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,58,14,0.55) 0%, rgba(30,58,14,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--cream);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 19px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
}
.btn-primary:hover { background: var(--brown-light); color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--green-dark); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(255,248,231,0.85); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--charcoal-light); }
.section-dark .section-header p { color: rgba(255,248,231,0.7); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.section-dark .section-label { color: var(--brown-light); }

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 { font-size: 32px; margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; color: var(--charcoal-light); }

.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-weight: 500;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  background: var(--brown);
  border-radius: 50%;
  opacity: 0.7;
}

/* --- Menu Highlights --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow-lg); }

.menu-card .img-placeholder { min-height: 180px; border-radius: 0; }

.menu-card-body { padding: 20px; }
.menu-card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.menu-card-body .time {
  font-size: 13px;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 8px;
}
.menu-card-body p { font-size: 14px; color: var(--charcoal-light); line-height: 1.6; }

/* --- Ambiance --- */
.ambiance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ambiance-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.ambiance-card .img-placeholder { min-height: 280px; }
.ambiance-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
}

/* --- Info Bar --- */
.info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.info-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--cream);
}
.info-item p { font-size: 15px; }
.info-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* --- Location --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.map-placeholder {
  width: 100%;
  min-height: 350px;
  background: #d4e2c8;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
  border: 2px dashed var(--green-light);
}
.location-details h2 { font-size: 28px; margin-bottom: 16px; }
.location-details p { margin-bottom: 12px; color: var(--charcoal-light); }

.contact-info-list { list-style: none; margin-top: 24px; }
.contact-info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-info-list .label {
  font-weight: 700;
  color: var(--green);
  min-width: 90px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: var(--cream); font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }

.footer-col h4 {
  color: var(--cream);
  font-size: 16px;
  margin-bottom: 16px;
  font-family: system-ui, sans-serif;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--cream); }

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

.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--brown); color: var(--white); }

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* --- Page Header (inner pages) --- */
.page-header {
  margin-top: var(--header-height);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .img-placeholder {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
}
.page-header-overlay {
  position: relative;
  z-index: 1;
  background: rgba(30,58,14,0.75);
  padding: 48px 20px;
}
.page-header h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 12px;
}
.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--charcoal-light);
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* --- Menu Page --- */
.menu-section { margin-bottom: 56px; }
.menu-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
}
.menu-section-header h2 { font-size: 28px; margin: 0; }
.menu-section-header .hours {
  background: var(--green);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.menu-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 4px var(--shadow);
  transition: box-shadow var(--transition);
}
.menu-item:hover { box-shadow: 0 4px 16px var(--shadow-lg); }

.menu-item-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
}
.menu-item-thumb .img-placeholder {
  min-height: 72px;
  width: 72px;
  border-radius: var(--radius);
}

.menu-item-info { flex: 1; }
.menu-item-info h3 { font-size: 17px; margin-bottom: 4px; font-family: system-ui, sans-serif; font-weight: 700; color: var(--charcoal); }
.menu-item-info p { font-size: 13px; color: var(--charcoal-light); line-height: 1.5; }
.menu-item-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
  font-weight: 600;
}
.tag-veg { background: #e8f5e9; color: #2e7d32; }
.tag-nonveg { background: #fce4ec; color: #c62828; }
.tag-popular { background: #fff3e0; color: #e65100; }

.menu-note {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--charcoal-light);
  border-left: 4px solid var(--brown);
  margin-top: 40px;
}

/* --- About Page --- */
.about-story { margin-bottom: 48px; }
.about-story h2 { margin-bottom: 16px; }
.about-story p { margin-bottom: 14px; color: var(--charcoal-light); font-size: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.value-card h3 { font-size: 20px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--charcoal-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-grid .img-placeholder { min-height: 260px; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--green-light); }

.directions-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px var(--shadow);
  margin-top: 24px;
}
.directions-card h3 { font-size: 20px; margin-bottom: 16px; }
.direction-item {
  margin-bottom: 16px;
  padding-left: 20px;
  border-left: 3px solid var(--green);
}
.direction-item h4 {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.direction-item p { font-size: 14px; color: var(--charcoal-light); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--cream-dark);
}
.hours-table th {
  font-weight: 700;
  color: var(--green);
  width: 40%;
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 20px;
    gap: 0;
    box-shadow: 0 4px 12px var(--shadow);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 16px;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero .img-placeholder { min-height: 500px; }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 28px; }

  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .menu-grid { grid-template-columns: 1fr; }
  .menu-items-grid { grid-template-columns: 1fr; }
  .ambiance-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .info-bar { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-header h1 { font-size: 30px; }
  .page-header p { font-size: 16px; }

  .menu-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero .img-placeholder { min-height: 420px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* real photos */
.hero > img { display:block; width:100%; height:600px !important; object-fit:cover; }
.about-grid img { display:block; width:100%; height:420px !important; object-fit:cover; border-radius:var(--radius-lg); }
.menu-card > img { display:block; width:100%; height:200px !important; object-fit:cover; }
.ambiance-card > img { display:block; width:100%; height:280px !important; object-fit:cover; }
.page-header > img { position:absolute; inset:0; width:100%; height:100% !important; object-fit:cover; z-index:0; }
.page-header::after { content:""; position:absolute; inset:0; background:rgba(20,35,10,.55); z-index:0; }
.page-header > *:not(img) { position:relative; z-index:1; }
.gallery-grid img { display:block; width:100%; height:260px !important; object-fit:cover; border-radius:var(--radius-lg); }
.menu-item-thumb { overflow:hidden; }
.menu-item-thumb img { display:block; width:72px !important; height:72px !important; object-fit:cover; border-radius:var(--radius); }
@media (max-width:768px){
  .hero > img { height:520px !important; }
  .about-grid img { height:280px !important; }
  .gallery-grid img { height:200px !important; }
}
.map-embed{position:relative;width:100%;border-radius:var(--radius-lg);overflow:hidden;background:#e8efe0}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-link{margin-top:10px;font-size:14px}.map-link a{color:var(--green);font-weight:600}
.location-grid > div{width:100%;min-width:0}
.map-embed{display:block;width:100%;min-height:380px}
@media (max-width:768px){.map-embed{min-height:300px !important}}
