/* Premium dark theme with cool silver accents */
:root {
  --bg-dark: #050505;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --gold: #d4d4d8;
  --gold-light: #ffffff;
  --gold-dark: #737373;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #737373;
  --border: #262626;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(192, 192, 192, 0.3);
  color: var(--text-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Demo badge */
.demo-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(192, 192, 192, 0.15);
  border: 1px solid rgba(192, 192, 192, 0.4);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.demo-badge:hover {
  background: rgba(192, 192, 192, 0.25);
}

/* Navigation */
.nav-glass {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

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

/* Hero */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(5, 5, 5, 0.92) 0%,
      rgba(5, 5, 5, 0.75) 50%,
      rgba(5, 5, 5, 0.85) 100%
    ),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(5, 5, 5, 0.4) 100%
  );
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #050505;
  padding: 16px 32px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(192, 192, 192, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Section styling */
.section-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text-primary);
}

/* Cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(192, 192, 192, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--gold);
}

/* Pricing */
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.price-item:hover {
  border-bottom-color: rgba(192, 192, 192, 0.3);
}

.price-item:last-child {
  border-bottom: none;
}

.price-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
  margin: 0 16px;
  height: 1px;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Value cards */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(192, 192, 192, 0.25);
  background: var(--bg-elevated);
}

.value-number {
  font-size: 2.5rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 20px;
}

/* Team */
.team-card {
  text-align: center;
  transition: var(--transition);
}

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

.team-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.team-card:hover .team-image {
  border-color: var(--gold);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Location */
.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

/* Footer */
.footer-link {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold);
}

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

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
}

/* Decorative elements */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.text-gold {
  color: var(--gold);
}

.text-gold-light {
  color: var(--gold-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .demo-badge {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.65rem;
  }

  .hero-section {
    min-height: 100svh;
    padding-top: 80px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.85rem;
  }

  .service-card,
  .value-card {
    padding: 28px 24px;
  }

  .team-image {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 640px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .price-dots {
    display: none;
  }

  .gallery-item {
    aspect-ratio: 3/4;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
