/* ===== Custom Properties ===== */
:root {
  --color-bg: #0d1f15;
  --color-bg-elevated: #1a2e22;
  --color-bg-card: rgba(26, 46, 34, 0.6);
  --color-gold: #c9a84c;
  --color-gold-light: #dfc06e;
  --color-green: #2d5a3a;
  --color-green-light: #7cb88a;
  --color-cream: #f5f0e8;
  --color-cream-dim: rgba(245, 240, 232, 0.6);
  --color-cream-muted: rgba(245, 240, 232, 0.4);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== Typography ===== */
.font-playfair { font-family: var(--font-display); }
.font-sans { font-family: var(--font-body); }

/* ===== Utility ===== */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: var(--transition-smooth);
}

/* ===== Navbar ===== */
.nav {
  background: rgba(13, 31, 21, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(13, 31, 21, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

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

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

.nav-link:hover {
  color: var(--color-gold) !important;
}

/* ===== Buttons ===== */
.gold-btn {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: #0d1f15;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

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

.gold-btn:active {
  transform: translateY(0);
}

.glass-btn {
  background: rgba(245, 240, 232, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--color-cream);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.glass-btn:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(13, 31, 21, 0.92) 0%,
    rgba(13, 31, 21, 0.75) 50%,
    rgba(13, 31, 21, 0.6) 100%
  );
}

.hero-orb {
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* Hero text animations */
.hero-badge {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-title {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.hero-subtitle {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.hero-buttons {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

.hero-cards {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating stat cards */
.float-card {
  animation: floatCard 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

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

/* Scroll indicator */
.scroll-indicator {
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== Section Styles ===== */
.section-label {
  letter-spacing: 0.25em;
}

.section-title {
  color: var(--color-cream);
}

.section-subtitle {
  line-height: 1.7;
}

/* ===== Services ===== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon {
  transition: transform 0.5s ease;
}

/* ===== About ===== */
.about-image-frame {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.about-accent {
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.15);
}

/* ===== Why Us ===== */
.reason-card {
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: var(--transition-smooth);
}

.reason-card:hover {
  padding-left: 12px;
  border-bottom-color: rgba(201, 168, 76, 0.2);
}

.reason-card:last-child {
  border-bottom: none;
}

/* ===== CTA ===== */
.cta-overlay {
  background: linear-gradient(
    135deg,
    rgba(13, 31, 21, 0.9) 0%,
    rgba(13, 31, 21, 0.8) 100%
  );
}

/* ===== Contact ===== */
.contact-info-card {
  padding: 8px 0;
}

.form-input {
  font-size: 0.95rem;
}

.form-input option {
  background: var(--color-bg-elevated);
  color: var(--color-cream);
}

/* ===== Footer ===== */
.footer {
  background: rgba(13, 31, 21, 0.95);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  z-index: 50;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  transition: color 0.3s ease;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===== Success Message ===== */
.success-message {
  animation: fadeSlideUp 0.5s ease forwards;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .hero-cards {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .services,
  .about,
  .why-us,
  .contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .nav .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===== Focus visible for accessibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--color-cream);
}
