@import url("variables.css");

/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.center-text {
    text-align: center;
}

.padding-text {
    margin-left: 30px;
    margin-right: 30px
}

body {
  background:
    radial-gradient(circle at top, var(--color-bg-soft) 0%, var(--color-bg-main) 65%);
  color: var(--color-text-primary);
  line-height: 1.65;
}

/* ---------- HEADER ---------- */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(31, 77, 43, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 120px;
  width: 120px;              /* force square */
  object-fit: contain;

  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;       /* perfect circle */

  background: transparent;
}

/* ---------- SECTIONS ---------- */
section {
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 1100px;
  margin: auto;
}

h1, h2 {
 text-align: center;
  color: var(--color-accent-primary);
  margin-bottom: 14px;
  font-weight: 700;
}

p {
  color: var(--color-text-secondary);
  }

.hero-cards {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-primary);
}

.hero-cards .hero-intro h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.hero-cards .hero-intro p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary); /* soft sage for paragraph */
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

.feature-cards .card {
    background: var(--color-bg-main);       /* card green */
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 16px var(--color-bg-overlay);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 280px;
    color: var(--color-text-primary);
}

.feature-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--color-bg-overlay);
}

.feature-cards .card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-accent-primary); /* yellow accent for headings */
}

.feature-cards .card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-secondary); /* soft sage for paragraph */
}

.hero-cards .tagline {
    margin-top: 40px;
    font-style: italic;
    font-weight: 500;
    color: var(--color-accent-primary); /* highlight tagline in yellow */
    font-size: 1.1rem;
}


/* ---------- TAGLINE / HINGLISH ---------- */
.tagline {
  margin-top: 10px;
  font-style: italic;
  color: var(--color-accent-secondary);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 14px;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #000;
}

.btn-outline {
  border: 1px solid var(--color-accent-primary);
  color: var(--color-accent-primary);
}

/* ---------- CARDS (MATCH MENU BOXES) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* ---------- MENU ---------- */

/* Make menu section compact */
.menu-section {
    text-align: center;
    padding: 40px 20px;
}

/* Wrapper around image and text */
.menu-wrapper {
    display: inline-block; /* shrink to content width */
    max-width: 90%;        /* responsive */
}

/* Menu image */
.menu-img {
    width: 100%;           /* scales with container */
    max-width: 500px;      /* optional limit */
    cursor: pointer;       /* indicate click */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.menu-img:hover {
    transform: scale(1.02);
}

/* Popup overlay */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}


.button-group {
    display: flex;
    flex-wrap: wrap;   /* wraps on small screens */
    gap: 15px;         /* horizontal & vertical spacing between buttons */
    justify-content: center; /* optional: center buttons */
}


/* ---------- FOOTER ---------- */

.footer {
  background: var(--color-footer-bg);
  padding: 32px 20px;
  text-align: center;       /* center all text */
  font-size: 14px;
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center items horizontally */
  gap: 10px;                /* optional spacing between elements */
}

.footer-links {
  display: flex;            /* inline row of links */
  justify-content: center;  /* center horizontally */
  flex-wrap: wrap;          /* wrap on small screens */
  gap: 12px;                /* spacing between links */
}

.footer-links a {
  color: var(--color-accent-primary);
  text-decoration: none;
  margin: 0 6px;
}

.footer .tagline {
  color: var(--color-text-secondary);
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }
}
