/* ---------- Rajni Indian Cuisine — site styles ---------- */

:root {
  --gold: #f6ce58;
  --gold-dark: #eaa53f;
  --red: #c1272d;
  --maroon: #5c0f14;
  --dark: #1c1a17;
  --dark-2: #2a2620;
  --cream: #f7f5f0;
  --text: #2b2b2b;
  --font-head: Verdana, Geneva, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top info bar ---------- */

.topbar {
  position: relative;
  z-index: 3;
  padding: 14px 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 32px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.topbar-item img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.icon-svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -4px; }

/* ---------- Nav ---------- */

.navwrap { position: relative; z-index: 3; padding: 0 24px; }

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold) 0%, #f2c144 100%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.logo img { height: 60px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 44px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.hero-content p {
  color: #fff;
  font-size: 18px;
  max-width: 720px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* ---------- Page banner (Contact) ---------- */

.page-banner {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.5);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-content h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 42px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- Section heading ---------- */

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-heading .underline {
  width: 46px;
  height: 4px;
  background: var(--maroon);
  margin: 0 auto;
  border-radius: 2px;
}

section { padding: 80px 0; }

/* ---------- Reach Us cards (Contact page) ---------- */

.reach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
}

.reach-card {
  background: #f2f2f2;
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid #e2e2e2;
}

.reach-card:last-child { border-right: none; }

.reach-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--gold-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.reach-card p { font-weight: 600; }

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 820px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d8d3c8;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
}

.form-group.full { grid-column: 1 / -1; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 14px 38px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--maroon); }

.form-status {
  margin-top: 16px;
  font-weight: 600;
}

/* ---------- Info strip (address / phone) reused on home footer ---------- */

.footer {
  background: var(--dark);
  color: #efe9df;
  position: relative;
}

.footer-texture {
  height: 90px;
  background-image: url('../images/footer-bg.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.footer-main { padding: 56px 0 24px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 40px;
}

.footer-logo img { height: 64px; margin-bottom: 14px; }

.footer-logo p { color: #cfc7b8; font-size: 14px; }

.footer h3 {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 14px;
}

.footer .underline {
  width: 40px;
  height: 3px;
  background: var(--maroon);
  margin-bottom: 20px;
  border-radius: 2px;
}

.footer-address p {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: #d9d2c3;
  font-size: 15px;
}

.footer-address img { width: 18px; height: 18px; margin-top: 3px; filter: brightness(0) invert(1); opacity: 0.85; }

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #57503f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}

.social-icons a:hover { background: var(--gold); color: var(--dark); }

.social-icons svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid #3a352a;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #b8b0a0;
}

.back-top {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .reach-cards { grid-template-columns: 1fr; }
  .reach-card { border-right: none; border-bottom: 1px solid #e2e2e2; }
  .reach-card:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar .container { justify-content: center; gap: 16px; }
  .topbar-item { font-size: 13px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gold);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
    border-radius: 16px;
    padding: 10px 0;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 12px 28px;
  }

  .navbar { position: relative; border-radius: 26px; }

  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }

  .page-banner-content h1 { font-size: 30px; }

  section { padding: 56px 0; }
}
