@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --red: #E63946;
  --red-hover: #D62828;
  --yellow: #FFB703;
  --yellow-hover: #FB8500;
  
  /* Neutral Colors */
  --dark: #1E293B;
  --text-main: #334155;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  
  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-red {
  background-color: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-yellow {
  background-color: var(--yellow);
  color: var(--dark);
}

.btn-yellow:hover {
  background-color: var(--yellow-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Header */
.header {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

.logo img {
  height: 90px;
  filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.3)); /* Adds a dark shadow to make yellow pop on white */
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-only-link {
  display: none !important;
}

/* Footer */
.footer {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), var(--white);
  color: var(--text-main);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 90px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.social-icons a:hover {
  background-color: var(--red);
}

.footer-heading {
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '▸';
  color: var(--red);
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--red);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background-color: rgba(0,0,0,0.1);
  font-size: 0.9rem;
}

/* Utility Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.align-center {
  align-items: center;
}

.text-left {
  text-align: left !important;
}

/* Team Section Specifics */
.team-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 450px;
  margin: 0 auto;
}
.team-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.team-info p.font-bold {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Page Headers (Hero) */
.page-hero {
  height: 70vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark); /* Fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links, .header .btn-red {
    display: none;
  }
  
  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 15px;
    z-index: 1001;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-only-link {
    display: block !important;
  }
  .footer-grid, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  /* Mobile order fix for reverse layouts */
  .team-member.reverse-layout .team-info {
    order: 2;
  }
  .team-member.reverse-layout .team-img {
    order: 1;
  }
  
  /* Make team images slightly smaller on mobile to not overwhelm the screen */
  .team-img img {
    max-height: 400px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Desktop Bleed Utility */
@media (min-width: 769px) {
  .bleed-left-desktop {
    justify-self: end !important;
    width: calc(50vw - 40px) !important; /* Forces 20px space on the left edge of the screen */
    max-width: none !important;
  }
}
