/* ============================================
   Hayavadana CATERERS — Premium Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9C7A2E;
  --deep: #0E0A04;
  --surface: #1A1208;
  --surface2: #241A0A;
  --cream: #FFF8EE;
  --cream-dim: #C8B89A;
  --burgundy: #6B1A2A;
  --text: #EDE0C8;
  --text-muted: #9E8E74;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0, 0, 0, .5);
  --nav-h: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--deep);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 99px;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

#navbar.scrolled {
  background: rgba(14, 10, 4, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 2px;
  background: var(--surface2);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: .02em;
}

.nav-brand .gold {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color .3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--deep) !important;
  padding: .5rem 1.4rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: .04em;
  transition: transform .3s, box-shadow .3s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, .35) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('./img1.jpg') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(14, 10, 4, .85) 0%,
      rgba(107, 26, 42, .35) 50%,
      rgba(14, 10, 4, .9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
  animation: fadeUp .9s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, .15);
  border: 1px solid rgba(201, 168, 76, .4);
  color: var(--gold-light);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .7);
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--deep);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  letter-spacing: .04em;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, .3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, .45);
}

.btn-ghost {
  border: 1px solid rgba(201, 168, 76, .5);
  color: var(--gold-light);
  font-weight: 500;
  font-size: .95rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s;
}

.btn-ghost:hover {
  background: rgba(201, 168, 76, .12);
  border-color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
  opacity: .6;
}

.hero-scroll span {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   MEANING STRIP
   ============================================ */
.meaning-strip {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%);
  border-top: 1px solid rgba(201, 168, 76, .2);
  border-bottom: 1px solid rgba(201, 168, 76, .2);
  padding: 2rem 0;
}

.meaning-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.meaning-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
}

.meaning-sanskrit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.meaning-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream);
}

.meaning-sub {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.meaning-divider {
  font-size: 1.2rem;
  color: var(--gold-dark);
  opacity: .6;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 7rem 2rem;
  background: var(--deep);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: .8rem;
  margin-bottom: 1.2rem;
}

.about h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: .97rem;
  margin-bottom: 1.1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, .15);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.stat span {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.about-image {
  position: relative;
}

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 168, 76, .2);
}

.img-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 90px;
  height: 90px;
  background: var(--surface2);
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.img-badge img {
  border-radius: 50%;
  object-fit: contain;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 6rem 2rem;
  background: var(--surface);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface2);
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, .5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(201, 168, 76, .15);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .86rem;
  color: var(--text-muted);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 7rem 2rem;
  background: var(--deep);
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 3rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, .12);
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  transition: transform .6s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 10, 4, .85), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 7rem 2rem;
  background: var(--surface);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.contact-text p {
  color: var(--text-muted);
  font-size: .97rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface2);
  border: 1px solid rgba(201, 168, 76, .12);
  border-radius: 12px;
  padding: 1rem 1.4rem;
}

.contact-icon {
  font-size: 1.4rem;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.contact-item strong {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
}

.contact-item span {
  font-size: .95rem;
  color: var(--cream-dim);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: linear-gradient(135deg, #1DA851, #25D366);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .25);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .4);
}

.contact-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.contact-logo img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid rgba(201, 168, 76, .4);
  padding: 1rem;
  background: var(--surface2);
  box-shadow: 0 0 60px rgba(201, 168, 76, .15);
  animation: glow 3s ease-in-out infinite alternate;
}

.contact-logo blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  max-width: 280px;
  line-height: 1.6;
  border-left: 3px solid var(--gold-dark);
  padding-left: 1rem;
  text-align: left;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(201, 168, 76, .15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: .4rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  padding: 2px;
  background: var(--surface2);
}

footer p {
  font-size: .85rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: .78rem;
  color: var(--gold-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0% {
    opacity: .6;
    transform: scaleY(1);
  }

  100% {
    opacity: .15;
    transform: scaleY(.6);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 30px rgba(201, 168, 76, .1);
  }

  to {
    box-shadow: 0 0 80px rgba(201, 168, 76, .35);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
  }

  .img-badge {
    display: none;
  }

  .contact-logo {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 10, 4, .97);
    padding: 1.5rem 2rem;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(201, 168, 76, .15);
    backdrop-filter: blur(16px);
  }

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

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .meaning-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}