/* CSS Custom Properties for Modern Theming */
:root {
  /* Colors */
  --primary: #CC5500;
  /* Tactical Orange */
  --primary-hover: #AA4400;
  --secondary: #4B5320;
  /* Olive Drab */
  --secondary-light: #5A6230;
  --text-dark: #2A2A2A;
  --text-light: #F0F0F0;
  --bg-main: #FFFFFF;
  --bg-light: #E8EBE4;
  /* Very light grey-green */
  --bg-dark: #2F352B;
  /* Dark Olive / Charcoal */
  --glass-bg: rgba(47, 53, 43, 0.4);
  --glass-border: rgba(47, 53, 43, 0.5);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions & Shadows */
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-desc {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--secondary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(47, 53, 43, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

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

.nav-actions {
  display: flex;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('./Storm/images/storm_hero2_hires.jpg?v=6');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(47, 53, 43, 0.7), rgba(47, 53, 43, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-text p:not(.motto) {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.stat-card h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

/* Impact Section */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.impact-card {
  background: var(--bg-main);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.impact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.card-content p {
  color: #666;
}

/* CTA Section */
.cta-section {
  background-image: url('./Storm/images/storm_hero2_hires.jpg?v=6');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 53, 43, 0.8);
}

.glassmorphism {
  position: relative;
  z-index: 10;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.glassmorphism h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.glassmorphism p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.7;
}

.footer-contact h3,
.footer-links h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  opacity: 0.8;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links,
  .nav-actions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    clip-path: circle(0 at 50% 0);
    transition: clip-path 0.5s ease-in-out;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-actions {
    clip-path: circle(150% at 50% 0);
  }

  .hero {
    background-image: url('./Storm/images/storm_hero.jpg?v=7');
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-cta,
  .cta-actions {
    flex-direction: column;
  }

  .glassmorphism {
    padding: 2rem;
  }

  .glassmorphism h2 {
    font-size: 2rem;
  }
}