/* style/index.css */
:root {
  --primary-color: #004882;
  --secondary-color: #E21C21;
  --text-color: #333;
  --bg-color: #f9f9f9;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}

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

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links li a {
  color: var(--text-color);
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--secondary-color);
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  background-color: var(--bg-color);
}

.hero-content {
  flex: 1;
  text-align: left;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: darken(var(--secondary-color), 10%);
}

/* Brand Intro */
.brand-intro {
  padding: 4rem 2rem;
  text-align: center;
}

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

.brand-intro p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Product Showcase */
.product-showcase {
  padding: 4rem 2rem;
  background-color: #fff;
}

.product-showcase h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-item {
  text-align: center;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.product-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-item p {
  font-size: 1rem;
}

/* Event Highlight */
.event-highlight {
  padding: 4rem 2rem;
  text-align: center;
}

.event-highlight h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.event-card {
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: auto;
}

.event-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1rem;
}

.event-card p {
  font-size: 1rem;
  margin: 0 1rem 1rem;
}

.event-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.event-link:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* Contact Us */
.contact-us {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--bg-color);
}

.contact-us h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-us p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: darken(var(--secondary-color), 10%);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    margin-left: 0;
    margin-top: 2rem;
  }

  .nav-links li a {
    color: #fff;
  }

  .burger {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    padding-right: 0;
  }

  .hero-image {
    margin-top: 2rem;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}