/* Shofy Homepage Styles - Yakut Style Hero Slider */

/* Import Font (if not already global) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Hero Slider - Yakut Style */
.shofy-hero-slider {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    /* Dynamic height: Viewport - Navbar (~120px) */
    height: calc(100vh - 120px);
    min-height: 500px;
    max-height: 950px;
    overflow: hidden;
    background: #1a1a1a;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    visibility: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image - Cover style like Yakut */
.slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    background-color: #1a1a1a;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Overlay - Subtle lighting effect for products */
.slide-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle radial spotlight effect - very light */
    background: radial-gradient(ellipse 80% 100% at 65% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

/* Content Container */
.slide-inner {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    /* Üste hizala */
    justify-content: flex-start;
    z-index: 5;
    padding: 80px 80px;
    /* Üst ve yan padding */
    max-width: 1400px;
    margin: 0 auto;
}

.slide-content-wrapper {
    text-align: left;
    color: var(--text-kahve, #704831);
    max-width: 500px;
    padding-top: 40px;
    /* Sol-orta-üst konumu */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.3s;
}

.slide-item.active .slide-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Typography - Kahve Tonları */
.slide-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    color: var(--vurgu-kahve, #a67b5b);
}

.slide-title {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-kahve, #704831);
    text-shadow: none;
}

/* Button - Kahve Tonları */
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bg-krem, #fcf8f3);
    background: var(--text-kahve, #704831);
    border: 2px solid var(--text-kahve, #704831);
    padding: 14px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    border-radius: 0;
}

.slide-btn:hover {
    background: var(--vurgu-kahve, #a67b5b);
    border-color: var(--vurgu-kahve, #a67b5b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(112, 72, 49, 0.3);
}

.slide-btn i,
.slide-btn svg {
    transition: transform 0.3s;
}

.slide-btn:hover i,
.slide-btn:hover svg {
    transform: translateX(5px);
}

/* Dots Navigation - Yakut Style */
.shofy-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.shofy-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}

.shofy-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.1);
}

.shofy-dot:hover {
    border-color: #ffffff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive - Tablet */
@media (max-width: 991px) {
    .shofy-hero-slider {
        /* Dynamic height for tablet - navbar ~120px, no marquee on mobile */
        height: calc(100vh - 120px);
        min-height: 350px;
        max-height: 600px;
    }

    .slide-inner {
        padding: 0 40px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 14px;
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .shofy-hero-slider {
        /* Dynamic height for mobile - fixed header ~70px */
        height: calc(100vh - 70px);
        min-height: 300px;
        max-height: 500px;
    }

    .slide-inner {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }

    .slide-content-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .slide-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .shofy-slider-dots {
        bottom: 25px;
    }

    /* Overlay centered for mobile */
    .slide-item::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    }
}

/* Modern Bestsellers (Sets & Kits) Styles */
.clean-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-krem, #fcf8f3) !important;
    border: 1px solid rgba(112, 72, 49, 0.1);
}

.clean-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(112, 72, 49, 0.15) !important;
    border-color: var(--vurgu-kahve, #a67b5b);
}

/* Action Buttons (Desktop) */
.action-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-krem, #fcf8f3);
    border: 1px solid var(--vurgu-kahve, #a67b5b);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--bg-kahve, #704831);
    box-shadow: 0 4px 6px -1px rgba(112, 72, 49, 0.1);
}

.action-btn-circle:hover {
    background: var(--bg-kahve, #704831);
    border-color: var(--bg-kahve, #704831);
    color: #fff;
}

/* Card Title & Price Styles with Palette */
.clean-product-card .card-title a {
    color: var(--bg-kahve, #704831) !important;
    transition: color 0.2s ease;
}

.clean-product-card .card-title a:hover {
    color: var(--vurgu-kahve, #a67b5b) !important;
}

.clean-product-card .card-price .current {
    color: var(--bg-kahve, #704831) !important;
    font-weight: 700;
}

.clean-product-card .old-price {
    color: var(--vurgu-kahve, #a67b5b) !important;
}

/* Badge Styles with Palette */
.clean-product-card .badge.discount {
    background: var(--bg-kahve, #704831) !important;
}

.clean-product-card .badge.new {
    background: var(--vurgu-kahve, #a67b5b) !important;
}

/* Hover Effect (Desktop only) */
@media (min-width: 769px) {
    .clean-product-card:hover .card-action-buttons {
        opacity: 1 !important;
        transform: translateY(-10px) !important;
    }
}

/* Mobile Active Overlay */
.clean-product-card.active .mobile-active-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Mobile Add Cart Button */
.action-btn-primary.mobile-add-cart-btn {
    background: var(--bg-kahve, #704831) !important;
    border: none;
    color: #fff !important;
}

.action-btn-primary.mobile-add-cart-btn:hover {
    background: var(--vurgu-kahve, #a67b5b) !important;
}

/* Hide Weekly Featured on Mobile */
@media (max-width: 768px) {
    .featured-weekly-section {
        display: none !important;
    }
}

/* Blog Section Hover Effects */
.blog-card:hover img {
    transform: scale(1.05);
}

.view-all-blog-btn:hover {
    background-color: var(--bg-kahve, #704831);
    color: #fff !important;
    border-color: var(--bg-kahve, #704831);
}