/* ==============================
   Common / Base Styles - CSS
   ============================== */

body { scroll-behavior: smooth; }
.hero {
    background: url('img/background.webp') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
}
.hero-overlay { background: rgba(0,0,0,0.55); }
.portfolio-item img { transition: 0.3s ease; border-radius: 6px; }
.portfolio-item img:hover { transform: scale(1.05); }
footer { padding: 40px 0; }
section { scroll-margin-top: 90px; }

/* ----- Buttons ----- */
.btn-primary {
    color: #fff;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus:active {
    box-shadow: none !important;
    outline: none !important;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* ----- Navbar ----- */
.navbar {
    border-bottom: 2px solid var(--gray-primary);
}

.nav-link:hover {
    color: var(--gray-accent) !important;
}

.nav-link.active {
    color: var(--gray-accent) !important;
    font-weight: 600;
}

/* ----- Headings ----- */
h1, h2, h3, h4, h5 {
    color: var(--gray-accent);
}

/* ----- Portfolio ----- */
.portfolio-item img:hover {
    transform: scale(1.05);
}

/* ----- Forms ----- */
.form-control:focus {
    border-color: var(--gray-accent);
}

/* ----- Footer ----- */
footer {
    border-top: 2px solid var(--gray-primary);
}

/* ----- Layout & Spacing ----- */

#why .col-12 .mb-3 {
    padding-top: 20px;
    padding-bottom: 20px;
}

#why .col-12 .mb-3.footer {
    padding-bottom: 0;
}

.brand-item img {
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.brand-item img:hover {
  filter: grayscale(0%);
}

.dropdown-item.active {
    font-weight: bold;
}

.portfolio-item .info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: .2s;
}

.portfolio-item .info-icon:hover {
    color: #fff;
}

.min-vh-50 {
    min-height: 50vh !important;
}
