:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --coral: #e8645a;
  --coral-dark: #d4534a;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
}

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

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

body {
  color: var(--charcoal);
  background-color: var(--stone-50);
  font-family: 'Inter', sans-serif;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

/* NAV */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.08);
}

.nav-link {
  position: relative;
  color: var(--charcoal);
  opacity: 0.7;
  transition: opacity 0.3s;
}

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

.nav-link:hover {
  opacity: 1;
}

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

.nav-logo-text {
  color: var(--charcoal);
  transition: color 0.3s;
}

/* MOBILE MENU */
#mobile-menu {
  background: var(--stone-50);
}

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

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-link {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-line {
  transition: all 0.3s ease;
}

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

#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
  width: 20px;
  transform: rotate(-45deg) translate(4px, -4px);
}

/* HERO */
.hero-tagline {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* HERO HEADLINE ANIMATION */
h1 .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.7s ease forwards;
}

h1 .hero-word:nth-child(1) { animation-delay: 0.1s; }
h1 .hero-word:nth-child(2) { animation-delay: 0.25s; }
h1 .hero-word:nth-child(3) { animation-delay: 0.4s; }

/* MARQUEE */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

/* GALLERY SCROLL */
@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-scroll-gallery {
  animation: scrollGallery 30s linear infinite;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* COUNTER ANIMATION */
.counter {
  display: inline-block;
}

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

::-webkit-scrollbar-track {
  background: var(--stone-100);
}

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

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

/* SELECTION */
::selection {
  background: var(--coral);
  color: white;
}

/* FORM */
input:focus, select:focus, textarea:focus {
  border-color: var(--coral) !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(232, 100, 90, 0.1);
}

/* BUTTON RIPPLE */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* IMAGE LAZY LOAD PLACEHOLDER */
img {
  background: var(--stone-200);
}
