/* Standardized global styles */
:root {
  --brand-blue: #0a1227;
  --brand-orange: #ED4B00;
  --text-white: #ffffff;
  --text-gray: #D9D9D9;
  --card-bg: rgba(217, 217, 217, 0.05);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--brand-blue);
  color: var(--text-white);
  line-height: 1.5;
  padding: 0 1rem;
}

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

a:hover {
  text-decoration: none;
}

/* Container for the main content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2vw 1rem;
}

/* Header / Hero section */
header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Tab Container Styles */
.tab-container {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.25rem;
  display: inline-flex;
}

.tab-button {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 500;
}

.tab-button.active {
  background-color: white;
  color: var(--brand-blue);
}

.tab-button:not(.active) {
  background-color: transparent;
  color: var(--text-white);
}

/* Title Styles */
.title-1 {
  font-size: 100px;
  font-style: italic;
  font-weight: bold;
  color: var(--brand-orange);
  margin: 0px;
  padding: 0px;
  line-height: 60%;
  margin-bottom: 50px;
}

.title-2 {
  font-size: 100px;
  font-style: italic;
  font-weight: bold;
  color: var(--brand-orange);
  margin: 0px;
  padding: 0px;
  line-height: 60%;
}

.title-3 {
  font-size: 100px;
  font-style: italic;
  margin-bottom: 80px;
  padding: 0px;
  line-height: fit-content;
}

.subtitle {
  color: var(--text-gray);
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
}

/* Social links */
.social-links {
  margin-top: 40px;
  margin-bottom: 120px;
  color: var(--text-white);
  text-align: center;
  font-family: Montserrat;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.social-links a {
  margin: 0 0.5rem;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.15);
}

.social-links svg {
  padding-top: 5px;
}

/* Section Styles */
section {
  text-align: center;
  margin-bottom: 2rem;
}

section h2 {
  color: var(--text-gray);
  text-align: center;
  font-family: Montserrat;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0.5rem;
}

section p {
  font-size: 20px;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: lighter;
}

/* Products Grid */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* Card Styles - Used for both product cards and stat cards */
.card {
  width: 353px;
  height: 372px;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s ease;
  border-radius: 20px;
  border: 0.3px solid var(--text-gray);
  margin-right: 10px;
  margin-bottom: 30px;
  background: var(--card-bg);
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  max-width: 300px;
  height: 158px;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.card h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: lighter;
  line-height: normal;
  margin-bottom: 36px;
}

.card p {
  font-size: 14px;
  font-style: normal;
  font-weight: lighter;
  line-height: normal;
  text-transform: none;
}

/* Card Links */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: auto;
  margin-right: 10px;
  margin-bottom: 30px;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Adjust card styling for when it's inside a link */
.card-link .card {
  margin-right: 0;
  margin-bottom: 0;
}

.scroll-indicator {
  display: block;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-top: 40px;
  cursor: pointer;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

#product-grid {
  padding-top: 5vh;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  
  header {
    margin-top: 0vh;
  }
  
  .title-1 {
    font-size: 15vw;
    margin-top: 2.5vh;
    margin-bottom: 3vh;
  }

  .title-2 {
    font-size: 8vw;
    margin-top: 0vh;
  }

  .title-3 {
    font-size: 10vw;
    margin-bottom: 12vh;
  }
  
  .subtitle {
    font-size: 18px;
  }

  .social-links {
    flex-direction: column;
    gap: 6vh;
    margin-bottom: 0vh;
  }

  section p {
    font-size: 15px;
  }

  .scroll-indicator {
    margin-bottom: 30vh;
  }
}
