/* Design Tokens */
:root {
  --primary-color: #C02126;
  /* Vibrant Red */
  --secondary-color: #ffffff;
  /* White */
  --background-dark: #111215;
  /* Deep Dark Grey */
  --background-light: #f4f4f4;
  --text-main: #ffffff;
  --text-secondary: #cccccc;

  --font-main: 'Barlow', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  --container-width: 95%;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--background-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

/* Utils */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background-color: #a01b20;
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(17, 18, 21, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
}

.logo span {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
#hero {
  min-height: 90%;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 40px;
  /* Header height */
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-xl);
}

.hero-text {
  z-index: 2;
}

.hero-slogan {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-image {
  width: 90%;
  position: relative;
}

.hero-image img {
  width: 90%;
  object-fit: cover;
  height: auto;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  border-bottom: 4px solid var(--primary-color);
}

.hero-badges img {
  width: 95%;
  object-fit: cover;
  height: auto;
  /*height: clamp(100px, 30vh, 270px);*/
  /*height: clamp(120px, 30vh, 300px);*/
  margin-top: var(--spacing-md);
}

/* Custom Design Updates */
.font-montserrat {
  font-family: var(--font-heading);
}

.large-number-img {
  height: 75vh;

}

.large-banner-img {
  width: 80%;
  object-fit: cover;
  height: auto;
  /*height: clamp(100px, 30vh, 270px);*/
  /* 3x original 60px */
  margin-top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.highlight-box {
  background: rgba(255, 255, 255, 1);
  padding: 20px 30px;
  border-radius: 16px;
  display: inline-block;
  margin-top: var(--spacing-md);
  box-shadow: 0 0 20px rgba(192, 33, 38, 0.4);
  /* Red glow */
  border: 4px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(192, 33, 38, 0.6);
}

/* About Section */
#about {
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-xl);
}

.about-text h2 {
  color: var(--background-dark);
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Proposals Section */
.proposals-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.proposal-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.proposal-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
}

.proposal-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

/* Contact/Footer */
footer {
  background-color: black;
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-slogan {
    white-space: normal;
  }

  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .hero-image {
    order: -1;
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-badges img,
  .large-banner-img {
    width: 80%;
    height: auto;
    max-width: 80%;
    object-fit: contain;
  }

  .large-banner-img {
    width: 90%;
    max-width: 90%;
    box-sizing: border-box;
    /* Ensure padding doesn't widen element */
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
  }

  /* Rotate bars to X */
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    /* Header height approx */
    gap: 0;
    flex-direction: column;
    background-color: rgba(17, 18, 21, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  header .container {
    justify-content: space-between;
  }
}

/* Instagram Section */
.instagram-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.instagram-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
}

.instagram-item iframe {
  border-radius: 8px;
  width: 100%;
}