:root {
  --dark: #0b0f14;
  --light: #fff;
  --red: #c00c0f;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f0f0f;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
  font-weight: 700;
}

/* NAVBAR */

.navbar {
  background: #000;
  padding: 15px 0;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  color: #fff !important;
  margin-left: 20px;
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--red) !important;
}

.nav-link.active:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: var(--red);
    margin-top: 5px;
    animation: slideIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }
    to {
        transform: scaleX(1);
    }
}

/* HERO */

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url("../assets/hero.png") center/cover no-repeat;
  height: calc(100vh - 80px);
  max-height: 650px;
  display: flex;
  align-items: center;
}

.btn-danger {
  background: var(--red);
  border: none;
}

.hero-contact {
  margin-top: 25px;
}

.hero-contact div {
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-contact i {
  color: var(--red);
  margin-right: 8px;
}

.hero-contact a {
  color: #fff;
  text-decoration: none;
}

.hero-contact a:hover {
  color: var(--red);
}

/* ABOUT */

.about {
  padding: 80px 0;
  background: #eee;
  color: #000;
}

.about img {
  border-radius: 10px;
}

.check-list li {
  list-style: none;
  margin-bottom: 10px;
}

.check-list i {
  color: var(--red);
  margin-right: 10px;
}

/* PRODUCTS */

.products {
  padding: 80px 0;
  background: #111;
}

.product-card {
  background: #eee;
  color: #000;
  overflow: hidden;
  transition: 0.3s;
  padding: 10px;
  height: 100%;
  text-align: center;
}

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

.product-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.product-card h5 {
  margin-top: 15px;
}

/* WHY */

.why {
  padding: 80px 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../assets/why_choose_us.png") center/cover fixed;
}

.why-box {
  background: #1b1b1b;
  padding: 50px 30px 40px;
  transition: 0.3s;
}

.why-box:hover {
  transform: translateY(-6px);
  background: #222;
}

.why-box i {
  font-size: 35px;
  color: var(--light);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--red);
  margin: auto;
  margin-bottom: 24px;
}

/* CONTACT */

.contact {
  padding: 80px 0;
  background: var(--red);
}

.contact-card {
  background: #fff;
  padding: 40px 20px 60px;
  text-align: center;
  transition: 0.3s;
  height: 100%;
  color: var(--dark);
  position: relative;
  top: -80px;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-icon {
  font-size: 35px;
  color: #25d366;
  margin-bottom: 15px;
}

.contact-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* FOOTER */

footer {
  background: #000;
  padding: 30px 0;
  text-align: center;
  color: #aaa;
}

/* WHATSAPP FLOAT */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-size: 22px;
  padding: 12px 15px;
  border-radius: 50%;
  z-index: 999;
}
