#mainHero .overlay {
    background: transparent !important;
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8) !important;
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    display: block;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    display: block;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8) !important;
    font-size: 1.25rem;
    max-width: 800px;
}

.img-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    height: auto;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.faded-line {
    border: 0; height: 2px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    margin: 40px 0;
}

@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .hero-text { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem !important;
        padding: 10px 20px !important;
        margin-bottom: 10px !important;
    }
    .hero-text {
        font-size: 0.9rem !important;
        padding: 5px 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 15px !important;
    }
    .carousel-caption {
        bottom: 20px !important;
        padding-bottom: 0 !important;
    }
    .btn-lg {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }
}

.info-container { margin-top: 20px; position: relative; }
.info-bar { transition: transform 0.3s; }
.info-bar:hover { transform: translateY(-5px); }
.showcase-section { padding: 60px 0; }

.product-showcase-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
    position: relative;
}

.product-showcase-card:hover {
    box-shadow: 0 10px 30px rgba(133,34,72,0.15);
    transform: translateY(-5px);
    border-color: #fcebf1;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.btn.btn-outline-bordo {
    color: #852248 !important;
    border: 2px solid #852248 !important;
    background-color: transparent !important;
    transition: all 0.3s ease-in-out !important;
    position: relative;
    z-index: 5;
}

.btn.btn-outline-bordo:hover {
    transform: scale(1.05);
}

.product-showcase-card .btn-outline-danger {
    transition: all 0.3s ease;
    position: relative; z-index: 2;
}

.product-showcase-card:hover .btn-outline-bordo {
    background-color: #852248 !important;
    color: #ffffff !important;
}


#haberSlider {
    height: 450px !important;
    background-color: #ffffff !important;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eeeeee;
}

#haberSlider .carousel-inner,
#haberSlider .carousel-item {
    height: 450px !important;
}

#haberSlider .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
}

#haberSlider .carousel-control-prev-icon
#haberSlider .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}

#duyuruDovusu {
    height: 450px !important;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #eee;
    position: relative;
}

.transition-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #fff;
}

.transition-fade.active {
    opacity: 1;
    visibility: visible;
}

#duyuruDovusu .img-container {
    width: 100%;
    height: 220px !important;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #f8f9fa;
}

#duyuruDovusu .img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

#haberSlider .carousel-caption {
    background: rgba(0, 0, 0, 0.55);
    padding: 15px;
    border-radius: 10px;
    left: 10%;
    right: 10%;
    bottom: 20px;
    text-align: left;
    z-index: 5;
}

#haberSlider .bread-more-link {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
}

#haberSlider .carousel-control-prev,
#haberSlider .carousel-control-next {
    color: #852248 !important;
    width: 8%;
}

#haberSlider .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23852248'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

#haberSlider .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23852248'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}


.duyuru-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.duyuru-item h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.market-wide-widget, .partner-wide-widget {
    min-height: 120px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-wide-widget:hover, .partner-wide-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.live-blink {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@media (max-width: 991px) {
    #haberSlider, #haberSlider .carousel-inner, #haberSlider .carousel-item {
        height: 300px !important;
    }

    #duyuruDovusu {
        height: auto !important;
        min-height: 450px;
    }

    .transition-fade {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
    }

    .transition-fade.active {
        display: flex !important;
    }
}

.transition-fade {
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {
    #haberSlider .carousel-caption {
        left: 5% !important;
        right: 5% !important;
        bottom: 10px !important;
        padding: 10px !important;
        background: rgba(0, 0, 0, 0.7);
    }

    #haberSlider .carousel-caption h5 {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
    }

    #haberSlider .carousel-caption .btn-sm {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }

    #haberSlider .carousel-control-prev-icon,
    #haberSlider .carousel-control-next-icon {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .border-md-end {
        border-right: 1px solid #dee2e6 !important;
    }
    .border-md-bottom-0 {
        border-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .market-wide-widget {
        text-align: center;
    }
    .market-wide-widget h5 {
        font-size: 1.1rem !important;
    }
}

