/* 
 * Custom Template Styles
 * evalarmsistemi.com - Yeni Site
 */

.product-card,
.news-card {
    margin-bottom: 30px;
}

.product-card img,
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-card h4 a,
.news-card h4 {
    color: #333;
    text-decoration: none;
}

.references-row .reference-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 20px;
    filter: grayscale(20%);
}

.about-content img {
    max-width: 100%;
    height: auto;
}

.main_title {
    text-align: center;
    margin-bottom: 30px;
}

.main_title h2 {
    margin-bottom: 8px;
}

/* Homepage hero — carousel + YouTube/image slides */
#booking_container.hero-with-carousel,
#booking_container.hero-with-video {
    background: #1a2a3a none;
    overflow: hidden;
    position: relative;
    padding-top: 155px;
    color: #fff;
    border-bottom: 3px solid #FF3333;
    z-index: 99;
}

#booking_container.hero-with-carousel #carousel-home {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin-top: 0;
}

#booking_container.hero-with-carousel .hero-foreground {
    position: relative;
    z-index: 2;
}

#booking_container.hero-with-carousel .hero-slide-copy {
    display: none;
}

#booking_container.hero-with-carousel .hero-slide-copy.is-active {
    display: block;
}

#booking_container.hero-with-carousel .owl-carousel,
#booking_container.hero-with-carousel .owl-stage-outer,
#booking_container.hero-with-carousel .owl-stage,
#booking_container.hero-with-carousel .owl-item {
    height: 100%;
}

#booking_container.hero-with-carousel .owl-slide {
    height: 100%;
    position: relative;
}

#booking_container.hero-with-carousel .owl-slide.hero-slide-image,
#booking_container.hero-with-carousel .owl-slide.background-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#booking_container.hero-with-carousel #carousel-home .cover {
    position: relative;
    inset: auto;
}

#booking_container.hero-with-carousel #carousel-home .owl-carousel .owl-slide {
    height: 100%;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 137, 255, 0.35) 0%,
        rgba(0, 102, 255, 0.35) 100%
    );
}

.page-hero-youtube,
.page-hero-custom {
    position: relative;
    overflow: hidden;
}

.page-hero-youtube #sub_content_in,
.page-hero-custom #sub_content_in {
    position: relative;
    z-index: 2;
    vertical-align: bottom;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
}

.page-hero-youtube .hero-video-bg {
    z-index: 0;
}

.page-hero-breadcrumb-wrap {
    margin-bottom: 12px;
}

.page-hero-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
    --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    justify-content: flex-end;
}

.parallax_window_in.short .page-hero-breadcrumb {
    justify-content: flex-start;
}

.page-hero-breadcrumb .breadcrumb-item,
.page-hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.page-hero-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

.hero-video-content {
    position: relative;
    z-index: 2;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar-inverse {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: var(--secondary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* Cards / Product boxes */
.product-card,
.news-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-card:hover,
.news-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-image,
.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content,
.news-content {
    padding: 15px;
}

.product-title,
.news-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price {
    color: var(--secondary-color);
    font-size: 1.5em;
    font-weight: bold;
}

/* Forms 
.form-group label {
    font-weight: 600;
    margin-top: 10px;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}*/

/* Footer */
.footer {
    margin-top: 50px;
    background-color: var(--light-bg);
    border-top: 2px solid var(--primary-color);
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Pagination */
.pagination > li > a,
.pagination > li > span {
    color: var(--primary-color);
}

.pagination > .active > a,
.pagination > .active > span {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Alerts */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Admin specific */
.admin-sidebar {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 4px;
}

.admin-sidebar .nav-pills > li > a {
    border-radius: 0;
    color: var(--text-color);
}

.admin-sidebar .nav-pills > li.active > a,
.admin-sidebar .nav-pills > li > a:hover {
    background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .product-image,
    .news-image {
        height: 200px;
    }
}

.home-video-block {
    display: block;
    position: relative;
    overflow: hidden;
    height: 500px;
    background: #111 !important;
    background-image: none !important;
    background-attachment: scroll;
}

.home-video-block .home-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-video-block .home-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}

.home-video-block .home-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    z-index: 0;
}

.home-video-block .home-video-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20%;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    background: transparent;
    pointer-events: none;
}

.home-video-block .home-video-content a.video {
    pointer-events: auto;
}

.home-video-block .home-video-content h3,
.home-video-block .home-video-content h3 strong {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-video-block .home-video-content p {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#cat_shop li.active > .shop-category-link,
.shop-category-nav li.active > .shop-category-link {
    font-weight: 600;
    color: #FF3333;
}

.page-intro-body p:last-child,
.strip-body p:last-child {
    margin-bottom: 0;
}

/* Quote wizard — stepy float containment (_htmlSablon/index.html #custom) */
.home-quote-calculator .col-lg-8::after {
    content: "";
    display: table;
    clear: both;
}

.form-horizontal .form-group {
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Quote terms modal — above backdrop when appended to body */
#quoteTermsModal.modal {
    z-index: 1060;
}

#quoteTermsModal.modal.show {
    display: block;
}