/* ============================================
   CHAMPARAN VILLA — Custom Styles
   ============================================ */

:root {
  --gold: #d4af37;
  --gold-light: #f5e6cc;
  --gold-dark: #b8860b;
  --dark: #0a0a0a;
  --dark-secondary: #111827;
  --dark-card: #1a1a2e;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ── Gold Gradient Text ── */
.gold-text {
  background: linear-gradient(135deg, #d4af37 0%, #f5e6cc 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gold Shimmer ── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.gold-shimmer {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

/* ── Navbar ── */
.navbar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ── Hero ── */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(10, 10, 10, 1) 100%
  );
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 1s ease forwards;
}
.animate-delay-1 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.6s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.8s; opacity: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ── Section Divider ── */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ── Cards ── */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.12);
}

.card-image-zoom img {
  transition: transform 0.6s ease;
}
.card-image-zoom:hover img {
  transform: scale(1.1);
}

/* ── Menu Tabs ── */
.menu-tab {
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.menu-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.menu-tab.active {
  color: var(--gold) !important;
}
.menu-tab.active::after,
.menu-tab:hover::after {
  width: 100%;
}

/* Veg / Non-veg indicator */
.veg-badge {
  width: 16px;
  height: 16px;
  border: 2px solid #22c55e;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.veg-badge::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.nonveg-badge {
  width: 16px;
  height: 16px;
  border: 2px solid #ef4444;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nonveg-badge::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

/* ── Gallery ── */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ── Testimonials ── */
.testimonial-card {
  min-width: 100%;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: 50%;
  }
}
@media (min-width: 1024px) {
  .testimonial-card {
    min-width: 33.333%;
  }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: whatsapp-pulse 2s infinite;
}

/* ── Announcement Banner ── */
.announcement-banner {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  animation: shimmer 4s linear infinite;
  background-size: 200% 100%;
}

/* ── Gold Button ── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 30px;
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--gold);
}

/* ── Stats Counter ── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Misc ── */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gold-border-gradient {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.gold-border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Loading Skeleton ── */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}
.skeleton {
  background: linear-gradient(90deg, #1a1a2e, #2a2a4e, #1a1a2e);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── Responsive Tweaks ── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  .section-title {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
}
