/* Anasayfa — sayfa özel stilleri */

.hero-image-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image-link:hover {
    transform: scale(1.01);
}

.hero-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 28, 46, 0.85));
    color: white;
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-image-link:hover .hero-image-overlay {
    opacity: 1;
}

.hero-image-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-image-title {
    font-size: 1.1em;
    font-weight: 600;
}

.hero-image-seo {
    font-size: 0.9em;
    opacity: 0.85;
    font-style: italic;
}

.hero-image-overlay i {
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
}

.homepage-image-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.homepage-image-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.homepage-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.homepage-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 28, 46, 0.9));
    color: white;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.homepage-image-link:hover .homepage-image-overlay {
    opacity: 1;
}

.product-card {
    position: relative;
}

.product-card .product-price {
    padding: 12px 14px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    color: var(--primary-color);
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 1px solid var(--border-light);
}

.product-card .product-price::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin-bottom: 8px;
}

.product-status-message {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .hero-image-overlay,
    .homepage-image-overlay {
        padding: 10px;
    }

    .hero-slider-section {
        padding: 0 8px;
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-slider,
    .slider-wrapper,
    .slide {
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
    }

    .slide img {
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
    }

    .product-card .product-price {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        padding: 0;
    }

    .slide img {
        width: 100%;
    }

    .product-card .product-price {
        font-size: 1rem;
        padding: 8px 10px;
    }
}
