/*
 * AB Home frontend styles.
 */

.ab-home-announcement {
	--ab-home-announcement-bg: #111827;
	--ab-home-announcement-color: #ffffff;

	width: 100%;
	color: var(--ab-home-announcement-color);
	overflow: hidden;
	box-sizing: border-box;
}

.ab-home-announcement__viewport {
	width: 100%;
	overflow: hidden;
}

.ab-home-announcement__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: ab-home-announcement-scroll 20s linear infinite;
}

.ab-home-announcement__group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.ab-home-announcement__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	white-space: nowrap;
	box-sizing: border-box;
}

.ab-home-announcement__text {
	display: inline-block;
	font-size: 14px;
}

.ab-home-announcement__image {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px;
	object-fit: contain;
	display: block;
}

.ab-home-announcement__icon {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	flex: 0 0 25px;
}

@keyframes ab-home-announcement-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

.ab-home-announcement:hover
.ab-home-announcement__track {
	animation-play-state: paused;
}

/*
 * Banner.
 */
 .ab-home-banner {
	width: 100%;
	box-sizing: border-box;
}

 .ab-hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 250px);
    min-height: 500px;
    max-height: 680px;
    overflow: hidden;
    background: #3d1710;
}
.ab-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition:
        opacity 0.8s ease,
        transform 1.2s ease,
        visibility 0.8s ease;
}
.ab-hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.ab-hero-slider .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ab-hero-slider .hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
.ab-hero-slider .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(20, 5, 3, 0.72) 0%,
            rgba(20, 5, 3, 0.48) 32%,
            rgba(20, 5, 3, 0.14) 70%,
            rgba(20, 5, 3, 0.05) 100%
        );
}
.ab-hero-slider .hero-content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: min(90%, 620px);
    color: #fff;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
}
.ab-hero-slider .hero-title { 
    margin-bottom: 30px;
}
.ab-hero-slider .hero-small-title {
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f5d28b;
}
.ab-hero-slider .hero h1 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 500;
}
.ab-hero-slider .hero-content p {
    width: min(100%, 510px);
    margin-bottom: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.94);
}
.ab-hero-slider .hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.ab-hero-slider .hero-button {
    min-width: 145px;
    min-height: 48px;
    padding: 13px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border 0.3s ease,
        transform 0.3s ease;
}
.ab-hero-slider .hero-button.primary {
    background: #650507;
    color: #fff;
    border-color: #650507;
}
.ab-hero-slider .hero-button.primary:hover {
    background: #8c0b11;
    border-color: #8c0b11;
    transform: translateY(-2px);
}
.ab-hero-slider .hero-button.secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}
.ab-hero-slider .hero-button.secondary:hover {
    background: #fff;
    color: #650507;
    transform: translateY(-2px);
}
.ab-hero-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.25);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}
.ab-hero-slider .slider-arrow:hover {
    background: #650507;
    transform:
        translateY(-50%)
        scale(1.08);
}
.ab-hero-slider .slider-prev {
    left: 25px;
}
.ab-hero-slider .slider-next {
    right: 25px;
}
.ab-hero-slider .slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ab-hero-slider .slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease;
}
.ab-hero-slider .slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #fff;
}


/*
 * TABLET
 */

@media (max-width: 1100px) {
    .ab-hero-slider {
        height: calc(100vh - 200px);
        min-height: 440px;
    }
    .ab-hero-slider .hero-content {
        left: 7%;
        width: 550px;
    }
    .ab-hero-slider .hero h1 {
        font-size: clamp(44px, 6vw, 65px);
    }
    .ab-hero-slider .slider-arrow {
        width: 40px;
        height: 40px;
    }
    .ab-hero-slider .slider-prev {
        left: 18px;
    }
    .ab-hero-slider .slider-next {
        right: 18px;
    }
}

/*
* MOBILE
*/
@media (max-width: 900px) {
    .ab-hero-slider {
        height: calc(100svh - 200px);
        min-height: 400px;
        max-height: none;
        border-radius: 0;
    }
    .ab-hero-slider .hero-image img {
        object-position: 60% center;
    }
    .ab-hero-slider .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(20,5,3,0.05) 0%,
                rgba(20,5,3,0.28) 25%,
                rgba(20,5,3,0.65) 48%,
                rgba(20,5,3,0.88) 100%
            );
    }
    .ab-hero-slider .hero-content {
        left: 60px;
        right: 60px;
        bottom: 65px;
        top: auto;
        transform: none;
        width: auto;
    }
    .ab-hero-slider .hero-small-title {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 1.8px;
    }
    .ab-hero-slider .hero h1 {
        margin-bottom: 14px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1;
    }
    .ab-hero-slider .hero-content p {
        width: 100%;
        font-size: 13px;
        line-height: 1.55;
        max-width: 500px;
    }
    .ab-hero-slider .hero-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 20px;
    }
    .ab-hero-slider .hero-button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 12px 10px;
        font-size: 10px;
        text-align: center;
    }
    .ab-hero-slider .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 14px;
        top: 45%;
    }
    .ab-hero-slider .slider-prev {
        left: 12px;
    }
    .ab-hero-slider .slider-next {
        right: 12px;
    }
    .ab-hero-slider .slider-dots {
        bottom: 20px;
    }
    .ab-hero-slider .slider-dot {
        width: 7px;
        height: 7px;
    }
    .ab-hero-slider .slider-dot.active {
        width: 22px;
    }
}

/*
 * SMALL PHONES
 */
@media (max-width: 480px) {
    .ab-hero-slider {
        height: calc(100svh - 270px);
        min-height: 375px;
    }
    .ab-hero-slider .hero-image img {
        object-position: 63% center;
    }
    .ab-hero-slider .hero-content {
        left: 48px;
        right: 48px;
        bottom: 60px;
    }
    .ab-hero-slider .hero-small-title {
        font-size: 10px;
        letter-spacing: 1.3px;
        margin-bottom: 8px;
    }
    .ab-hero-slider .hero-title {
        margin-bottom: 20px;
    }
    .ab-hero-slider .hero h1 {
        font-size: 34px;
        margin-bottom: 12px;
    }
    .ab-hero-slider .hero-content p {
        font-size: 12px;
        line-height: 1.5;
    }
    .ab-hero-slider .hero-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 17px;
    }
    .ab-hero-slider .hero-button {
        min-height: 43px;
        padding: 10px 7px;
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    .ab-hero-slider .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
        opacity: 0.85;
    }
    .ab-hero-slider .slider-prev {
        left: 8px;
    }
    .ab-hero-slider .slider-next {
        right: 8px;
    }
}
/*
 * VERY SMALL PHONES
 */
@media (max-width: 360px) {
    .ab-hero-slider .hero h1 {
        font-size: 30px;
    }
    .ab-hero-slider .hero-content p {
        font-size: 11px;
    }
    .ab-hero-slider .hero-button {
        font-size: 10px;
    }
}


/*
 * Reduced motion.
 */

@media (prefers-reduced-motion: reduce) {

	.ab-home-announcement__track {
		width: 100%;
		display: block;
		animation: none;
		transform: none;
	}

	.ab-home-announcement__group {
		display: block;
	}

	.ab-home-announcement__group[aria-hidden="true"] {
		display: none;
	}

	.ab-home-announcement__item {
		white-space: normal;
	}
	
	.ab-hero-slide {
        transition: none;
    }

    .ab-hero-slider .hero-button, .ab-hero-slider .slider-arrow, .ab-hero-slider .slider-dot {
        transition: none;
    }
}
