/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 169, 110, 0.3);
  color: #fff;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080808;
}
::-webkit-scrollbar-thumb {
  background: #6B0F1A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9f0d30;
}

/* ===== GOLD BUTTON ===== */
.gold-btn {
  background: linear-gradient(135deg, #C9A96E 0%, #B8944F 50%, #C9A96E 100%);
  color: #080808;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
  position: relative;
  overflow: hidden;
}

.gold-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E8D5A3 0%, #C9A96E 50%, #B8944F 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
}

.gold-btn:hover::before {
  opacity: 1;
}

.gold-btn span,
.gold-btn svg,
.gold-btn > * {
  position: relative;
  z-index: 1;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  font-weight: 600;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: #C9A96E;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(107, 15, 26, 0.15);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ===== FLOATING CARDS (Hero) ===== */
.floating-card {
  animation: float1 6s ease-in-out infinite;
}

.floating-card-2 {
  animation: float2 7s ease-in-out infinite;
}

.floating-card-3 {
  animation: float3 5s ease-in-out infinite;
}

.floating-card-4 {
  animation: float4 8s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* ===== NAVBAR ===== */
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-blur-xl;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open #mobileMenu {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open .menu-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
  width: 6px;
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
}

/* ===== FADE-IN ANIMATIONS (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-in-up:nth-child(4) { transition-delay: 0.3s; }
  .fade-in-up:nth-child(5) { transition-delay: 0.4s; }
  .fade-in-up:nth-child(6) { transition-delay: 0.5s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .floating-card,
  .floating-card-2,
  .floating-card-3,
  .floating-card-4 {
    display: none;
  }
}
