/* Custom Styles for Sterling Creek Vineyards */

:root {
  --color-st-900: #0a0a0a;
  --color-st-800: #1a1a1a;
  --color-st-700: #2a2a2a;
  --color-st-200: #d4d4d4;
  --color-st-300: #a3a3a3;
  --color-st-400: #737373;
  --color-st-gold: #c9a227;
  --color-st-burgundy: #722f37;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--color-st-900);
  color: var(--color-st-100);
}

.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

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

/* Custom Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar */
.nav-link {
  position: relative;
}

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

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

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

::-webkit-scrollbar-track {
  background: var(--color-st-900);
}

::-webkit-scrollbar-thumb {
  background: var(--color-st-700);
  border-radius: 5px;
}

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

/* Mobile Menu Animation */
#mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Focus States */
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-st-gold) !important;
}

/* Button Hover Effects */
button:hover,
a:hover {
  transform: translateY(-2px);
}

button:active,
a:active {
  transform: translateY(0);
}
