/* =============================================
   RADHA KRISHNA FOOD COUNTER – Global Styles
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --saffron:   #FF6B00;
  --saffron-d: #E05A00;
  --gold:      #FFC107;
  --cream:     #FFF8F0;
  --maroon:    #8B1A1A;
  --green:     #2D6A2D;
  --dark:      #1A1A2E;
  --text:      #333344;
  --muted:     #666677;
  --white:     #FFFFFF;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --radius:    14px;
  --transition: .3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--saffron-d); }

/* ---- Utility ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-label {
  display: inline-block; font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600;
  color: var(--saffron); background: rgba(255,107,0,.1);
  padding: .3rem .9rem; border-radius: 50px; margin-bottom: .75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark); line-height: 1.25;
}
.section-title span { color: var(--saffron); }
.section-desc { color: var(--muted); max-width: 600px; margin: .75rem 0 2.5rem; font-size: 1.025rem; }
.btn {
  display: inline-block; padding: .8rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary {
  background: var(--saffron); color: var(--white);
}
.btn-primary:hover {
  background: var(--saffron-d); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,0,.35);
}
.btn-outline {
  border-color: var(--white); color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--saffron); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-icon { font-size: 2rem; }
.brand-title {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 800; color: var(--saffron); line-height: 1.1;
}
.brand-sub {
  display: block; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--maroon); font-weight: 600;
}
.nav-links {
  list-style: none; display: flex; gap: .25rem; align-items: center;
}
.nav-links li a {
  padding: .45rem .9rem; border-radius: 50px; font-size: .88rem;
  font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover {
  background: rgba(255,107,0,.1); color: var(--saffron);
}
.nav-toggle, .hamburger { display: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, #1A1A2E 0%, #8B1A1A 50%, #FF6B00 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 5rem 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--gold); font-size: .8rem; font-weight: 600;
  padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1.25rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.15; margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold); display: block; }
.hero-desc { color: rgba(255,255,255,.82); font-size: 1.08rem; margin-bottom: 2rem; max-width: 480px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-end;
}
.hero-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 1.5rem 2rem;
  color: var(--white); min-width: 260px;
}
.hero-card-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.hero-card h3 { font-size: 1.1rem; font-weight: 700; }
.hero-card p { font-size: .88rem; opacity: .8; }

/* =============================================
   ABOUT
   ============================================= */
.about { padding: 6rem 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.badge {
  background: var(--white); border: 1px solid rgba(255,107,0,.2);
  border-radius: 50px; padding: .4rem 1rem; font-size: .82rem;
  font-weight: 600; color: var(--saffron);
  box-shadow: var(--shadow);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  text-align: center; box-shadow: var(--shadow);
  border-top: 4px solid var(--saffron);
}
.stat-card .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--saffron); font-weight: 800; line-height: 1;
}
.stat-card .label { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

/* =============================================
   SERVICES
   ============================================= */
.services { padding: 6rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.service-card:hover::before { opacity: .05; }
.svc-icon { font-size: 2.75rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* =============================================
   WHY US
   ============================================= */
.why-us { padding: 6rem 0; background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  text-align: center; box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.why-card h4 { font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.why-card p { font-size: .88rem; color: var(--muted); }

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 6rem 0; }
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info { }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--cream); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.contact-item-icon { font-size: 1.75rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; color: var(--dark); margin-bottom: .2rem; font-size: .95rem; }
.contact-item a, .contact-item p { font-size: .92rem; color: var(--saffron); }
.contact-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.07);
}
.contact-form-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .8rem 1rem; border-radius: 10px;
  border: 1.5px solid #e5e5e5; font-family: inherit; font-size: .92rem;
  color: var(--text); background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark); color: rgba(255,255,255,.8); padding-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.footer-brand h3 {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: var(--white); margin-bottom: .5rem;
}
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.65; }
.nic-code {
  margin-top: .75rem; font-size: .75rem; color: var(--gold);
  background: rgba(255,193,7,.1); padding: .3rem .7rem; border-radius: 6px;
  display: inline-block;
}
.footer-links h4, .footer-contact h4 {
  font-size: .95rem; font-weight: 700; color: var(--white);
  margin-bottom: 1rem; border-left: 3px solid var(--saffron); padding-left: .6rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: .88rem; margin-bottom: .6rem; color: rgba(255,255,255,.65); }
.footer-contact a { color: var(--gold); }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0;
  text-align: center; font-size: .82rem; color: rgba(255,255,255,.45);
}

/* =============================================
   INNER PAGES (Privacy / Terms)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--maroon));
  padding: 5rem 0 3rem; text-align: center; color: var(--white);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.75); font-size: .95rem; }
.legal-body { padding: 4rem 0; }
.legal-container { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.legal-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 3rem;
  border: 1px solid rgba(0,0,0,.07);
}
.legal-card h2 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  color: var(--dark); margin: 2rem 0 .75rem;
  border-left: 4px solid var(--saffron); padding-left: .9rem;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; line-height: 1.8; }
.legal-card ul {
  color: var(--muted); padding-left: 1.5rem; margin-bottom: 1rem;
}
.legal-card ul li { margin-bottom: .5rem; font-size: .95rem; line-height: 1.75; }
.legal-card strong { color: var(--dark); }
.legal-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  background: var(--cream); border-radius: 10px; padding: 1rem 1.5rem;
  margin-bottom: 2rem; font-size: .85rem; color: var(--muted);
}
.legal-meta span strong { color: var(--saffron); }

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: .4rem;
  }
  .hamburger span {
    display: block; width: 24px; height: 2.5px;
    background: var(--dark); border-radius: 2px; transition: all var(--transition);
  }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem; gap: .15rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition);
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: 400px; padding: 1rem 1.5rem 1.5rem;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-card { padding: 1.75rem; }
}
