﻿/* ================= BODY BACKGROUND ================= */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        opacity: 0.3;
        background: url('../images/roots.jpg') center 65% / cover no-repeat;
        z-index: 0;
        pointer-events: none;
    }

    body * {
        position: relative;
    }

/* ================= HERO SECTION OVERRIDES ================= */
.hero-section {
    background-color: #000;
    padding: 0 !important;
    overflow: hidden;
    max-width: 100vw;
}

.carousel,
.carousel-inner,
.carousel-item {
    overflow: hidden;
    max-width: 100vw;
}

.hero-slide {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center top;
    position: relative;
    transform: scale(1.08);
    /* Image zoom out effect */
    transition: transform 10s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .hero-slide {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-slide .carousel-caption {
    top: 62px;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    z-index: 10;
}

    /* Custom Typography & Animations */
    .hero-slide .carousel-caption h5,
    .hero-slide .carousel-caption h1,
    .hero-slide .carousel-caption p,
    .hero-slide .carousel-caption a {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

.carousel-item.active .carousel-caption h5 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.carousel-item.active .carousel-caption p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.carousel-item.active .carousel-caption a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Premium Styling */
.text-gold {
    color: #D4AF37 !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-slide .carousel-caption h1 {
    letter-spacing: 5px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9);
}

.hero-slide .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .hero-slide .btn-outline-light:hover {
        background-color: #D4AF37;
        border-color: #D4AF37;
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    }

/* Premium Carousel Dots */
.carousel-indicators {
    margin-bottom: 10px;
    z-index: 15;
}

    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 8px;
        background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .carousel-indicators .active {
        background-color: transparent;
        border-color: #D4AF37;
        transform: scale(1.3);
    }

/* ================= CARDS SECTION BACKGROUND ================= */
.cards-section {
    position: relative;
    overflow-x: hidden;
    max-width: 100vw;
    /* Background moved to body::before for consistency with deal.html */
}
