/* ----- RESET & VARIABLES ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0F172A;
  --secondary: #C9A227;
  --gold: #C9A227;
  --white: #f1f3f7;
  --light: #f5f2ed;
  --dark: #0a0a0a;
  --font-serif: 'EB Garamond', serif;
  --font-sans: 'Manrope', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--primary);
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, h4, h5, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.gold {
  color: var(--gold);
}

.bg-primary-custom {
  background-color: var(--primary);
}

.text-gold {
  color: var(--gold);
}

/* ----- CURSOR GLOW ----- */
.cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-glow.hover {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

/* ----- SCROLL PROGRESS ----- */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c84a);
  z-index: 9999;
  width: 0%;
  transition: width 0.08s linear;
}

/* ----- PRELOADER ----- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  transition: opacity 0.9s ease;
}

#preloader .loader-ring {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(201, 162, 39, 0.12);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----- BUTTONS ----- */
.btn-gold {
  background: var(--gold);
  color: var(--primary);
  border: none;
  font-weight: 600;
  padding: 16px 44px;
  border-radius: 0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: #a3821e;
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(201, 162, 39, 0.25);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: 14px 38px;
  border-radius: 0;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--primary);
}

/* ----- NAVBAR ----- */
.navbar {
  background: transparent;
  transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 24px 0;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.navbar-brand span {
  color: var(--gold);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400;
  margin: 0 16px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--gold) !important;
}

/* ----- HERO SWIPER ----- */
.hero-swiper {
  width: 100%;
  height: 100vh;
}

.hero-swiper .swiper-slide {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-swiper .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 5.2rem;
  font-weight: 700;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.9;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 0;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(201, 162, 39, 0.3);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.4rem;
  font-weight: bold;
}

/* ----- GLASS CARDS ----- */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 36px 28px;
  transition: 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.section-padding {
  padding: 110px 0;
}

/* ----- BACK TO TOP ----- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 0;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--gold);
  color: var(--primary);
}

/* ----- FLOATING BUTTONS ----- */
.float-btn {
  position: fixed;
  width: 54px;
  height: 54px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #eff1f4;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border: none;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

.whatsapp {
  background: #25D366;
  bottom: 100px;
  right: 10px;
}

.call {
  background: var(--primary);
  bottom: 170px;
  right:10px;
}

.email {
  background: var(--gold);
  bottom: 240px;
  right: 10px;
}

/* ----- GALLERY FILTER ----- */
.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 24px;
  margin: 4px;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 0.3s;
  color: var(--primary);
  border-bottom: 2px solid transparent;
}

.filter-btn.active,
.filter-btn:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

/* ----- BEFORE/AFTER ----- */
.before-after-container  {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.before-after-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

/* ----- COUNTER SECTION ----- */
.counter-section {
  background-attachment: fixed;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px)
 {
    padding-right: 15px;
 }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .section-padding {
    padding: 70px 0;
  }
  .navbar-brand {
    font-size: 1.5rem;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }



/* ----- RIPPLE ANIMATION ----- */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}