/**
 * Hero Section - Etsy Style Modern Design
 * CiftcidenEve Brand Colors: #1A6355 (Primary), #b9475e (Accent), #FFF3E5 (Beige)
 */

/* ========================================
   Hero Section Container
   ======================================== */
.hero-section {
    padding: 20px 0 30px;
    background: #ffffff;
}

.hero-container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: stretch;
}

/* ========================================
   Main Slider Area (Left)
   ======================================== */
.hero-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    background: linear-gradient(135deg, #1A6355 0%, #2a7a6a 50%, #1A6355 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.hero-slider ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Slippry generated wrapper - fixed heights to prevent filler space */
.hero-slider .sy-box {
    position: relative;
    width: 100%;
    height: 400px !important;
    overflow: hidden;
}

.hero-slider .sy-slides-wrap {
    position: relative;
    width: 100%;
    height: 400px !important;
    overflow: hidden;
}

.hero-slider .sy-slides-crop {
    position: relative;
    width: 100%;
    height: 400px !important;
    overflow: hidden;
    border-radius: 16px;
}

/* Hide Slippry's filler - we control height manually */
.hero-slider .sy-filler {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide caption */
.hero-slider .sy-caption-wrap {
    display: none !important;
}

/* Force Slippry to show content */
.hero-slider .sy-list {
    width: 100% !important;
    height: 400px !important;
    position: relative !important;
}

.hero-slider .sy-slide {
    width: 100% !important;
    height: 400px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.hero-slider .sy-slide > li,
.hero-slider .sy-list > li {
    width: 100% !important;
    display: block !important;
}

.hero-slide {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 400px;
    max-height: 400px;
    height: 400px;
    background: linear-gradient(135deg, #1A6355 0%, #2a7a6a 50%, #1A6355 100%);
    border-radius: 0;
    overflow: hidden;
}

.hero-slide-link {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
}

/* Ensure slide content displays properly whether wrapped in link or not */
.hero-slide > .hero-slide-content,
.hero-slide > .hero-slide-image,
.hero-slide-link > .hero-slide-content,
.hero-slide-link > .hero-slide-image {
    display: flex;
}

/* Slide Content (Text Area) */
.hero-slide-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 50px;
    position: relative;
    z-index: 2;
}

.hero-slide-text {
    max-width: 400px;
}

.hero-slide-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 25px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-slide-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ffffff;
    color: #1A6355;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slide-btn:hover {
    background: #FFF3E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #1A6355;
}

/* Slide Image */
.hero-slide-image {
    flex: 0 0 45%;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 5;
}

.hero-slide-image img {
    display: block !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Slippry override - ensure all elements are visible */
.hero-slider img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.hero-slide .hero-slide-image,
.hero-slide .hero-slide-content,
.hero-slide-link .hero-slide-image,
.hero-slide-link .hero-slide-content,
.hero-slide .hero-slide-fullimage-wrapper,
.hero-slide-link .hero-slide-fullimage-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Override Slippry's default img hiding behavior */
.hero-slider .sy-slides-crop img,
.hero-slider .sy-list img,
.hero-slide img {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* ========================================
   Full Image Slide Mode (No Text)
   ======================================== */
.hero-slide-fullimage {
    padding: 0 !important;
    background: transparent !important;
}

.hero-slide-fullimage .hero-slide-link-fullimage,
.hero-slide-fullimage > img {
    display: block !important;
    width: 100%;
    height: 100%;
}

.hero-slide-fullimage img,
.hero-slide-link-fullimage img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-slide-link-fullimage {
    display: block !important;
    width: 100%;
    height: 100%;
}

/* ========================================
   Secondary Promo Area (Right) - Sosyal Kutu
   ======================================== */
.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-promo-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #b9475e 0%, #d45a71 100%);
    transition: all 0.3s ease;
}

.hero-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(185, 71, 94, 0.3);
    text-decoration: none;
    color: #ffffff;
}

/* Background image support */
.hero-promo-card.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-promo-card.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-promo-card.has-bg-image .hero-promo-content {
    position: relative;
    z-index: 1;
}

.hero-promo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-promo-card:hover .hero-promo-image img {
    transform: scale(1.05);
}

.hero-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(185, 71, 94, 0.1) 0%,
        rgba(185, 71, 94, 0.6) 50%,
        rgba(185, 71, 94, 0.95) 100%);
}

.hero-promo-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.hero-promo-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.hero-promo-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.hero-promo-desc {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    background: #ffffff;
    color: #b9475e;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.hero-promo-card:hover .hero-promo-cta {
    background: #FFF3E5;
    transform: translateX(4px);
}

.hero-promo-cta svg {
    transition: transform 0.3s ease;
}

.hero-promo-card:hover .hero-promo-cta svg {
    transform: translateX(4px);
}

/* ========================================
   Slippry Overrides for Hero
   ======================================== */

