/* style.css - Premium Prabhat Events Theme */

:root {
  /* Deep Premium Palette */
  --bg-dark: #0a0a0a;
  --bg-glass: rgba(20, 20, 20, 0.7);
  --bg-card: rgba(30, 30, 30, 0.6);
  --border-glass: rgba(212, 175, 55, 0.15);
  
  /* Metallic Gold Gradient */
  --gold-gradient: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  --gold-gradient-hover: linear-gradient(to right, #AA771C, #FBF5B7, #B38728, #FCF6BA, #BF953F);
  
  --text-light: #Fdfdfd;
  --text-muted: #e8e8e8; /* Very light gray for high visibility */
}

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

/* Override Bootstrap Defaults for Dark Theme */
.text-muted {
  color: var(--text-muted) !important;
}
.text-secondary {
  color: #cccccc !important;
}
a {
  color: #FBF5B7;
  text-decoration: none;
}
a:hover {
  color: #BF953F;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Playfair Display', serif;
}

.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.tracking-wide { letter-spacing: 2px; }
.tracking-wider { letter-spacing: 4px; }

/* Utilities */
.bg-dark-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}
.btn-gold:hover::before {
  left: 100%;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  color: #000;
}

.btn-outline-gold {
  background: transparent;
  color: #FBF5B7;
  border: 1px solid #BF953F;
  font-weight: 600;
  transition: all 0.4s ease;
}
.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}
.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,1)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, #0a0a0a 100%);
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  line-height: 1.2;
}

/* Cards (Glassmorphism) */
.service-card, .dashboard-card, .auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}
.service-icon {
  font-size: 3rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
}
.gallery-item img {
  width: 100%;
  transition: transform 0.8s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Forms */
.form-control, .form-select {
  background: rgba(0,0,0,0.5) !important;
  border: 1px solid var(--border-glass) !important;
  color: #ffffff !important; /* Explicit white for input text */
  padding: 12px 15px;
  border-radius: 8px;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7); /* Readable placeholder */
}
.form-select option {
  background-color: #1a1a1a; /* Solid dark background for dropdown items */
  color: #ffffff;
}
.form-control:focus, .form-select:focus {
  background: rgba(0,0,0,0.7);
  border-color: #BF953F;
  color: var(--text-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.input-group-text {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
  border-right: none;
}
.input-group .form-control {
  border-left: none;
}

/* Auth Page */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.9)), url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
}
.auth-card {
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Floating CTAs */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-btn:hover {
  transform: scale(1.15) translateY(-5px);
  color: #fff;
}
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.btn-call { background: var(--gold-gradient); color: #000 !important; }

/* Dashboard Specifics */
.sidebar {
  background: rgba(15, 15, 15, 0.95);
  border-right: 1px solid var(--border-glass);
}
.table { color: var(--text-light); }
.table-dark {
  background-color: transparent;
}
.table thead th {
  border-bottom: 2px solid #BF953F;
  color: #FBF5B7;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.table td { border-bottom: 1px solid var(--border-glass); }
