/* Nido Ranch - South Texas Theme */

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

:root {
  /* South Texas Color Palette */
  --dusty-yellow: #E8B858;
  --sunset-orange: #D97D42;
  --sage-green: #8B9474;
  --earth-brown: #6B4423;
  --sky-blue: #87AABE;
  --forest-green: #2d5016;
  --burnt-orange: #cc5500;
  --off-white: #faf9f6;
  --charcoal: #333333;
  
  /* Semantic colors */
  --bg-color: var(--off-white);
  --text-color: var(--charcoal);
  --card-bg: #ffffff;
  --border-color: #e5e5e5;
}

/* Dark Mode */
html.dark {
  --bg-color: #1a1a1a;
  --text-color: #f5f5f5;
  --card-bg: #2a2a2a;
  --border-color: #3a3a3a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

.main-container {
  min-height: 100vh;
}

/* Hero Section with Sunset Background */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/sunset.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 184, 88, 0.3) 0%,
    rgba(217, 125, 66, 0.4) 50%,
    rgba(45, 80, 22, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.deer-icon {
  font-size: 4rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-title h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--dusty-yellow), var(--sunset-orange));
  color: var(--charcoal);
  padding: 1.2rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-shadow: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.deer-tracks {
  position: absolute;
  bottom: 3rem;
  right: 5rem;
  display: flex;
  gap: 1.5rem;
  opacity: 0.4;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.track {
  font-size: 2.5rem;
  transform: rotate(-15deg);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

/* Section Divider */
.section-divider {
  text-align: center;
  padding: 2rem 0;
  opacity: 0.3;
}

.track-small {
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

/* Intro Section */
.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--earth-brown);
}

html.dark .intro {
  color: var(--text-color);
}

/* Offerings Section */
.offerings {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  color: var(--forest-green);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  font-weight: 700;
}

html.dark h2 {
  color: var(--dusty-yellow);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dusty-yellow), var(--sunset-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--dusty-yellow);
}

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

.card h3 {
  font-size: 1.6rem;
  color: var(--forest-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

html.dark .card h3 {
  color: var(--dusty-yellow);
}

.card p {
  color: #666;
  line-height: 1.7;
}

html.dark .card p {
  color: #ccc;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--sage-green), var(--earth-brown));
  color: white;
  border-radius: 16px;
  margin: 4rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta h2 {
  margin-bottom: 1rem;
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--dusty-yellow), var(--sunset-orange));
  color: var(--charcoal);
  padding: 1.2rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 0.4;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title h1 {
    font-size: 2.5rem;
  }
  
  .deer-icon {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.3rem;
  }
  
  .hero-cta {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
  
  .deer-tracks {
    bottom: 2rem;
    right: 2rem;
    gap: 1rem;
  }
  
  .track {
    font-size: 1.8rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Dark mode specific adjustments */
html.dark .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(45, 80, 22, 0.6) 100%
  );
}
