/* ================================================================
   PAS Hero Slider — replaces Revolution Slider on front page
   Requires: Slick.js (via bundle or slick.min.js)
================================================================ */

/* Container takes full viewport height */
.pas-hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

/* Slick wrapper fills container */
.pas-hero-slider {
    height: 100%;
}

.pas-hero-slider .slick-list,
.pas-hero-slider .slick-track {
    height: 100%;
}

/* Individual slides */
.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

/* Content container sits above overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Text block */
.hero-text {
    color: #ffffff;
    max-width: 700px;
}

/* Label (e.g., "Oferta limitada") */
.hero-label {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0;
    animation: none;
}

/* Price (e.g., "$650.00 m²") */
.hero-price {
    display: block;
    font-size: 2.8em;
    font-weight: 300;
    color: #f0f0f0;
    margin-bottom: 12px;
    opacity: 0;
    animation: none;
}

/* Description text */
.hero-desc {
    font-size: 1.6em;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0;
    animation: none;
}

/* Small note */
.hero-note {
    font-size: 1em;
    opacity: 0;
    animation: none;
    margin-bottom: 12px;
}

/* CTA button */
.hero-cta {
    opacity: 0;
    animation: none;
}

/* Card icons row */
.hero-cards {
    margin-top: 16px;
    opacity: 0;
    animation: none;
}
.hero-cards .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ----------------------------------------------------------------
   Animate when slide is active (.slick-current)
---------------------------------------------------------------- */
.slick-current .hero-label {
    animation: heroFadeInDown 0.6s ease 0.3s both;
}
.slick-current .hero-price {
    animation: heroFadeInRight 0.6s ease 0.6s both;
}
.slick-current .hero-desc {
    animation: heroFadeInUp 0.6s ease 0.9s both;
}
.slick-current .hero-note {
    animation: heroFadeIn 0.6s ease 1.1s both;
}
.slick-current .hero-cta {
    animation: heroFadeInUp 0.6s ease 1.2s both;
}
.slick-current .hero-cards {
    animation: heroFadeInUp 0.6s ease 1.4s both;
}

/* Keyframes */
@keyframes heroFadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Slick dots */
.pas-hero-slider-container .slick-dots {
    bottom: 20px;
    z-index: 10;
}
.pas-hero-slider-container .slick-dots li button:before {
    color: #ffffff;
    font-size: 10px;
    opacity: 0.6;
}
.pas-hero-slider-container .slick-dots li.slick-active button:before {
    color: #ffffff;
    opacity: 1;
}

/* ----------------------------------------------------------------
   Mobile adjustments
---------------------------------------------------------------- */
@media (max-width: 767px) {
    .hero-label,
    .hero-label-sm {
        font-size: 1.4em;
    }
    .hero-price,
    .hero-price-sm {
        font-size: 1.8em;
    }
    .hero-desc,
    .hero-desc-sm {
        font-size: 1.1em;
    }
    .hero-content .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile-specific elements */
.hero-label-sm,
.hero-price-sm,
.hero-desc-sm {
    display: block;
    color: #ffffff;
    opacity: 0;
}
.slick-current .hero-label-sm {
    animation: heroFadeInDown 0.6s ease 0.3s both;
}
.slick-current .hero-price-sm {
    animation: heroFadeInRight 0.6s ease 0.6s both;
}
.slick-current .hero-desc-sm {
    animation: heroFadeInUp 0.6s ease 0.9s both;
}

/* ----------------------------------------------------------------
   Nav bar scroll-on-home behavior
   On front page: navbar transparent until scrolled
---------------------------------------------------------------- */
body.home-page .navbar-default:not(.scrolled) {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}
body.home-page .navbar-default:not(.scrolled) .navbar-brand,
body.home-page .navbar-default:not(.scrolled) .nav > li > a {
    color: #ffffff;
}
body.home-page .navbar-default:not(.scrolled) .navbar-toggle {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
