/* ==========================================================================
   Kailashpati Mess — Theme
   ========================================================================== */

   :root {
    --maroon: #B33A24;
    --maroon-dark: #8C2A17;
    --gold: #F2A93B;
    --gold-dark: #D98E1E;
    --cream: #FFF7EC;
    --cream-2: #FDEFDD;
    --ink: #2E1E12;
    --ink-soft: #6B5645;
    --green-veg: #2E8B3D;
    --red-nonveg: #C0392B;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Rubik', sans-serif;
  }
  
  * { scroll-behavior: smooth; }
  
  body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: #fff;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, .brand-text, .footer-brand {
    font-family: var(--font-head);
  }
  
  a { text-decoration: none; }
  
  img { user-select: none; }
  
  /* ---------- Utility sections ---------- */
  .section {
    padding: 90px 0;
  }
  .bg-cream { background-color: var(--cream); }
  
  .section-kicker {
    color: var(--maroon);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .text-light-kicker { color: var(--gold); }
  
  .section-title {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
  }
  
  .lead-text {
    font-size: 1.1rem;
    font-weight: 500;
  }
  
  /* ---------- Top bar ---------- */
  .topbar {
    background: var(--maroon-dark);
    color: #fff8ee;
    font-size: 0.85rem;
    padding: 8px 0;
  }
  .topbar-item i { color: var(--gold); margin-right: 6px; }
  .topbar-link { color: #fff8ee; }
  .topbar-link:hover { color: var(--gold); }
  
  /* ---------- Navbar ---------- */
  #mainNav {
    top: 0;
    padding: 16px 0;
    transition: all .35s ease;
    background: transparent;
    margin-top: 34px;
  }
  #mainNav.scrolled {
    top: 0;
    margin-top: 0;
    background: rgba(255, 247, 236, 0.97);
    box-shadow: 0 4px 20px rgba(46, 30, 18, 0.08);
    padding: 10px 0;
    backdrop-filter: blur(6px);
  }
  
  .brand-icon { font-size: 1.6rem; margin-right: 6px; }
  .brand-text {
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    transition: color .35s ease;
    vertical-align: middle;
  }
  .brand-text span { color: var(--gold); }
  #mainNav.scrolled .brand-text { color: var(--maroon); }
  #mainNav.scrolled .brand-text span { color: var(--gold-dark); }
  
  .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    position: relative;
    transition: color .3s ease;
  }
  #mainNav.scrolled .navbar-nav .nav-link { color: var(--ink); }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active { color: var(--gold-dark) !important; }
  #mainNav:not(.scrolled) .navbar-nav .nav-link:hover,
  #mainNav:not(.scrolled) .navbar-nav .nav-link.active { color: var(--gold) !important; }
  
  .navbar-toggler { border: none; box-shadow: none; }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  #mainNav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232E1E12' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: rgba(46, 30, 18, 0.97);
    border-radius: 14px;
    padding: 12px 18px;
    margin-top: 10px;
  }
  .navbar-collapse.show .nav-link,
  .navbar-collapse.collapsing .nav-link { color: #fff; }
  
  /* ---------- Buttons ---------- */
  .btn-order {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff !important;
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 8px 20px rgba(179, 58, 36, 0.35);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .btn-order:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(179, 58, 36, 0.45); color: #fff; }
  
  .btn-order-alt {
    background: var(--gold);
    color: var(--ink) !important;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform .25s ease;
  }
  .btn-order-alt:hover { transform: translateY(-2px); }
  
  .btn-order-outline {
    border: 2px solid var(--maroon);
    color: var(--maroon) !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 9px 22px;
    background: transparent;
    transition: all .25s ease;
  }
  .btn-order-outline:hover { background: var(--maroon); color: #fff !important; }
  
  .btn-outline-hero {
    border: 2px solid #fff;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 26px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    transition: all .25s ease;
  }
  .btn-outline-hero:hover { background: #fff; color: var(--maroon) !important; }
  
  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
      linear-gradient(160deg, rgba(46, 20, 10, 0.72), rgba(140, 42, 23, 0.72)),
      url("https://images.unsplash.com/photo-1585937421612-70a008356fbe?auto=format&fit=crop&w=1600&q=80") center center / cover no-repeat fixed;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(242,169,59,0.18), transparent 60%);
  }
  .hero-content { position: relative; z-index: 2; padding-top: 90px; }
  
  .badge-pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
  }
  
  .hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 22px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
  }
  .hero-title span { color: var(--gold); }
  
  .hero-sub {
    color: #fff5e9;
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 14px;
  }
  .hero-sub-2 {
    color: #f0d9c2;
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 34px;
  }
  
  .hero-btns .btn i { margin-right: 6px; }
  
  .scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.6rem;
    opacity: 0.8;
    animation: bounceDown 2s infinite;
    z-index: 2;
  }
  @keyframes bounceDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
  }
  
  /* ---------- About ---------- */
  .about-media { position: relative; padding: 10px 30px 30px 0; }
  .about-img-main {
    border-radius: 22px;
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(46,30,18,0.2);
  }
  .about-img-float {
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 45%;
    border-radius: 18px;
    border: 6px solid #fff;
    box-shadow: 0 15px 30px rgba(46,30,18,0.25);
  }
  
  .mini-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    box-shadow: 0 6px 16px rgba(46,30,18,0.08);
    font-weight: 600;
    font-size: 0.92rem;
    height: 100%;
  }
  .mini-stat i { color: var(--maroon); font-size: 1.3rem; }
  
  /* ---------- Specialty cards ---------- */
  .specialty-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(46,30,18,0.07);
    border: 1px solid rgba(179,58,36,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(179,58,36,0.15);
  }
  .specialty-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--cream-2);
    width: 84px;
    height: 84px;
    line-height: 84px;
    border-radius: 50%;
  }
  .specialty-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--maroon-dark);
  }
  .specialty-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }
  
  /* ---------- Menu ---------- */
  .menu-tabs .nav-link {
    color: var(--ink);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 22px;
    margin: 0 6px;
    background: #fff;
    border: 1px solid rgba(179,58,36,0.15);
    white-space: nowrap;
  }
  .menu-tabs .nav-link i { margin-right: 6px; }
  .menu-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff;
  }
  
  .menu-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(46,30,18,0.06);
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(179,58,36,0.12);
  }
  
  .veg-dot, .nonveg-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
  }
  .veg-dot { border: 2px solid var(--green-veg); }
  .veg-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--green-veg);
    border-radius: 50%;
  }
  .nonveg-dot { border: 2px solid var(--red-nonveg); }
  .nonveg-dot::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid var(--red-nonveg);
    top: 50%; left: 50%;
    transform: translate(-50%, -45%);
  }
  
  /* ---------- Why us ---------- */
  .why-card {
    text-align: center;
    padding: 30px 18px;
    border-radius: 18px;
    height: 100%;
    transition: all .3s ease;
  }
  .why-card:hover { background: var(--cream-2); }
  .why-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-size: 1.7rem;
    margin: 0 auto 18px;
    box-shadow: 0 10px 20px rgba(242,169,59,0.35);
  }
  .why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--maroon-dark); }
  .why-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0; }
  
  /* ---------- Students section ---------- */
  .tagline-strip {
    display: inline-block;
    background: var(--cream-2);
    color: var(--maroon-dark);
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 50px;
    margin-top: 10px;
  }
  .tagline-strip i { color: var(--gold-dark); margin-right: 8px; }
  
  /* ---------- Delivery banner ---------- */
  .delivery-banner {
    background: linear-gradient(120deg, var(--maroon), var(--maroon-dark));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
  }
  .delivery-banner::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(242,169,59,0.12);
    border-radius: 50%;
    top: -150px; right: -100px;
  }
  .delivery-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .delivery-text { color: #f5e2cd; margin-bottom: 0; max-width: 600px; }
  
  /* ---------- Location ---------- */
  .map-wrap {
    height: 100%;
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(46,30,18,0.12);
  }
  
  .location-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 30px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(46,30,18,0.08);
  }
  .location-row {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
  }
  .location-row i {
    font-size: 1.4rem;
    color: var(--maroon);
    background: var(--cream-2);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .location-row h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
  .location-row p { margin-bottom: 0; color: var(--ink-soft); }
  .location-row a { color: var(--maroon-dark); font-weight: 600; }
  
  /* ---------- Contact ---------- */
  .contact-info-card {
    background: linear-gradient(150deg, var(--maroon), var(--maroon-dark));
    color: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(179,58,36,0.25);
  }
  .contact-info-card h3 { font-weight: 700; margin-bottom: 18px; }
  .contact-info-card p { margin-bottom: 14px; color: #fbe9d7; }
  .contact-info-card i { color: var(--gold); margin-right: 10px; width: 20px; text-align: center; }
  .contact-info-card a { color: #fff; }
  .contact-info-card .btn-order-outline { border-color: #fff; color: #fff !important; }
  .contact-info-card .btn-order-outline:hover { background: #fff; color: var(--maroon) !important; }
  
  .contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 12px 30px rgba(46,30,18,0.08);
  }
  .contact-form .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(46,30,18,0.15);
  }
  .contact-form .form-control:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 0.2rem rgba(179,58,36,0.15);
  }
  .contact-form label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
  
  /* ---------- Footer ---------- */
  .footer {
    background: #23150C;
    color: #d9c6b4;
    padding: 60px 0 24px;
  }
  .footer-brand {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
  }
  .footer-brand span { color: var(--gold); }
  .footer-tagline { margin-top: 10px; color: #d9c6b4; font-style: italic; }
  .footer-badges { color: var(--gold); font-weight: 600; font-size: 0.85rem; }
  .footer h5 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
  .footer-links { list-style: none; padding: 0; margin: 0; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a { color: #d9c6b4; transition: color .2s ease; }
  .footer-links a:hover { color: var(--gold); }
  .footer p { color: #d9c6b4; margin-bottom: 10px; font-size: 0.92rem; }
  .footer p i { color: var(--gold); margin-right: 8px; }
  .footer a { color: #d9c6b4; }
  .footer hr { border-color: rgba(255,255,255,0.1); margin: 30px 0 18px; }
  .copyright { font-size: 0.85rem; color: #a3907c; }
  
  /* ---------- Back to top ---------- */
  .back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(179,58,36,0.35);
  }
  .back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .back-to-top:hover { background: var(--maroon-dark); }
  
  /* ---------- Floating WhatsApp ---------- */
  .whatsapp-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37,211,102,0.45);
    z-index: 999;
    animation: pulseWA 2.4s infinite;
  }
  @keyframes pulseWA {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }
  
  /* ---------- Scroll reveal ---------- */
  [data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  [data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 991.98px) {
    .hero { background-attachment: scroll; }
    #mainNav { margin-top: 0; }
    .topbar { display: none; }
    .about-img-float { width: 42%; }
  }
  
  @media (max-width: 575.98px) {
    .section { padding: 60px 0; }
    .about-img-main { height: 300px; }
    .hero-title { font-size: 2.1rem; }
    .contact-info-card, .contact-form { padding: 26px 20px; }
  }

  /* ---------- Member login / signup ---------- */
  body.auth-page {
    background: var(--cream);
  }
  body.auth-page #mainNav {
    margin-top: 0;
    background: rgba(255, 247, 236, 0.97);
    box-shadow: 0 4px 20px rgba(46, 30, 18, 0.08);
    padding: 10px 0;
  }
  body.auth-page .brand-text { color: var(--maroon); }
  body.auth-page .brand-text span { color: var(--gold-dark); }
  body.auth-page .navbar-nav .nav-link { color: var(--ink); }
  body.auth-page .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232E1E12' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .auth-wrap {
    padding: 130px 0 80px;
    min-height: 70vh;
  }
  .auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(46, 30, 18, 0.08);
    padding: 32px;
  }
  .auth-link {
    color: var(--maroon);
    font-weight: 600;
  }
  .auth-link:hover { color: var(--maroon-dark); }

  