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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Barlow', sans-serif;
  background-color: #f5f5f5;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 100;
}

.logo {
  height: 60px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

/* Filled button - Contact */
.nav-links a.contact-btn {
  color: #ffffff;
  background-color: #000000;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #000000;
  transition: all 0.3s ease;
}

.nav-links a.contact-btn:hover {
  background: linear-gradient(135deg, #000000, #3533cd);
  border-color: #3533cd;
}

.nav-links a.contact-btn:active {
  background: linear-gradient(135deg, #000000, #3533cd);
  border-color: #3533cd;
  transform: scale(0.96);
}

/* Outline button - Products */
.nav-links a.outline-btn {
  color: #000000;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #000000;
  transition: all 0.3s ease;
}

.nav-links a.outline-btn:hover {
  background: linear-gradient(135deg, #000000, #3533cd);
  border-color: #3533cd;
  color: #ffffff;
}

.nav-links a.outline-btn:active {
  transform: scale(0.96);
}

/* ================================
   ABOUT PAGE
================================ */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.about-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 4rem;
  position: relative;
  width: 85%;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  background: linear-gradient(135deg, #000000, #3533cd);
  z-index: -1;
}

.about-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #000000, #3533cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-card p {
  font-size: 1.2rem;
  line-height: 2;
  color: #333333;
  margin-bottom: 1.5rem;
}

/* ================================
   PRODUCTS PAGE
================================ */
main.catalogue {
  display: block;
  padding: 4rem 2rem;
}

.product-section {
  margin-bottom: 6rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #000000, #3533cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* 3 column grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 2 column grid */
.fiber-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

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

/* Uniform image height */
.product-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.product-card p {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #333333;
}

/* ================================
   FOOTER
================================ */
footer {
  background: #000000;
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #3533cd, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-contacts a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-contacts a:hover {
  color: #3533cd;
}

.footer-bottom {
  color: #666666;
  font-size: 0.85rem;
  font-family: 'Barlow', sans-serif;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 0.75rem 1rem;
  }

  .logo {
    height: 40px;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-links a.contact-btn,
  .nav-links a.outline-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  /* About page */
  main {
    display: block;
    padding: 1.5rem;
  }

  .about-card {
    width: 100%;
    padding: 2rem;
  }

  .about-card h2 {
    font-size: 2.5rem;
  }

  .about-card p {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* Products page */
  main.catalogue {
    padding: 2rem 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .fiber-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* Footer */
  .footer-contacts {
    flex-direction: column;
    gap: 1rem;
  }

}