.navigation a {
    letter-spacing: 0.5px !important;
}

@media only screen and (max-width: 940px) {
    .header .mobile-nav .nav-drill .nav li, .header .mobile-nav .nav-drill .menu-cta {
        font-size: 35px;
    }
}

.masthead .heading {
    font-size: 101px !important;
    
}

@media only screen and (max-width: 649px) {
    .masthead .heading {
        font-size: 51px !important;
    }
}

.page-block--padding-normal, .masthead--padding-normal {
    padding-bottom: 50px;
    padding-top: 50px !important;
}

.navigation a.active {
    color: #F9DB54;
    letter-spacing: 2px;
}

.call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.call-btn {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40,167,69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(40,167,69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40,167,69, 0); }
}

/* Hero Slideshow Styles */
.homeHeroSwiper {
    width: 100%;
    height: 715px; /* Explicitly restore the original height */
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 649px) {
    .homeHeroSwiper {
        height: 500px;
    }
}

@media only screen and (max-width: 374px) {
    .homeHeroSwiper {
        height: 400px;
    }
}

.homeHeroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Allow clicks to pass through */
}

.swiper-slide .hero-overlay {
    background: rgba(0, 0, 0, 0.3); /* Dimming fades with each slide */
}

.hero-overlay .heading, 
.hero-overlay .down-arrow {
    pointer-events: auto; /* Re-enable pointer events for interactive elements */
}

.homeHeroSwiper .hero-bg {
    filter: brightness(0.8); /* Alternative way to dim background */
}

/* Slider Arrows Styling */
.homeHeroSwiper .swiper-button-prev,
.homeHeroSwiper .swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    z-index: 9999 !important; /* Maximum z-index */
    margin-top: 0 !important;
    transform: translateY(-50%) !important;
    top: 50% !important;
    pointer-events: auto !important; /* Force clickability */
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}



.homeHeroSwiper .swiper-button-prev {
    left: 20px;
}

.homeHeroSwiper .swiper-button-next {
    right: 20px;
}

.homeHeroSwiper .swiper-button-prev::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg id='Group_2' data-name='Group 2' transform='translate(-1099 -1286)'%3E%3Cline id='Line_42' data-name='Line 42' x2='13' transform='translate(1121 1319.385) rotate(-135)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cline id='Line_43' data-name='Line 43' x2='13' transform='translate(1121 1301) rotate(135)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cpath id='Line_44' data-name='Line 44' d='M0,0H21' transform='translate(1133 1310.5) rotate(180)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cg id='Ellipse_8' data-name='Ellipse 8' transform='translate(1147 1286) rotate(90)' fill='none' stroke='%23fff' stroke-width='1'%3E%3Ccircle cx='24' cy='24' r='24' stroke='none'/%3E%3Ccircle cx='24' cy='24' r='23.5' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    font-size: 0;
}

.homeHeroSwiper .swiper-button-next::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg id='Group_4' data-name='Group 4' transform='translate(1147 1334) rotate(180)'%3E%3Cline id='Line_42' data-name='Line 42' x2='13' transform='translate(1121 1319.385) rotate(-135)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cline id='Line_43' data-name='Line 43' x2='13' transform='translate(1121 1301) rotate(135)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cpath id='Line_44' data-name='Line 44' d='M0,0H21' transform='translate(1133 1310.5) rotate(180)' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cg id='Ellipse_8' data-name='Ellipse 8' transform='translate(1147 1286) rotate(90)' fill='none' stroke='%23fff' stroke-width='1'%3E%3Ccircle cx='24' cy='24' r='24' stroke='none'/%3E%3Ccircle cx='24' cy='24' r='23.5' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    font-size: 0;
}

/* Swiper Styles for Fields (using homeHeroSwiper class) */
.image-con .homeHeroSwiper {
    height: 450px !important; /* Override masthead height */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.image-con .homeHeroSwiper .hero-bg {
    filter: brightness(1) !important; /* Remove dimming */
}

.image-con .homeHeroSwiper .swiper-button-prev,
.image-con .homeHeroSwiper .swiper-button-next {
    transform: scale(0.7) translateY(-50%) !important;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 45px !important;
    height: 45px !important;
    z-index: 99 !important;
}

@media only screen and (max-width: 940px) {
    .image-con .homeHeroSwiper {
        height: 350px !important;
    }
}

@media only screen and (max-width: 649px) {
    .image-con .homeHeroSwiper {
        height: 250px !important;
    }
}

@media only screen and (max-width: 649px) {
    /* Stack text and image: Text on top, Image on bottom */
    .text-with-image {
        display: flex !important;
        flex-direction: column !important;
    }

    .text-with-image .content {
        order: 1 !important;
    }

    .text-with-image .image-con {
        order: 2 !important;
    }
}

/* Acoperit Badge Styling */
.acoperit-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(249, 219, 84, 0.95); /* site yellow */
    color: #000;
    padding: 10px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    z-index: 100;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

@media only screen and (max-width: 649px) {
    .acoperit-badge {
        font-size: 16px;
        padding: 6px 12px;
        top: 10px;
        left: 10px;
    }
}


.gallery{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.gallery-item{
    width:calc(50% - 10px);
}

.gallery-item img{
    width:100%;
    display:block;
    border-radius:8px;
    height:auto;
}

@media (max-width:768px){

    .gallery-item{
        width:100%;
    }

}