/* Custom styles for Adams Construction */

/* Brand Text Logo */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: inherit;
}

.brand-sub {
    font-size: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: inherit;
    margin-top: -0.25rem;
}

.navbar-brand:hover .brand-main,
.navbar-brand:hover .brand-sub {
    color: inherit;
}

/* Video Background */
.bg-holder .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bg-holder {
    overflow: visible !important;
}

/* Navbar initial background - only at top of page */
.navbar-baikal:not([style*="background-color"]) {
    background-color: rgba(0, 0, 0, 0.3);
}

.navbar-baikal {
    transition: background-color 0.3s ease;
}

/* Gallery Swiper Styles */
.theme-slider .gallery-main-swiper {
    height: 600px;
}

.theme-slider .gallery-main-swiper .swiper-slide {
    height: 100%;
}

.theme-slider .gallery-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnail Swiper Styles */
.theme-slider .gallery-thumbs-swiper {
    height: 120px;
    margin-top: 10px;
}

.theme-slider .gallery-thumbs-swiper .swiper-slide {
    width: auto;
    height: 120px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
}

.theme-slider .gallery-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-slider .gallery-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #007bff;
}

@media (max-width: 768px) {
    .theme-slider .gallery-main-swiper {
        height: 400px;
    }

    .theme-slider .gallery-thumbs-swiper {
        height: 80px;
    }

    .theme-slider .gallery-thumbs-swiper .swiper-slide {
        height: 80px;
    }
}

/* Home page feature images - force same dimensions */
#secondSection .row img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 768px) {
    #secondSection .row img {
        height: 250px;
    }
}
