:root {
  --burgundy: #252850; /* Midnight Navy */
  --brightRed: #ff007f; /* Hot Pink */
  --sand: #d5a7e7; /* Soft Lavender */
  --white: #ffffff;
  --black: #0a0617;
  --sandGlow: #7b1fa2; /* Electric Purple */
  --coral: #ff6f61; /* Neon Coral */
  --section-padding: clamp(5rem, 8vw, 9rem);
  --section-gap: clamp(2.5rem, 5vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(213, 167, 231, 0.85),
    var(--white) 45%,
    rgba(37, 40, 80, 0.08)
  );
  color: var(--black);
  transition: background-color 0.4s ease, color 0.4s ease;
  line-height: 1.6;
}

body.dark-mode {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 0, 127, 0.15),
      transparent 45%
    ),
    #161329;
  color: var(--white);
}

section {
  padding-block: var(--section-padding);
  margin-block: var(--section-gap);
}

section.py-5,
section[class*="py-"] {
  padding-top: var(--section-padding) !important;
  padding-bottom: var(--section-padding) !important;
}

section .container > *:not(:last-child) {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

a {
  text-decoration: none;
  color: inherit;
}

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

::selection {
  background: var(--brightRed);
  color: var(--white);
}

.navbar {
  transition: background-color 0.4s ease, padding 0.3s ease;
  padding: 1.25rem 0;
  background: transparent;
}

.navbar-brand {
  color: var(--white);
}

.navbar-brand span {
  color: var(--brightRed);
}

.navbar.scrolled {
  background: rgba(37, 40, 80, 0.95);
  padding: 0.65rem 0;
  backdrop-filter: blur(10px);
}

body.dark-mode .navbar {
  background: rgba(37, 40, 80, 0.45);
}

body.dark-mode .navbar.scrolled {
  background: rgba(10, 6, 23, 0.95);
}

.navbar .nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brightRed);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.theme-toggle {
  border: none;
  background: rgba(37, 40, 80, 0.3);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  border-radius: 30px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: rgba(123, 31, 162, 0.5);
}

body.dark-mode .theme-toggle {
  background: rgba(255, 0, 127, 0.25);
}

header.hero {
  min-height: 100vh;
  background: linear-gradient(
      120deg,
      rgba(37, 40, 80, 0.95),
      rgba(123, 31, 162, 0.85),
      rgba(255, 0, 127, 0.55)
    ),
    url("img/hero.jpg") center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

header.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(213, 167, 231, 0.4), transparent 60%);
  animation: pulse 12s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-premium {
  background: rgba(213, 167, 231, 0.35);
  color: var(--white);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-gradient {
  background: linear-gradient(120deg, var(--brightRed), var(--sandGlow));
  color: var(--white);
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 111, 97, 0.45);
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.9rem;
  color: var(--brightRed);
}

.content-card {
  border-radius: 24px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(9, 4, 4, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(9, 4, 4, 0.15);
}

body.dark-mode .content-card {
  background: rgba(37, 40, 80, 0.85);
  color: var(--white);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(123, 31, 162, 0.15);
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: var(--brightRed);
}

body.dark-mode .feature-item {
  background: rgba(22, 18, 40, 0.95);
  border-color: rgba(213, 167, 231, 0.2);
}

.stat-box {
  background: rgba(255, 111, 97, 0.18);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(123, 31, 162, 0.2);
}

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

.section-sand {
  background: linear-gradient(
    135deg,
    rgba(213, 167, 231, 0.85),
    rgba(255, 255, 255, 0.98),
    rgba(255, 111, 97, 0.08)
  );
}

body.dark-mode .section-sand {
  background: rgba(37, 40, 80, 0.75);
}

.case-studies {
  background: linear-gradient(
    135deg,
    rgba(123, 31, 162, 0.08),
    rgba(213, 167, 231, 0.4)
  );
}

body.dark-mode .case-studies {
  background: linear-gradient(
    135deg,
    rgba(123, 31, 162, 0.25),
    rgba(37, 40, 80, 0.8)
  );
}

.bg-dark {
  background-color: var(--burgundy) !important;
}

.bg-dark.text-white {
  color: var(--sand) !important;
}

.collection-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.collection-card h5,
.collection-card p {
  position: relative;
  z-index: 2;
}

.stat-highlight {
  color: var(--brightRed);
}

.swiper {
  padding: 1rem 0 3rem;
}

.testimonial-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 2rem;
  min-height: 240px;
  box-shadow: 0 20px 45px rgba(9, 4, 4, 0.12);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

body.dark-mode .testimonial-card {
  background: rgba(30, 26, 52, 0.9);
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.form-control,
.form-control:focus,
.form-select {
  border-radius: 18px;
  border: 1px solid rgba(123, 31, 162, 0.2);
  padding: 0.85rem 1.1rem;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brightRed);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background: rgba(20, 16, 38, 0.8);
  color: var(--white);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
}

footer {
  background: var(--burgundy);
  color: var(--sand);
  margin-top: 4rem;
}

footer a {
  color: var(--sand);
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
  .navbar {
    background: rgba(37, 40, 80, 0.95);
  }
}
