/**
 * Sinerji Slider Theme - Main Slider CSS (Fixed Version)
 * 
 * @package Sinerji_Slider
 * @author Emir Gül
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Slider Container */
.slider-container {
    --slide-width: 100%;
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 427px;
    margin: 0 auto;
    overflow: hidden !important;
    padding: 0 !important;
	touch-action: pan-y;
}

/* Slider Wrapper - FIXED */
.slider-wrapper-banner {
    display: flex;
    height: 100%;
    width: max-content;
    transition: transform 0.6s ease;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    gap: 0;
}

/* Slide - Her slide container genişliğinde olmalı */
.slide {
    width: var(--slide-width, 100%);
    min-width: var(--slide-width, 100%);
    flex-shrink: 0;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left Content Container - FIXED */
.left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 60%;
    flex: 0 0 50%;
    height: 100%;
    padding: 50px !important;
    gap: 20px;
    position: relative;
    box-sizing: border-box;
}

/* Heading Widget */
.heading-widget {
    display: block;
    position: relative;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.heading-widget h2 {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 42px;
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 0 0 0 100px !important;
    text-align: start;
}

/* Text Editor Widget */
.text-widget {
    display: block;
    position: relative;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.text-widget p {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: rgb(255, 255, 255);
    margin: 0 0 14.4px 0;
    padding: 0 0 0 100px !important;
    text-align: start;
    max-width: 450px;
}

/* Button Widget */
.button-widget {
    display: block;
    position: relative;
    max-width: 100%;
    width: auto;
    height: 36px;
    padding-left: 100px !important;
}

.button-widget a {
    display: inline-block;
    background-color: rgb(21, 113, 184);
    color: rgb(255, 255, 255);
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
    padding: 8px 20px;
    border-radius: 39px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    min-height: 36px;
    white-space: nowrap;
}

.button-widget a:hover {
    background-color: rgb(18, 98, 160);
    transform: translateY(-2px);
}

.button-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.button-text {
    display: block;
}

/* Right Content Container - FIXED */
.right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 50%;
    flex: 0 0 50%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    padding: 20px 20px 20px 0;
    gap: 0;
    overflow: visible;
    box-sizing: border-box;
}

/* Logo Container (White Box) */
.logo-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    width: 115px;
    min-height: 240px;
    padding: 20px 10px;
    gap: 20px;
    margin-right: 20px !important;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo Widgets */
.logo-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 70px;
    height: 100px;
}