/* Pager (dots) - positioned relative to .hero-main */
.hero-main .sy-pager {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hero-main .sy-pager li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-main .sy-pager li a {
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    text-indent: -9999px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-main .sy-pager li.sy-active a,
.hero-main .sy-pager li a:hover {
    background: #ffffff;
    transform: scale(1.2);
    border-color: #ffffff;
}

/* Navigation Arrows (Controls) - Hidden by default */
.hero-main .sy-prev,
.hero-main .sy-next,
.hero-main .sy-controls {
    display: none !important;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Tablet */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 320px;
        gap: 15px;
    }

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

    .hero-slide-content {
        padding: 40px;
    }

    .hero-promo-title {
        font-size: 28px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-main,
    .hero-slider {
        min-height: 350px;
        height: 350px;
    }

    .hero-slider .sy-box,
    .hero-slider .sy-slides-wrap,
    .hero-slider .sy-slides-crop,
    .hero-slider .sy-list,
    .hero-slider .sy-slide {
        height: 350px !important;
    }

    .hero-slide {
        min-height: 350px;
        max-height: 350px;
        height: 350px;
    }

    .hero-slide-fullimage > img,
    .hero-slide-fullimage > a > img,
    .hero-slide-link-fullimage > img {
        height: 350px !important;
    }

    .hero-secondary {
        flex-direction: row;
    }

    .hero-promo-card {
        min-height: 200px;
    }

    .hero-promo-content {
        padding: 20px;
    }

    .hero-promo-title {
        font-size: 24px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero-section {
        padding: 15px 0 20px;
    }

    .hero-container {
        padding: 0 10px;
    }

    .hero-main,
    .hero-slider {
        min-height: 300px;
        height: 300px;
    }

    .hero-slider .sy-box,
    .hero-slider .sy-slides-wrap,
    .hero-slider .sy-slides-crop,
    .hero-slider .sy-list,
    .hero-slider .sy-slide {
        height: 300px !important;
    }

    .hero-slide {
        min-height: 300px;
        max-height: 300px;
        height: 300px;
        flex-direction: column;
    }

    /* Full Image Mode - Mobile */
    .hero-slide-fullimage {
        padding: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-slide-fullimage > img,
    .hero-slide-fullimage > a,
    .hero-slide-fullimage > a > img,
    .hero-slide-link-fullimage,
    .hero-slide-link-fullimage > img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .hero-slide-content {
        padding: 30px 25px;
        order: 2;
        flex: none;
    }

    .hero-slide-text {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-slide-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .hero-slide-image {
        order: 1;
        flex: none !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 20px;
        justify-content: center;
    }

    .hero-slide-image img {
        max-height: 180px;
    }

    .hero-secondary {
        flex-direction: column;
    }

    .hero-promo-card {
        min-height: 180px;
    }

    .hero-promo-content {
        padding: 20px;
    }

    .hero-promo-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-promo-title {
        font-size: 22px;
    }

    .hero-promo-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .hero-main .sy-pager {
        bottom: 15px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-main,
    .hero-slider {
        min-height: 180px;
        height: 180px;
        border-radius: 12px;
    }

    .hero-slider .sy-box,
    .hero-slider .sy-slides-wrap,
    .hero-slider .sy-slides-crop,
    .hero-slider .sy-list,
    .hero-slider .sy-slide {
        height: 180px !important;
    }

    .hero-slider .sy-slides-crop {
        border-radius: 12px;
    }

    .hero-slide {
        min-height: 180px;
        max-height: 180px;
        height: 180px;
        border-radius: 12px;
    }

    /* Full Image Mode - Mobile Small */
    .hero-slide-fullimage {
        padding: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-slide-fullimage > img,
    .hero-slide-fullimage > a,
    .hero-slide-fullimage > a > img,
    .hero-slide-link-fullimage,
    .hero-slide-link-fullimage > img {
        width: 100% !important;
        height: 180px !important;
        max-height: 180px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-slide-content {
        padding: 25px 20px;
    }

    .hero-slide-title {
        font-size: 24px;
    }

    .hero-slide-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .hero-slide-image img {
        max-height: 150px;
    }

    .hero-promo-card {
        min-height: 160px;
        border-radius: 12px;
    }

    .hero-promo-title {
        font-size: 20px;
    }

    .hero-promo-cta {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .hero-slide-title {
        font-size: 22px;
    }

    .hero-promo-title {
        font-size: 18px;
    }

    .hero-promo-desc {
        display: none;
    }
}

/* ========================================
   Full Image Mode (Banner with embedded text)
   ======================================== */
.hero-slide-fullimage {
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
}

/* Full image - direct img or inside link */
.hero-slide-fullimage > img,
.hero-slide-fullimage > a > img,
.hero-slide-link-fullimage > img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.hero-slide-link-fullimage {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Responsive for full image mode - heights are controlled by main responsive rules above */

/* ========================================
   Alternative Color Themes for Slides
   ======================================== */
.hero-slide.theme-accent {
    background: linear-gradient(135deg, #b9475e 0%, #d45a71 50%, #b9475e 100%);
}

.hero-slide.theme-beige {
    background: linear-gradient(135deg, #FFF3E5 0%, #ffe8cc 50%, #FFF3E5 100%);
}

.hero-slide.theme-beige .hero-slide-title {
    color: #1A6355;
}

.hero-slide.theme-beige .hero-slide-btn {
    background: #1A6355;
    color: #ffffff;
}

.hero-slide.theme-beige .hero-slide-btn:hover {
    background: #0d3a30;
}

/* ========================================
   Hide old slider styles if present
   ======================================== */
.container-slider-home {
    display: none !important;
}
