/* ===== VARIABLES & RESET ===== */
:root {
  --brand-deep: #3a0063;
  --brand-saffron: #ffd000;
  --saffron-900: #cca600;
  --brand-bright: #ffffff;
  --text-on-dark: rgba(255, 255, 255, 0.9);
  --container-max: 1400px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Slightly taller for centered impact */
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 40px;

  /* Updated Gradient: Uniform overlay for centered text legibility */
  background: linear-gradient(
      rgba(58, 0, 99, 0.75), 
      rgba(58, 0, 99, 0.75)
    ),
    url('/images/ray_shrewsberry-squirrel-8223286_1920.jpg');
    
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--brand-bright);
  padding: 100px 0;
  text-align: center; /* Center all text */
}

.hero-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ===== TYPOGRAPHY ===== */
.hero-copy {
  max-width: 900px; /* Wider for centered layout */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center buttons and block elements */
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* Scaled up for center stage */
  line-height: 1.1;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--brand-saffron);
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
  max-width: 750px;
  font-weight: 500;
  text-wrap: balance;
}

/* ===== BUTTONS ===== */
.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
  background: var(--brand-saffron);
  color: var(--brand-deep);
  box-shadow: 0 4px 0 var(--saffron-900);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 208, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--brand-bright);
  border: 2px solid var(--brand-bright);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px; /* Keeps stacked buttons from looking too wide */
  }

  .btn {
    width: 100%;
  }
}