﻿/* ============================================
   KRUTIKA NATURAL JAGGERY - GLOBAL STYLES
   Brand Colors: Red, Yellow/Gold, White, Dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --red: #C8102E;
  --red-dark: #9B0B22;
  --red-light: #E8294A;
  --gold: #F5A623;
  --gold-dark: #D4891A;
  --gold-light: #FFD166;
  --green: #2D6A2D;
  --green-dark: #1A4A1A;
  --green-light: #3D8B3D;
  --white: #FFFFFF;
  --off-white: #FFF9F0;
  --dark: #1A1A1A;
  --dark-2: #2D2D2D;
  --gray: #6B6B6B;
  --light-gray: #F5F5F5;
  --shadow: 0 8px 32px rgba(200,16,46,0.15);
  --shadow-gold: 0 4px 20px rgba(245,166,35,0.4);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,16,46,0.1);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar.scrolled {
  height: 60px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.navbar.scrolled .nav-logo img { height: 44px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 64px; width: auto; object-fit: contain; transition: height 0.35s cubic-bezier(0.4,0,0.2,1); }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}
.nav-logo span small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--red);
  background: rgba(200,16,46,0.06);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,16,46,0.4) !important;
  background: linear-gradient(135deg, var(--red-light), var(--red)) !important;
}
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--red);
  background: rgba(200,16,46,0.06);
  border-left-color: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand img { height: 56px; margin-bottom: 1rem; }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}
.footer-contact-item .icon {
  width: 32px; height: 32px;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--gold);
}
.footer-contact-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom span { color: var(--gold); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.2);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-tag.gold {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.3);
  color: var(--gold-dark);
}
.section-tag.white {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title span { color: var(--red); }
.section-title.white { color: var(--white); }
.section-title.white span { color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub.white { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200,16,46,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,16,46,0.5);
  background: linear-gradient(135deg, var(--red-light), var(--red));
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  transform: translateY(-3px);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
}

/* Divider */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 4px;
  margin: 1rem 0 1.5rem;
}
.divider.center { margin: 1rem auto 1.5rem; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 998;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* ============================================
   PAGE HERO — Animated (inner pages)
   ============================================ */
.page-hero {
  padding: 9rem 2rem 5rem;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero_bg.png') center/cover no-repeat;
  opacity: 0.07;
  z-index: 0;
}
/* Animated gradient orbs */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 85% 30%, rgba(245,166,35,0.13) 0%, transparent 70%);
  z-index: 0;
  animation: phOrbShift 7s ease-in-out infinite alternate;
}
@keyframes phOrbShift {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.1); }
}

/* Floating theme elements */
.ph-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.phf {
  position: absolute;
  font-size: 2.8rem;
  opacity: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  animation: phfFloat ease-in-out infinite;
  user-select: none;
}
@keyframes phfFloat {
  0%   { opacity: 0;    transform: translateY(0)      rotate(0deg)   scale(0.8); }
  15%  { opacity: 0.75; }
  50%  {                transform: translateY(-22px)  rotate(8deg)   scale(1.05); }
  85%  { opacity: 0.6; }
  100% { opacity: 0;    transform: translateY(0)      rotate(-4deg)  scale(0.8); }
}

/* Individual positions & timings */
.phf-1 { top: 15%; left:  6%; font-size: 3.5rem;   animation-duration: 6s;   animation-delay: 0s;   }
.phf-2 { top: 60%; left:  3%; font-size: 2.8rem;  animation-duration: 7.5s; animation-delay: 1s;   }
.phf-3 { top: 25%; left: 90%; font-size: 3.2rem;  animation-duration: 5.5s; animation-delay: 0.5s; }
.phf-4 { top: 70%; left: 88%; font-size: 3.8rem;  animation-duration: 8s;   animation-delay: 2s;   }
.phf-5 { top: 45%; left: 12%; font-size: 2.6rem;  animation-duration: 6.5s; animation-delay: 1.5s; }
.phf-6 { top: 80%; left: 75%; font-size: 3rem;  animation-duration: 7s;   animation-delay: 0.8s; }
.phf-7 { top: 10%; left: 50%; font-size: 2.4rem;  animation-duration: 9s;   animation-delay: 3s;   }
.phf-8 { top: 55%; left: 55%; font-size: 2.8rem;  animation-duration: 5s;   animation-delay: 2.5s; }

/* Floating particles */
.ph-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ph-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: phFloat linear infinite;
}
@keyframes phFloat {
  0%   { transform: translateY(0) rotate(0deg);    opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120%) rotate(360deg); opacity: 0; }
}

/* Wave divider */
.ph-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; line-height: 0; }
.ph-wave svg { display: block; width: 100%; }

/* Content */
.page-hero-content {
  position: relative;
  z-index: 3;
  transition: transform 0.15s ease-out;
}

/* Staggered entrance animations */
.page-hero-content .section-tag {
  opacity: 0; transform: translateY(18px);
  animation: phSlideUp 0.6s 0.1s ease forwards;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
  opacity: 0; transform: translateY(22px);
  animation: phSlideUp 0.7s 0.25s ease forwards;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  opacity: 0; transform: translateY(18px);
  animation: phSlideUp 0.7s 0.4s ease forwards;
}
@keyframes phSlideUp {
  to { opacity: 1; transform: translateY(0); }
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(14px);
  animation: phSlideUp 0.6s 0.55s ease forwards;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fadeup { animation: fadeInUp 0.7s ease forwards; }
.animate-left { animation: fadeInLeft 0.7s ease forwards; }
.animate-right { animation: fadeInRight 0.7s ease forwards; }
.animate-scale { animation: scaleIn 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Counter */
.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-pad { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* ============================================
   SECTION FLOATING ELEMENTS (shared)
   ============================================ */
.section-floats { position: relative; overflow: hidden; }

.about-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.af {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0;
  user-select: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
  animation: afDrift ease-in-out infinite;
}
@keyframes afDrift {
  0%   { opacity: 0;    transform: translateY(0)     rotate(0deg)  scale(0.85); }
  15%  { opacity: 0.55; }
  50%  {                transform: translateY(-20px) rotate(6deg)  scale(1.05); }
  85%  { opacity: 0.4; }
  100% { opacity: 0;    transform: translateY(0)     rotate(-4deg) scale(0.85); }
}
.af-1 { top: 10%; left:  2%;  font-size: 3rem;    animation-duration: 7s;   animation-delay: 0s;   }
.af-2 { top: 65%; left:  4%;  font-size: 2.6rem;  animation-duration: 8.5s; animation-delay: 1.2s; }
.af-3 { top: 20%; right: 3%;  font-size: 2.8rem;  animation-duration: 6.5s; animation-delay: 0.6s; }
.af-4 { top: 70%; right: 5%;  font-size: 3.2rem;  animation-duration: 9s;   animation-delay: 2s;   }
.af-5 { top: 42%; left:  1%;  font-size: 2.2rem;  animation-duration: 7.5s; animation-delay: 1.8s; }
.af-6 { top: 80%; right: 2%;  font-size: 2.5rem;  animation-duration: 6s;   animation-delay: 3s;   }
.section-floats > .container,
.about-section-floats > .container { position: relative; z-index: 1; }
