/* ADGRO MEDIA - RESPONSIVE HERO SLIDER */

:root {
    --adgro-purple: #76245d;
    --adgro-purple-dark: #3d1230;
    --adgro-purple-light: #a94487;
    --adgro-pink: #d66ca9;
    --adgro-black: #08070a;
}

.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--adgro-black);
}

#adgroHeroSlider,
#adgroHeroSlider .carousel-inner,
#adgroHeroSlider .carousel-item {
    width: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    min-height: 680px;
    height: 100svh;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Change these paths to your actual banner images */
.hero-slide-1 {
    background-image: url("/images/hero-printing.jpg");
}

.hero-slide-2 {
    background-image: url("/images/hero-paper-printing.jpg");
}

.hero-slide-3 {
    background-image: url("/images/hero-flex-printing.jpg");
}

.hero-slide-4 {
    background-image: url("/images/hero-advertising.jpg");
}

.hero-slide-5 {
    background-image: url("/images/hero-branding.jpg");
}

/* Readability overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(8,7,10,.92) 0%,
            rgba(8,7,10,.78) 38%,
            rgba(61,18,48,.42) 72%,
            rgba(8,7,10,.15) 100%
        );
}

.hero-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(8,7,10,.42), transparent);
}

.hero-slide > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 70px 0;
    color: #fff;
}

.hero-small-title {
    display: inline-block;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid var(--adgro-pink);
    color: rgba(255,255,255,.94);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -1.5px;
}

.hero-content h1 span,
.hero-content h2 span {
    color: var(--adgro-pink);
}

.hero-content p {
    max-width: 690px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.84);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.75;
}

/* Slide 2 image */
.hero-slide-2 .col-md-5 .hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-2 .col-md-5 img {
    display: block;
    width: 100%;
    max-width: 500px;
    max-height: 520px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 25px 45px rgba(0,0,0,.28));
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-buttons .btn {
    min-height: 50px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    font-weight: 750;
    line-height: 1.2;
    transition: all .25s ease;
}

.hero-buttons .btn-adgro {
    color: #fff;
    background: var(--adgro-purple);
    border: 2px solid var(--adgro-purple);
    box-shadow: 0 10px 25px rgba(118,36,93,.28);
}

.hero-buttons .btn-adgro:hover {
    color: #fff;
    background: var(--adgro-purple-light);
    border-color: var(--adgro-purple-light);
    transform: translateY(-3px);
}

.hero-buttons .btn-outline-light {
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 2px solid rgba(255,255,255,.75);
    backdrop-filter: blur(7px);
}

.hero-buttons .btn-outline-light:hover {
    color: var(--adgro-purple-dark);
    background: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-buttons .btn-whatsapp {
    color: #fff;
    background: #22c55e;
    border: 2px solid #22c55e;
}

.hero-buttons .btn-whatsapp:hover {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-3px);
}

/* Indicators */
.carousel-indicators {
    z-index: 10;
    bottom: 25px;
}

.carousel-indicators button {
    width: 28px;
    height: 4px;
    margin: 0 4px;
    border: 0;
    border-radius: 50px;
    background-color: rgba(255,255,255,.45);
    opacity: 1;
    transition: all .3s ease;
}

.carousel-indicators button.active {
    width: 50px;
    background-color: var(--adgro-pink);
}

/* Navigation */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(61,18,48,.62);
    background-size: 42%;
    backdrop-filter: blur(8px);
}

/* Laptop */
@media (max-width: 1199.98px) {
    .hero-slide {
        min-height: 650px;
        max-height: none;
    }

    .hero-content {
        padding: 65px 0;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2.5rem, 5vw, 4.3rem);
    }

    .hero-slide-2 .col-md-5 img {
        max-width: 420px;
        max-height: 450px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 650px;
        height: auto;
    }

    .hero-content {
        padding: 80px 0 95px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2.35rem, 6vw, 3.8rem);
    }

    .hero-slide-2 .col-md-5 .hero-content {
        padding-top: 45px;
        padding-bottom: 75px;
    }

    .hero-slide-2 .col-md-5 img {
        max-width: 350px;
        max-height: 360px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 720px;
        height: auto;
        display: flex;
        align-items: center;
        background-position: center center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8,7,10,.45) 0%,
                rgba(8,7,10,.72) 45%,
                rgba(8,7,10,.95) 100%
            );
    }

    .hero-slide::after {
        height: 45%;
    }

    .hero-content {
        max-width: 100%;
        padding: 80px 0 105px;
    }

    .hero-small-title {
        margin-bottom: 15px;
        padding-left: 11px;
        font-size: .68rem;
        letter-spacing: 1.5px;
    }

    .hero-content h1,
    .hero-content h2 {
        margin-bottom: 18px;
        font-size: clamp(2.15rem, 9vw, 3.15rem);
        line-height: 1.05;
        letter-spacing: -.8px;
    }

    .hero-content p {
        margin-bottom: 25px;
        font-size: .96rem;
        line-height: 1.65;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Slide 2 becomes stacked naturally */
    .hero-slide-2 {
        min-height: 850px;
    }

    .hero-slide-2 .col-md-5 .hero-content {
        padding: 5px 0 95px;
    }

    .hero-slide-2 .col-md-5 img {
        width: 85%;
        max-width: 340px;
        max-height: 280px;
        margin: 0 auto;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-indicators {
        bottom: 22px;
    }

    .carousel-indicators button {
        width: 20px;
        height: 3px;
        margin: 0 3px;
    }

    .carousel-indicators button.active {
        width: 34px;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 690px;
    }

    .hero-content {
        padding: 70px 0 95px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: .92rem;
    }

    .hero-small-title {
        font-size: .62rem;
        letter-spacing: 1.15px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: .92rem;
    }

    .hero-slide-2 {
        min-height: 820px;
    }

    .hero-slide-2 .col-md-5 img {
        width: 80%;
        max-width: 300px;
        max-height: 240px;
    }
}

/* Landscape mobile */
@media (max-height: 550px) and (orientation: landscape) {
    .hero-slide {
        min-height: 600px;
        height: auto;
    }

    .hero-content {
        padding: 60px 0 80px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        margin-bottom: 18px;
    }

    .carousel-indicators {
        bottom: 10px;
    }
}
