/**
 * ACE Air Hero Slider Styles
 * Custom replacement for RevSlider - Full Width
 */

/* Container - Full Width */
.ace-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #F5F5F5;
}

/* Slide */
.ace-hero-slide {
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    height: 600px;
    overflow: visible;
}

/* Background - Full Width */
.ace-hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
}

.ace-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Content Container */
.ace-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ACE Logo */
.ace-hero-logo {
    position: absolute;
    z-index: 12;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ace-hero-logo.ace-visible {
    opacity: 1;
    transform: translateY(0);
}

.ace-hero-logo img {
    display: block;
    height: auto;
}

/* Headline */
.ace-hero-headline {
    position: absolute;
    z-index: 11;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ace-hero-headline.ace-visible {
    opacity: 1;
    transform: translateX(0);
}

.ace-hero-headline h1 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.14;
    text-shadow: 5px 0 10px rgba(0, 0, 0, 0.75);
}

/* Badges Container */
.ace-hero-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Individual Badge */
.ace-hero-badge {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.ace-hero-badge.ace-visible {
    opacity: 1;
}

.ace-hero-badge img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   Desktop: 1170x600
   Notebook: 1024x768
   Tablet: 778x960
   Mobile: 480x720
   ===================================================== */

/* Desktop (default) - 1170px+ */
@media (min-width: 1025px) {
    .ace-hero-slide {
        height: 600px;
        max-width: 1170px;
    }
    
    .ace-hero-logo {
        top: 13px;
        left: 815px;
    }
    
    .ace-hero-logo img {
        width: 86px;
    }
    
    .ace-hero-headline {
        top: 15px;
        left: 909px;
        width: 234px;
    }
    
    .ace-hero-headline h1 {
        font-size: 42px;
        line-height: 48px;
    }
    
    /* Nova badge - ABOVE checkbook */
    .ace-hero-badge-nova {
        top: 372px;
        left: 18px;
    }
    
    .ace-hero-badge-nova img {
        width: 246px;
    }
    
    /* Checkbook badge - BELOW nova */
    .ace-hero-badge-checkbook {
        top: 475px;
        left: 3px;
    }
    
    .ace-hero-badge-checkbook img {
        width: 294px;
    }
}

/* Notebook - 779px to 1024px */
@media (min-width: 779px) and (max-width: 1024px) {
    .ace-hero-slide {
        height: 768px;
        max-width: 1024px;
    }
    
    .ace-hero-logo {
        top: 474px;
        left: 39px;
    }
    
    .ace-hero-logo img {
        width: 94px;
    }
    
    .ace-hero-headline {
        top: 469px;
        left: 145px;
    }
    
    .ace-hero-headline h1 {
        font-size: 46px;
        line-height: 53px;
    }
    
    /* Checkbook - bottom row left */
    .ace-hero-badge-checkbook {
        top: 571px;
        left: 427px;
    }
    
    .ace-hero-badge-checkbook img {
        width: 309px;
    }
    
    /* Nova - bottom row right */
    .ace-hero-badge-nova {
        top: 578px;
        left: 753px;
    }
    
    .ace-hero-badge-nova img {
        width: 240px;
    }
}

/* Tablet - 481px to 778px */
@media (min-width: 481px) and (max-width: 778px) {
    .ace-hero-slide {
        height: 960px;
        max-width: 778px;
    }
    
    .ace-hero-logo {
        top: 21px;
        left: 11px;
    }
    
    .ace-hero-logo img {
        width: 106px;
    }
    
    .ace-hero-headline {
        top: 274px;
        left: 18px;
    }
    
    .ace-hero-headline h1 {
        font-size: 39px;
        line-height: 44px;
    }
    
    /* Checkbook - bottom left */
    .ace-hero-badge-checkbook {
        top: 722px;
        left: 152px;
    }
    
    .ace-hero-badge-checkbook img {
        width: 295px;
    }
    
    /* Nova - bottom right */
    .ace-hero-badge-nova {
        top: 726px;
        left: 474px;
    }
    
    .ace-hero-badge-nova img {
        width: 240px;
    }
}

/* Mobile - up to 480px */
@media (max-width: 480px) {
    .ace-hero-slide {
        height: 500px;
        max-width: 480px;
    }
    
    /* Logo - top left, smaller */
    .ace-hero-logo {
        top: 15px;
        left: 10px;
    }
    
    .ace-hero-logo img {
        width: 55px;
    }
    
    /* Headline - top left, flush against logo */
    .ace-hero-headline {
        top: 15px;
        left: 75px;
        right: auto;
        width: auto;
        text-align: left;
    }
    
    .ace-hero-headline h1 {
        font-size: 28px;
        line-height: 32px;
        text-align: left;
    }
    
    /* Checkbook - bottom left */
    .ace-hero-badge-checkbook {
        bottom: 15px;
        top: auto;
        left: 10px;
    }
    
    .ace-hero-badge-checkbook img {
        width: 160px;
    }
    
    /* Nova - bottom right */
    .ace-hero-badge-nova {
        bottom: 15px;
        top: auto;
        right: 10px;
        left: auto;
    }
    
    .ace-hero-badge-nova img {
        width: 140px;
    }
}
