/**
 * GUAVA HERO SLIDER - Styles
 * Swiper.js özelleştirmeleri
 * Hızlandırılmış ve sadeleştirilmiş sürüm
 */

/* Wrapper - Full Width */
.guava-slider-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
}

/* Slider Container */
.guava-hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.guava-hero-slider {
    width: 100%;
    height: 100vh;
    max-height: none;
    position: relative;
}

/* Slides */
.guava-hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Background Image */
.guava-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    transform: scale(1);
    transition: transform 6s ease-out;
    will-change: transform;
}

.guava-hero-slider .swiper-slide-active .guava-slide-bg {
    transform: scale(1.04);
}

/* Overlay */
.guava-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(143, 72, 21, 0.28) 0%, rgba(169, 122, 87, 0.18) 100%);
    z-index: 1;
}

/* Content */
.guava-slide-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    opacity: 1;
}

/* Content Positions */
.swiper-slide-content-left {
    left: 8%;
    right: auto;
    text-align: left;
    max-width: 600px;
}

.swiper-slide-content-right {
    right: 10%;
    left: auto;
    text-align: right;
    max-width: 600px;
}

.swiper-slide-content-center {
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 700px;
}

/* Title */
.guava-slide-title {
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transform: none;
    opacity: 1;
    line-height: 1.1;
}

/* Custom Title */
.guava-slide-title-custom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 25px;
}

