/* ==========================================================
 * home.css — Home Page Styles
 * ========================================================== */

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; }

.hero-slide {
    position: relative;
    background-color: var(--clr-dark);
    background-size: cover;
    background-position: center;
}

.hero-slide-1 { background-image: url('../assets/images/hero-1.jpg'); }
.hero-slide-2 { background-image: url('../assets/images/hero-2.jpg'); }
.hero-slide-3 { background-image: url('../assets/images/hero-3.jpg'); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17,20,24,.92) 0%, rgba(17,20,24,.5) 70%, rgba(17,20,24,.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 0 80px;
}

.min-vh-80 { min-height: 80vh; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,166,35,.15);
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    font-family: var(--ff-heading);
    font-size: .75rem;
    font-weight: var(--fw-semi);
    text-transform: uppercase;
    letter-spacing: .15em;
    padding: .35rem .85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: var(--fw-black);
    line-height: 1.05;
    color: var(--clr-white);
    margin-bottom: 1rem;
    max-width: 700px;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Hero carousel controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    opacity: 0;
    transition: opacity .3s ease;
}

.hero-section:hover #heroCarousel .carousel-control-prev,
.hero-section:hover #heroCarousel .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: rgba(245,166,35,.3);
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    padding: 1.2rem;
    background-size: 55%;
}

#heroCarousel .carousel-indicators button {
    width: 30px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,.4);
}

#heroCarousel .carousel-indicators .active {
    background: var(--clr-accent);
    width: 50px;
}

/* Hero animations */
.carousel-item.active .animate-slide-up {
    animation: slideUp .7s ease both;
}
.carousel-item.active .delay-1 { animation-delay: .15s; }
.carousel-item.active .delay-2 { animation-delay: .3s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Reviews section on home ──────────────────────────────── */
.reviews-preview-section { background: var(--clr-dark-3); }

/* ── About preview on home ────────────────────────────────── */
.about-preview-section { background: var(--clr-dark); }
.about-preview-section .about-img-wrap { margin-bottom: 1.5rem; }

/* ── Mobile tweaks ────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .hero-content { padding: 60px 0 50px; }
    .min-vh-80 { min-height: 65vh; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
}
