:root {
  --bg-color: hsl(0, 0%, 3%);
  --bg-darker: hsl(0, 0%, 6%);
  --text-color: hsl(0, 0%, 100%);
  --main-hover: hsl(30, 65%, 70%);
  --main-color: hsl(30, 65%, 50%);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

/* Custom Colors & Utilities */
section{
    scroll-margin-top: 105px;
}

.title {
  position: relative;
  display: inline-block;
}

.title::after {
  content: "";
  display: block;
  width: 200px;
  height: 5px;
  background-color:var(--main-color);
  margin: 30px auto 0;
}

.text-main {
  color: var(--main-color) !important;
}

.bg-dark-custom {
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
}

.bg-darker {
  background-color: var(--bg-darker);
}

/* Buttons */
.btn-main {
  background-color: var(--main-color);
  color: #000;
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
}

.btn-main:hover {
  background-color: var(--main-hover);
  color: #000;
  transform: translateY(-5px)
}

/* Hero Section */
.hero-section {
    height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../assets/imgs/hero.jpg) center/cover no-repeat;
  padding-top: 80px;
}
.hero-section .container {
  height: 100%;
}
.lead{
    max-width: 75%;
}

/* Cards */
.card-custom {
  min-height: 220px;
  background-color: hsl(0, 0%, 8%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card-img-top {
    max-width: 100%;
    height: 75%;
  object-fit: cover;
}

/* Forms */
.form-custom {
  background-color: hsl(0, 0%, 8%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}
.form-custom::placeholder {
  color: hsl(30, 15%, 70%);
}

.form-custom:focus {
  background-color: hsl(0, 0%, 10%);
  border-color: var(--main-color);
  color: var(--text-color);
  box-shadow: none;
}

/* Navbar Customization */
.nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

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

/* Navbar toggler icon */
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: none;
  color: var(--main-color);
  position: relative;
  width: 24px;
  height: 18px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--main-color);
  border-radius: 16px;
  transition: 0.3s;
}

/* ☰ */
.navbar-toggler-icon::before {
  top: 3px;
  box-shadow: 0 6px 0 var(--main-color);
}

.navbar-toggler-icon::after {
  bottom: 2px;
}

/* X when opened */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 8px;
  transform: rotate(45deg);
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  bottom: 8px;
  transform: rotate(-45deg);
}

/* Navbar Links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 0;
  height: 2px;
  background-color: var(--main-color);

  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}