.guava-slide-title-custom .title-cikolata {
    font-family: 'Allura', cursive;
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.guava-slide-title-custom .title-sanati {
    font-family: 'Manrope', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 10px;
    line-height: 1;
    color: #fff;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    margin-top: -8px;
}

.guava-slide-subtitle-custom {
    max-width: 550px;
    margin: 15px 0 30px 0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    color: rgba(255, 255, 255, 0.88);
}

/* Love Title */
.guava-slide-title-love {
    margin-bottom: 15px;
}

.guava-slide-title-love .title-love {
    font-family: 'Allura', cursive !important;
    font-size: 78px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: none;
    color: #fff;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.guava-slide-subtitle-love {
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    letter-spacing: 0.3px;
}

/* Right aligned custom title */
.swiper-slide-content-right .guava-slide-title-custom {
    align-items: flex-end;
}

.swiper-slide-content-right .guava-slide-subtitle-custom {
    text-align: right;
    margin-left: auto;
}

.swiper-slide-content-right .guava-slide-btn {
    float: right;
}

/* Subtitle only */
.guava-slide-title-subtitle-only {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 30px;
}

.guava-slide-title-subtitle-only .subtitle-line-1,
.guava-slide-title-subtitle-only .subtitle-line-2 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
.guava-slide-subtitle {
    font-size: 20px;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    transform: none;
    opacity: 1;
    line-height: 1.5;
}

/* Button */
.guava-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: rgba(143, 72, 21, 0.88);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: 2px solid rgba(143, 72, 21, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(143, 72, 21, 0.35);
    transform: none;
    opacity: 1;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.guava-slide-btn svg {
    transition: transform 0.25s ease;
}

.guava-slide-btn svg:first-child {
    margin-right: 2px;
}

.guava-slide-btn:hover {
    background: rgba(143, 72, 21, 1);
    border-color: rgba(143, 72, 21, 1);
    box-shadow: 0 6px 30px rgba(143, 72, 21, 0.45);
    transform: translateY(-2px);
}

.guava-slide-btn:hover svg {
    transform: translateX(4px);
}

/* Navigation Arrows */
.guava-hero-slider .swiper-button-next,
.guava-hero-slider .swiper-button-prev {
    display: none !important;
}

/* Pagination */
.guava-hero-slider .swiper-pagination {
    bottom: 30px;
}

.guava-hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: all 0.3s ease;
}

.guava-hero-slider .swiper-pagination-bullet-active {
    background: #8f4815;
    width: 30px;
    border-radius: 6px;
}

/* Progress Bar */
.guava-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.guava-slider-progress-bar {
    height: 100%;
    background: #8f4815;
    width: 0%;
    transition: width 0.1s linear;
}

/* Responsive */
@media (max-width: 1024px) {
    .guava-hero-slider {
        height: 100vh;
    }

    .guava-slide-title {
        font-size: 42px;
    }

    .guava-slide-title-custom .title-cikolata {
        font-size: 48px;
    }

    .guava-slide-title-custom .title-sanati {
        font-size: 36px;
        letter-spacing: 6px;
    }

    .guava-slide-subtitle {
        font-size: 18px;
    }

    .guava-slide-subtitle-custom {
        font-size: 16px;
    }

    .guava-slide-title-love {
        margin-bottom: 12px;
    }

    .guava-slide-title-love .title-love {
        font-size: 58px;
    }

    .guava-slide-subtitle-love {
        font-size: 16px;
    }

    .guava-slide-title-subtitle-only .subtitle-line-1,
    .guava-slide-title-subtitle-only .subtitle-line-2 {
        font-size: 16px;
    }

    .swiper-slide-content-left,
    .swiper-slide-content-right {
        left: 5%;
        right: auto;
        transform: translateY(-50%);
        text-align: left;
        max-width: 90%;
    }

    .swiper-slide-content-center {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .swiper-slide-content-right .guava-slide-title-custom {
        align-items: flex-start;
    }

    .swiper-slide-content-right .guava-slide-subtitle-custom {
        text-align: left;
        margin-left: 0;
    }

    .swiper-slide-content-right .guava-slide-btn {
        float: none;
    }
}

@media (max-width: 768px) {
    .guava-hero-slider {
        height: 100vh;
    }

    .guava-slide-title {
        font-size: 32px;
    }

    .guava-slide-title-custom .title-cikolata {
        font-size: 38px;
    }

    .guava-slide-title-custom .title-sanati {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .guava-slide-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .guava-slide-subtitle-custom {
        font-size: 14px;
        max-width: 90%;
    }

    .guava-slide-title-love {
        margin-bottom: 10px;
    }

    .guava-slide-title-love .title-love {
        font-size: 46px;
    }

    .guava-slide-subtitle-love {
        font-size: 15px;
    }

    .guava-slide-title-custom {
        align-items: flex-start;
    }

    .guava-slide-title-subtitle-only .subtitle-line-1,
    .guava-slide-title-subtitle-only .subtitle-line-2 {
        font-size: 14px;
    }

    .guava-slide-btn {
        padding: 12px 28px;
        font-size: 14px;
        gap: 10px;
    }

    .guava-hero-slider .swiper-pagination {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .guava-hero-slider {
        height: 100vh;
    }

    .guava-slide-title {
        font-size: 24px;
    }

    .guava-slide-subtitle {
        font-size: 14px;
    }

    .guava-slide-content {
        padding: 0 15px;
    }

    .swiper-slide-content-left {
        left: 15px;
        right: 15px;
        max-width: none;
    }

    .guava-slide-title-custom .title-cikolata {
        font-size: 32px;
    }

    .guava-slide-title-custom .title-sanati {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .guava-slide-title-love {
        margin-bottom: 8px;
    }

    .guava-slide-title-love .title-love {
        font-size: 36px;
    }

    .guava-slide-subtitle-love {
        font-size: 14px;
    }

    .guava-slide-title-subtitle-only .subtitle-line-1,
    .guava-slide-title-subtitle-only .subtitle-line-2 {
        font-size: 13px;
    }
}
/* =========================
   MOBIL BASLIK FIX - TUM SLAYTLAR
   ========================= */
@media (max-width: 767px) {

    /* ÜST SATIR (Çikolata / Lezzet / Bebek) */
    .guava-slide-title-custom .title-cikolata,
    .guava-slide-title-custom2 .title-cikolata,
    .guava-slide-title-custom3 .title-cikolata {
        display: block !important;
        font-size: 52px !important;
        line-height: 1.15 !important;
        margin-bottom: 8px !important;
    }

    /* ALT SATIR (SANATI / SERÜVENİ / ÇİKOLATASI) */
    .guava-slide-title-custom .title-sanati,
    .guava-slide-title-custom2 .title-sanati,
    .guava-slide-title-custom3 .title-sanati {
        display: block !important;
        font-size: 38px !important;
        line-height: 1.05 !important;
        letter-spacing: 6px !important;
        margin-top: 0 !important; /* EN KRITIK */
    }
}