/* Symphony of Colours by Ritika - House of Homes Inspired Theme Customization */

:root {
  --primary: #6f6a5e;
  --primary-dark: #2e2b26;
  --primary-light: #595449;
  --accent: #c8a97e;
  --accent-light: #f3e8dc;
  --gold: #d4b483;
  --bg: #f3e9de;
  --text: #36322b;
  --muted: #6e675c;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(111, 106, 94, 0.08);
  --radius: 16px;
}

/* Override Bootstrap colors */
.btn-primary {
  background: var(--primary);
  border: none;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(111, 106, 94, 0.2);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 43, 38, 0.3);
}

.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(111, 106, 94, 0.15);
}

/* Body background */
body {
  background: #f3e9de !important;
  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.72rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  padding: 0.35rem 0.8rem !important;
  color: #2e2b26 !important;
}

.badge.text-dark,
.hero-badge {
  color: #2e2b26 !important;
}

/* 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: #f3e9de !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: 'Cormorant Garamond', Georgia, serif;
  color: var(--primary) !important;
}

.nav-link {
  color: #4a4a4a !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  border-radius: 8px;
  transition: all 0.25s ease;
  padding: 0.6rem 1.6rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--accent-light);
  text-decoration: underline !important;
  text-underline-offset: 6px;
  text-decoration-color: var(--primary) !important;
  text-decoration-thickness: 2px;
}

/* Feature boxes */
.feature-box {
  text-align: left;
  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: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, background-color 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 50px rgba(45, 11, 61, 0.16) !important;
  background-color: var(--accent-light) !important;
}

.feature-box i {
  font-size: 1.35rem;
  color: var(--accent);
  display: inline-block;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-box:hover i {
  transform: scale(1.15);
}

.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: 60px 0 55px;
  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: #f3e9de !important;
  color: var(--text) !important;
  padding: 4rem 0 0;
  margin-top: 5rem;
}

footer h4 {
  color: var(--primary) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer a {
  color: #705757 !important;
  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;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 70px;
  height: 70px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.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);
}

/* 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: 45px 0 40px !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;
  }
}

.founder-title {
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .founder-title {
    white-space: normal;
  }
}

/* Global override to remove Bootstrap default blue active/focus background */
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
  background-color: #f3e8dc !important;
  color: #9c7656 !important;
  outline: none !important;
}


