/* 
  TIRUNIDHI Premium Styles 
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-gold: #D4AF37;
  --color-gold-hover: #C5A028;
  --color-black: #050505;
  --color-black-light: #1A1A1A;
  --color-deep-green: #06402B;
  --color-deep-green-dark: #032015;
  --color-white: #ffffff;
  --color-gray: #f5f5f5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --gradient-gold: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA801F 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-black-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
}

/* Typography Enhancements */
.text-gold { color: var(--color-gold) !important; }
.text-deep-green { color: var(--color-deep-green) !important; }
.bg-dark-luxury { background: var(--gradient-dark); color: var(--color-white); }
.bg-deep-green { background-color: var(--color-deep-green); color: var(--color-white); }

/* Keep dark background when combined with glass-panel (glass-panel alone overrides bg-dark-luxury) */
.bg-dark-luxury.glass-panel,
.glass-panel.bg-dark-luxury {
  background: var(--gradient-dark);
  color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 { color: inherit; }
.bg-dark-luxury h1,
.bg-dark-luxury h2,
.bg-dark-luxury h3,
.bg-dark-luxury h4,
.bg-dark-luxury h5,
.bg-dark-luxury h6,
.glass-panel.bg-dark-luxury h1,
.glass-panel.bg-dark-luxury h2,
.glass-panel.bg-dark-luxury h3,
.glass-panel.bg-dark-luxury h4,
.glass-panel.bg-dark-luxury h5,
.glass-panel.bg-dark-luxury h6 {
  color: var(--color-white);
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
}

/* Navbar */
.navbar {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
  padding: 1rem 0;
}
.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.navbar-brand img {
  height: 50px;
  transition: all 0.4s ease;
}
.navbar-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-left: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}
.nav-link {
  color: var(--color-white) !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-gold) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn-gold {
  background: var(--gradient-gold);
  color: var(--color-black);
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  color: var(--color-black);
}
.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-outline-gold:hover {
  background: var(--gradient-gold);
  color: var(--color-black);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background: url('https://images.unsplash.com/photo-1541888086225-f64069f2142d?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.7), rgba(6,64,43,0.8));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
  padding: 0 20px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

/* Premium Cards */
.premium-card {
  background: var(--color-white);
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
}
.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.premium-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.premium-card:hover .card-img-top {
  transform: scale(1.05);
}
.premium-card .card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
  background: var(--color-white);
}
.premium-card .card-title {
  font-size: 1.5rem;
  color: var(--color-deep-green);
  margin-bottom: 1rem;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-gold);
  z-index: 2;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}
.feature-box:hover .feature-icon {
  background: var(--color-gold);
  color: var(--color-white);
  transform: rotateY(180deg);
}

/* Glassmorphism Sections (use on dark sections only, or with .bg-dark-luxury) */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 15px;
}
/* Stats Counter */
.stat-item {
  text-align: center;
  padding: 2rem;
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}
.stat-text {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 64, 43, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay h4 {
  color: var(--color-gold);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
  background: var(--color-gray);
  padding: 2.5rem;
  border-radius: 10px;
  position: relative;
}
.testimonial-icon {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: var(--color-black);
  color: #ccc;
  padding: 5rem 0 2rem;
  border-top: 5px solid var(--color-gold);
}
.footer h5 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Page Headers (for inner pages) */
.page-header {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(5,5,5,0.8), rgba(5,5,5,0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  color: var(--color-white);
  text-align: center;
}
.page-title {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

/* Scroll Animations — keep text visible; animate position only */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(30px);
  transition: transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-on-scroll.is-visible {
    transform: none;
    transition: none;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}
