/* ==========================================================================
   COMPONENTS - HERO LOGO
   ========================================================================== */
.hero-logo {
  text-align: center;
  padding: 60px 20px 30px;
}

.hero-logo__image {
  max-width: 320px;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   COMPONENTS - SERVICES
   ========================================================================== */
.services {
  text-align: center;
}

.services__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 120px;

  padding: 0 10px 20px;
}

.services__list li {
  width: 120px;
}

.services i {
  margin-bottom: 10px;
}

.services p {
  margin: 5px;
}

/* ==========================================================================
   COMPONENTS - CAROUSEL
   ========================================================================== */
.carousel {
  position: relative;
  height: 600px;
  color: black;
  background-color: black;
  justify-content: center;
  overflow: hidden;
}
.carousel__chevron-left,
.carousel__chevron-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 40px;
  opacity: 0;
  transition: all 0.3s;
}
.carousel:hover .carousel__chevron-left,
.carousel:hover .carousel__chevron-right {
  opacity: 1;
}
.carousel__chevron-left {
  left: 5px;
}
.carousel__chevron-right {
  right: 5px;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s;
}

.carousel__slide picture,
.carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel__slide picture {
  z-index: -1;
}

.carousel__slide img {
  object-fit: cover;
}

.carousel__slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--color-overlay);
  color: var(--color-text);
  z-index: 50;
}

.carousel__title {
  font-size: 80px;
  font-weight: 200;
}

.carousel__text {
  font-size: 28px;
  text-align: center;
}

.carousel__cta {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 35px;
  background-color: var(--color-first);
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: filter 0.3s ease, transform 0.2s ease;
}

.carousel__cta:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}

.slide-in {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* ==========================================================================
   COMPONENTS - PRODUCTS
   ========================================================================== */
.products {
  padding: 40px 0;
}

.products__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding-bottom: 20px;
  text-align: center;
}

.products__list p {
  margin: 5px;
}

.products__link {
  display: block;
  color: inherit;
  width: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.products__link:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   LANDING - ABOUT SECTION
   ========================================================================== */
.landing-about {
  text-align: center;
}

.landing-about__content {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
  font-size: 18px;
  line-height: 1.8;
}

.landing-about__content p {
  margin-bottom: 20px;
}

/* ==========================================================================
   LANDING - CATALOGUE SECTION
   ========================================================================== */
.landing-catalogue {
  text-align: center;
}

.landing-catalogue .catalogue__grid {
  display: flex;
  justify-content: center;
  max-width: none;
  padding: 0 10px 20px;
}

.landing-catalogue__cta {
  text-align: center;
  margin-top: 35px;
}

.landing-catalogue__button {
  display: inline-block;
  padding: 12px 35px;
  background-color: var(--color-first);
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: filter 0.3s ease, transform 0.2s ease;
}

.landing-catalogue__button:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}

/* ==========================================================================
   LANDING - CYBERWINGS SECTION
   ========================================================================== */
.landing-cyberwings {
  text-align: center;
  margin-top: 20px;
}

.landing-cyberwings__content {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-cyberwings__lead {
  font-size: 22px;
  margin-bottom: 40px;
}

.landing-cyberwings__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 25px;
  border: 1px solid rgba(179, 165, 91, 0.3);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cw-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-first);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cw-card__icon svg,
.cw-card__icon img,
.cw-card__icon i {
  font-size: 50px;
  color: white;
}

.cw-card__title {
  color: var(--color-first);
  font-size: 19px;
  margin: 18px 0 12px;
}

.cw-card__desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.landing-cyberwings__cta {
  text-align: center;
}

.landing-cyberwings__button {
  display: inline-block;
  padding: 14px 40px;
  background-color: var(--color-first);
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  transition: filter 0.3s ease, transform 0.2s ease;
}

.landing-cyberwings__button:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media screen and (max-width: 768px) {
  .carousel {
    height: 250px;
  }

  .carousel__slide__content {
    padding: 50px 20px 0;
    box-sizing: border-box;
  }

  .carousel__title {
    font-size: 35px;
    margin: 0;
    text-align: center;
  }

  .carousel__text {
    font-size: 15px;
  }

  .carousel__cta {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 14px;
  }

  .landing-cyberwings__items {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 25px;
  }
}