.logo-widget img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Person Image (Absolute Position) */
.person-image-container {
    position: absolute;
    left: 0;
    bottom: -30px;
    width: 410px;
    height: 500px;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

.person-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 12px;
    z-index: 100;
    padding: 0 0 0 120px !important;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large screens - 1200px and below */
@media (max-width: 1200px) {
    .slider-container {
        max-width: 100%;
        height: 380px;
    }

    .left-content {
        width: 55%;
        flex: 0 0 55%;
        padding: 40px 30px !important;
    }

    .right-content {
        width: 45%;
        flex: 0 0 45%;
    }

    .heading-widget h2 {
        font-size: clamp(24px, 3vw, 32px);
        line-height: 1.3;
    }

    .text-widget p {
        font-size: clamp(12px, 1.5vw, 14px);
        max-width: 100%;
    }

    .person-image-container {
        width: 300px;
        height: auto;
        max-height: 450px;
    }

    .logo-container {
        width: 100px;
        min-height: 200px;
        padding: 8px;
        gap: 15px;
    }

    .logo-widget {
        width: 60px;
        height: 85px;
    }
}

/* Medium screens - 1024px and below */
@media (max-width: 1024px) {
    .slider-container {
        height: 350px;
    }

    .left-content {
        width: 58%;
        flex: 0 0 58%;
        padding: 30px 25px !important;
        gap: 15px;
    }

    .right-content {
        width: 42%;
        flex: 0 0 42%;
    }

    .heading-widget h2 {
        font-size: clamp(22px, 2.8vw, 28px);
    }

    .person-image-container {
        width: 260px;
        max-height: 400px;
    }

    .logo-container {
        width: 90px;
        min-height: 180px;
    }

    .logo-widget {
        width: 55px;
        height: 75px;
    }
}

/* Tablet landscape - 968px and below */
@media (max-width: 968px) {
    .slider-container {
        height: auto;
        min-height: 350px;
    }

    .slide {
        flex-direction: column;
        min-height: 350px;
    }

    .left-content {
        width: 100%;
        flex: 1 1 100%;
        height: 100%;
        min-height: 350px;
        padding: 40px 30px !important;
        gap: 20px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .left-content .heading-widget,
    .left-content .text-widget,
    .left-content .button-widget {
        width: 100%;
        max-width: 500px;
    }

    .left-content .heading-widget {
        text-align: center;
    }

    .left-content .heading-widget h2 {
        text-align: center;
        padding: 0 !important;
    }

    .left-content .text-widget p {
        text-align: center;
        max-width: 100%;
        padding: 0 !important;
    }

    .button-widget {
        padding-left: 0 !important;
    }

    .right-content {
        display: none;
    }

    .person-image-container {
        display: none;
    }

    .heading-widget h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .text-widget p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 100%;
    }

    .slider-dots {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 !important;
    }
}

/* Tablet portrait - 768px and below */
@media (max-width: 768px) {
    .slider-container {
        min-height: 380px;
    }

    .left-content {
        padding: 25px 20px !important;
        gap: 12px;
    }

    .heading-widget h2 {
        font-size: 22px;
        line-height: 1.3;
        padding: 0 !important;
    }

    .text-widget p {
        font-size: 12px;
        line-height: 1.6;
        padding: 0 !important;
    }

    .button-widget {
        padding-left: 0 !important;
    }

    .button-widget a {
        font-size: 10px;
        padding: 10px 16px;
        min-height: auto;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        gap: 10px;
        padding: 0 !important;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 32px;
    }
}

/* Mobile landscape - 600px and below */
@media (max-width: 600px) {
    .slider-container {
        min-height: 350px;
    }

    .left-content {
        padding: 20px 18px !important;
        gap: 10px;
    }

    .heading-widget h2 {
        font-size: 20px;
        padding: 0 !important;
    }

    .text-widget p {
        font-size: 11px;
        line-height: 1.5;
        padding: 0 !important;
    }

    .button-widget {
        padding-left: 0 !important;
    }

    .button-widget a {
        font-size: 9px;
        padding: 8px 14px;
    }

    .slider-dots {
        padding: 0 !important;
    }
}

/* Mobile portrait - 480px and below */
@media (max-width: 480px) {
    .slider-container {
        min-height: 320px;
    }

    .left-content {
        padding: 18px 15px !important;
        gap: 8px;
    }

    .heading-widget h2 {
        font-size: 18px;
        line-height: 1.25;
        padding: 0 !important;
    }

    .text-widget p {
        font-size: 11px;
        line-height: 1.5;
        padding: 0 !important;
    }

    .button-widget {
        padding-left: 0 !important;
    }

    .button-widget a {
        font-size: 9px;
        padding: 8px 12px;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 15px;
        gap: 8px;
        padding: 0 !important;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 26px;
        border-radius: 4px;
    }
}

/* Extra small mobile - 360px and below */
@media (max-width: 360px) {
    .slider-container {
        min-height: 300px;
    }

    .left-content {
        padding: 15px 12px !important;
    }

    .heading-widget h2 {
        font-size: 16px;
        padding: 0 !important;
    }

    .text-widget p {
        font-size: 10px;
        padding: 0 !important;
    }

    .button-widget {
        padding-left: 0 !important;
    }

    .button-widget a {
        font-size: 8px;
        padding: 6px 10px;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        padding: 0 !important;
    }
}