/*
 * Shield & Ladder Foundation website styles
 *
 * A modern, dark-themed design using gold, blue and red accents.
 * The layout is responsive and adapts gracefully across devices.
 */

/* Reset some basic styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #0A0A0A;
  color: #E6E6E6;
}

img {
  max-width: 100%;
  display: block;
}

/* Container provides a max width and horizontal padding */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
}

/* Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid #1f1f1f;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #F5F5F5;
}

.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.brand-name {
  font-weight: 600;
  font-size: 1.25rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #C9A400;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #E6E6E6;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: url('assets/logo.png') no-repeat center/cover;
  position: relative;
}

/* Overlay to darken hero image for contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #F5F5F5;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #C9A400;
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #E6E6E6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #C9A400;
  color: #0A0A0A;
}

.btn-primary:hover {
  background-color: #E6E6E6;
  color: #0A0A0A;
}

.btn-secondary {
  background-color: #0033a0;
  color: #F5F5F5;
}

.btn-secondary:hover {
  background-color: #C8102E;
  color: #F5F5F5;
}

/* Sections */
.section {
  padding: 4rem 0;
  border-bottom: 1px solid #1f1f1f;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #C9A400;
  text-align: center;
}

section p {
  margin-bottom: 1.5rem;
  color: #CCCCCC;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background-color: #151515;
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-logo-placeholder {
  height: 80px;
  margin-bottom: 1rem;
  background-color: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  border-radius: 4px;
  font-size: 0.9rem;
}

.partner-card h3 {
  margin-bottom: 0.5rem;
  color: #F5F5F5;
}

.partner-card p {
  color: #AAAAAA;
  font-size: 0.9rem;
  text-align: left;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background-color: #151515;
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo-placeholder {
  height: 120px;
  margin-bottom: 1rem;
  background-color: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  border-radius: 50%;
  font-size: 0.9rem;
  width: 120px;
  margin-left: auto;
  margin-right: auto;
}

.team-card h3 {
  margin-bottom: 0.25rem;
  color: #F5F5F5;
  font-size: 1.1rem;
}

.team-card p {
  color: #AAAAAA;
  font-size: 0.9rem;
}

/* Call to action */
.cta-section {
  background-color: #151515;
  text-align: center;
}

.cta-content h2 {
  color: #C9A400;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #CCCCCC;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #2c2c2c;
  border: none;
  border-radius: 4px;
  color: #F5F5F5;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: #0A0A0A;
  padding: 1.5rem 0;
  border-top: 1px solid #1f1f1f;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  margin-bottom: 0.5rem;
  color: #777;
}

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

.footer-nav a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #C9A400;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav ul {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    min-height: 60vh;
  }
  .section {
    padding: 3rem 0;
  }
  .partners-grid,
  .team-grid {
    gap: 1rem;
  }
  .cta-content h2 {
    font-size: 1.75rem;
  }
}