/* Bharati Arts & Creations - Bootstrap Customization */

:root {
  --primary: #4a1259;
  --primary-light: #7a2a8e;
  --accent: #FF69B4;
  --accent-light: #FFE0EE;
  --gold: #FFD700;
  --bg: #fffafc;
  --text: #2b1a32;
  --muted: #6b5a72;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(74, 18, 89, 0.08);
  --radius: 14px;
}

/* Override Bootstrap colors */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  box-shadow: 0 8px 20px rgba(74, 18, 89, 0.3);
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), #5a1569));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 18, 89, 0.4);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-width: 2px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74, 18, 89, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), 
                    url('../images/homebg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.16) 0, transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(122, 42, 142, 0.12) 0, transparent 20%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--primary);
  font-weight: 900;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero .lead {
  color: var(--primary);
  font-weight: 600;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary) !important;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Body background */
body {
  background: radial-gradient(circle at top left, #fff5fb 0%, #ffe8f4 22%, #f8efff 55%, #fffdfa 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.16) 0, transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(122, 42, 142, 0.12) 0, transparent 20%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
}

h1 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

h2 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.03);
}

.text-muted {
  color: var(--muted) !important;
}

/* Badges/Labels */
.badge {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

/* Cards */
.card {
  background: linear-gradient(180deg, #ffffff 0%, #fff4fb 100%);
  border: none;
  box-shadow: 0 25px 60px rgba(120, 42, 118, 0.08);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 65px rgba(120, 42, 118, 0.18);
}

.card-img-top {
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.06);
  filter: brightness(1.02);
}

.card-title {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.card-text {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Links in cards */
.card a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.card a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Navbar customization */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  padding: 0.4rem 0 !important;
}

.navbar-brand {
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--primary) !important;
}

.nav-link {
  color: #2b0038 !important;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.25s ease;
  padding: 0.5rem 1.2rem !important;
  margin: 0 2px;
}

.nav-link:hover {
  color: var(--primary) !important;
  background: rgba(252, 228, 236, 0.5);
}

.nav-link.active {
  color: #3a084c !important;
  background: #fde7f3 !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(240, 98, 146, 0.12);
}

/* Feature boxes */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(120, 42, 118, 0.08);
  transition: all 0.35s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-6px);
}

.feature-box i {
  font-size: 2.6rem;
  color: #9b27ab;
  background: rgba(255, 105, 180, 0.12);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
}

.feature-box h5 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #8e2be2, #d81bd5);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 1140px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-banner .btn {
  background: #fff;
  color: #7a2a8e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

/* Page header for inner pages */
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: #fff;
  position: relative;
  font-weight: 900;
}

.page-header p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  margin: 1rem auto 0;
  position: relative;
}

/* Forms */
.form-control,
.form-select {
  border: 1.5px solid #eadfee;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 166, 184, 0.15);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--primary);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Footer */
footer {
  background: #1a0820;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
  margin-top: 5rem;
}

footer h4 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent);
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

/* Testimonials */
.testimonial {
  background: #fff;
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial .stars {
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.testimonial p {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-user strong {
  display: block;
  color: var(--text);
}

.testimonial-user span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Floating Social Buttons */
.instagram-float {
  position: fixed;
  bottom: 94px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
  text-decoration: none;
}

.instagram-float:hover {
  transform: scale(1.1);
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    padding-top: 1rem;
  }
  
  .cta-banner {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 !important;
  }
  
  .page-header {
    padding: 100px 0 80px !important;
  }
  
  h1 {
    font-size: 1.8rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .feature-box {
    padding: 1.5rem 1rem;
  }
  
  .cta-banner {
    margin: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 0 !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  .display-4, .display-5 {
    font-size: 1.5rem !important;
  }
  
  .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
  
  .instagram-float {
    width: 50px;
    height: 50px;
    bottom: 76px;
    right: 16px;
    font-size: 1.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
    font-size: 1.5rem;
  }
}
