
@media screen and (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        margin: 22px 8px 0;

        font-size: 13px;
    }

    .navbar-default .navbar-nav>li>a.btn-custom {

        font-size: 13px !important;

        padding: 2px 7px !important;

        margin: 0 !important;

        min-width: 90px !important;



    }

}











/* Watch Video Overlay */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.watch-video-icon svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.video-overlay:hover svg {
    transform: scale(1.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.5s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-content video {
    width: 100%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #ff0b0b;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.close:hover {
    color: #ff0b0b;
}














/* btn-sliderkontakt-custom butonu  */
.btn-sliderkontakt-custom {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #e65c00);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    margin-top: 20px;
}

/* Hover Value*/
.btn-sliderkontakt-custom:hover {
    background: linear-gradient(45deg, #00b0e6, #00b0e6);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}













/* Scroll-triggered animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    /* Hidden initially */
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}













 /* BACK TO TOP BUTON */


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}









  /* Special */



.special-documents-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 80px;
    text-align: center;
    /* Başlığı ortalayalım */
}

.special-documents-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}



.special-documents-text strong {
    font-weight: bold;
    color: #333;
    display: block;
    margin-top: 20px;
}

.special-documents-content p {
    margin-bottom: 15px;
}



@media (max-width: 768px) {




    .special-documents-title {
        font-size: 24px;

    }

    .special-documents-text {
        font-size: 14px;

    }


}



@media (max-width: 480px) {
    .special-documents-title {
        font-size: 20px;

    }

    .special-documents-text {
        font-size: 13px;

    }



}




/* Heizung und Wärmepumpen */

.heizung-grid,
.warmaepumpen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.heizung-img,
.warmaepumpen-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.heizung-img:hover,
.warmaepumpen-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Rounded hero images */
.hero-img img {
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .heizung-img,
    .warmaepumpen-img {
        margin-bottom: 20px;
    }
}

.section-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 991.98px) {
    .section-row {
        flex-direction: column;
    }
    .section-row .col-image {
        order: -1;
    }

    .heizung-img,
    .warmaepumpen-img {
        margin-bottom: 25px;
    }
}

@media (min-width: 992px) {
    .section-row {
        flex-direction: row;
    }

    .section-row .col-content {
        order: 1;
    }
    .section-row .col-image {
        order: 2;
    }

    .section-row.reverse .col-content {
        order: 2;
    }
    .section-row.reverse .col-image {
        order: 1;
    }
}

.section-row .col-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}


