/* ==========================================================================
   Rooftop Family Restaurant & Pruthvi Continental
   Stylesheet — warm, earthy rooftop-dining theme
   ========================================================================== */

:root {
  --color-bg: #fffaf3;
  --color-surface: #ffffff;
  --color-dark: #2b2117;
  --color-primary: #b5651d;      /* terracotta / amber */
  --color-primary-dark: #8a4a12;
  --color-accent: #d4a23a;       /* warm gold */
  --color-text: #3a3128;
  --color-muted: #7a6f60;
  --color-line: #ece2d4;
  --max-width: 1140px;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(43, 33, 23, 0.08);
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--color-dark); line-height: 1.2; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

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

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

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section__title { font-size: 2rem; margin-bottom: 8px; text-align: center; }
.section__subtitle { text-align: center; color: var(--color-muted); margin-bottom: 40px; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--outline:hover { background: #fff; color: var(--color-primary-dark); }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--max-width); margin: 0 auto; }
.nav__brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--color-dark); line-height: 1.1; }
.nav__brand span { display: block; font-size: 0.72rem; font-weight: 400; color: var(--color-primary); letter-spacing: 1px; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav__links a { color: var(--color-text); font-weight: 500; }
.nav__links a:hover, .nav__links a.active { color: var(--color-primary); }
.nav__cta { background: var(--color-primary); color: #fff !important; padding: 8px 18px; border-radius: 50px; }
.nav__cta:hover { background: var(--color-primary-dark); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--color-dark); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(30, 22, 14, 0.55), rgba(30, 22, 14, 0.65)),
    radial-gradient(circle at 30% 20%, #6b4a25, #2b2117 75%);
  background-size: cover; background-position: center;
  padding: 80px 20px;
}
.hero__inner { max-width: 760px; }
.hero__eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; color: var(--color-accent); margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero p { font-size: 1.15rem; color: #f3e9da; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----- Feature cards ----- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card p { color: var(--color-muted); }

/* ----- About strip ----- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split__media { border-radius: var(--radius); min-height: 360px; background: linear-gradient(135deg, #c98a3f, #7a4a1d); background-size: cover; background-position: center; box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-head); font-size:1.1rem; }

/* ----- Gallery ----- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.about-split h2 { font-size: 1.9rem; margin-bottom: 16px; }
.about-split p { color: var(--color-text); margin-bottom: 14px; }

/* ----- Menu ----- */
.menu-category { margin-bottom: 44px; }
.menu-category h3 { font-size: 1.5rem; color: var(--color-primary); border-bottom: 2px solid var(--color-line); padding-bottom: 8px; margin-bottom: 20px; }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--color-line); }
.menu-item__name { font-weight: 600; color: var(--color-dark); }
.menu-item__desc { color: var(--color-muted); font-size: 0.92rem; }
.menu-item__price { font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.info-list .ic { font-size: 1.4rem; }
.info-list strong { display: block; color: var(--color-dark); }
.info-list span, .info-list a { color: var(--color-muted); }
.map-embed { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-fallback { width:100%; min-height:340px; border-radius:var(--radius); box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; text-align:center; padding:20px; background:#f0e7d8; color:var(--color-muted); }

/* ----- Banner CTA ----- */
.cta-banner { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.cta-banner p { color: #f6ead8; margin-bottom: 24px; }

/* ----- Footer ----- */
.site-footer { background: var(--color-dark); color: #d8cdbd; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-head); }
.site-footer a { color: #d8cdbd; }
.site-footer a:hover { color: var(--color-accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #463a2b; padding-top: 18px; text-align: center; font-size: 0.85rem; color: #a9997f; }

/* placeholder note styling (remove when content finalized) */
.placeholder-note { background:#fff4d6; border:1px dashed #d4a23a; color:#7a5b15; padding:4px 8px; border-radius:6px; font-size:0.8rem; }

/* ----- Responsive ----- */
@media (max-width: 860px) {
  .grid--3, .grid--2, .about-split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--color-line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav__links.open { max-height: 420px; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links li a { display: block; padding: 14px; border-top: 1px solid var(--color-line); }
  .nav__toggle { display: block; }
}
