/* ==========================================================================
   GENEL STİLLER VE DEĞİŞKENLER
   ========================================================================== */
:root {
    --primary-text-color: #f0f0f0;
    --secondary-text-color: #a0a0a0;
    --dark-bg-color: #1a1a1a;
    --panel-bg-color: rgba(18, 26, 29, 0.8);
    --light-cta-bg: #f0f0f0;
    --dark-text-color: #333;
    --modal-bg: #FFFFFF;
    --modal-header-bg: #3A3A3C;
    --modal-input-bg: #F9F9F9;
    --modal-text-color: #FFFFFF;
    --modal-label-color: #222222;
    --modal-placeholder-color: #8A8A8E;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg-color);
    color: var(--primary-text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ==========================================================================
   SLIDER ANA YAPISI
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    visibility: hidden;
    overflow: auto;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}
.logo img {
    max-width: 200px;  /* Logo genişliği */
    height: auto;      /* Oranı korur */
    display: block;
}
/* ==========================================================================
   ÜST SAĞ HEADER BARI
   ========================================================================== */
.slide-header {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(240, 240, 240, 0.95);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    z-index: 10;
    max-width: calc(100% - 4rem);
}

.slide-header p {
    margin: 0;
    color: var(--dark-text-color);
    font-weight: 500;
    font-size: clamp(0.8rem, 2vw, 1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-quote {
    background-color: var(--dark-text-color);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    transition: background-color 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-quote:hover {
    background-color: #555;
}

/* ==========================================================================
   SOL VE SAĞ PANELLER
   ========================================================================== */
.left-panel {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--panel-bg-color);
    padding: clamp(3rem, 5vh, 5rem) clamp(2rem, 4vw, 6rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.right-panel {
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   SOL PANEL İÇERİK STİLLERİ
   ========================================================================== */
.logo {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin-bottom: clamp(1.5rem, 3vh, 3rem);
}

.tag {
    border: 1px solid var(--secondary-text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: clamp(1rem, 2vh, 2rem);
    letter-spacing: 0.1rem;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
}

.description {
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.6;
    color: var(--secondary-text-color);
    max-width: 100%;
    margin-bottom: clamp(1rem, 2vh, 2rem);
    word-wrap: break-word;
}

.advantages {
    margin: 1rem 0;
    max-width: 100%;
}

.advantages span {
    border: 1px solid var(--secondary-text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    display: inline-block;
    margin-bottom: 1rem;
}

.advantages ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    color: var(--secondary-text-color);
}

.advantages li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    line-height: 1.5;
}

.advantages li::before {
    content: '•';
    color: var(--primary-text-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.btn-cta {
    background-color: var(--light-cta-bg);
    color: var(--dark-text-color);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 1rem);
    align-self: flex-start;
    margin-top: clamp(1rem, 2vh, 2rem);
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: #ccc;
}

.cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: clamp(1rem, 2vh, 2rem);
    background-color: var(--light-cta-bg);
    border-radius: 50px;
    padding: 0.5rem;
    align-self: flex-start;
    max-width: 100%;
}

.cta-form input {
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    outline: none;
    color: #555;
    min-width: 150px;
    flex: 1;
}

.cta-form button {
    border: none;
    background-color: var(--dark-text-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cta-form button:hover {
    background-color: #555;
}

/* ==========================================================================
   BUBBLES VE REFERENCES
   ========================================================================== */
.circular-images {
    display: flex;
    gap: 1rem;
    margin-bottom: clamp(1rem, 2vh, 2rem);
    flex-wrap: wrap;
}

.image-bubble {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.image-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-bubble .icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: #fff;
    color: var(--dark-text-color);
    width: clamp(25px, 4vw, 30px);
    height: clamp(25px, 4vw, 30px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    border: 2px solid var(--panel-bg-color);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin-top: clamp(1rem, 2vh, 2rem);
    max-width: 100%;
}

.reference-logo {
    width: clamp(70px, 12vw, 100px);
    height: clamp(70px, 12vw, 100px);
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 1vw, 1rem);
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reference-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   SLIDER NAVİGASYON
   ========================================================================== */
.slider-nav {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

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

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.nav-dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 10px;
}
.rounded-img {
    border-radius: 50px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}
.form-message.success {
    background-color: #4CAF50;
    color: white;
}
.form-message.error {
    background-color: #f44336;
    color: white;
}
.btn-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* ==========================================================================
   MODAL STİLLERİ
   ========================================================================== */
#quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--modal-bg);
    color: var(--modal-text-color);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

#quote-modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    background-color: var(--modal-header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 600;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
}

.close-modal-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    overflow: hidden;
    flex: 1;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--modal-label-color);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--modal-input-bg);
    color: #000;
    border: none;
    border-radius: 14px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    box-sizing: border-box;
    transition: box-shadow 0.3s;
}

.form-group input::placeholder {
    color: var(--modal-placeholder-color);
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 58, 60, 0.2);
}

.btn-modal-submit {
    display: block;
    width: auto;
    margin: 2rem auto 0 auto;
    padding: 0.875rem 2.5rem;
    background-color: var(--modal-header-bg);
    color: var(--modal-text-color);
    border: none;
    border-radius: 50px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-modal-submit:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE TASARIM - TABLET (1024px ve altı)
   ========================================================================== */
@media (max-width: 1024px) {
    body {
        /* Dikeyde scroll (kaydırma) yapılmasına izin ver */
        overflow-y: auto; 
        /* Yüksekliği içeriğe göre otomatik ayarla */
        height: auto;
    }
    
    .slide-content {
        flex-direction: column;
        /* Yüksekliği içeriğe göre ayarla */
        height: auto;
    }
    
    .left-panel {
        position: relative;
        width: 100%;
        /* En az ekran kadar yüksek ol, ama gerekirse uzayabil */
        min-height: 100vh; 
        height: auto;
        padding: 5rem 3rem 3rem 3rem;
        justify-content: flex-start;
        text-align: center;
        align-items: center;
        /* Panel içindeki taşmayı engelleme, body scroll etsin */
        overflow: visible;
    }

    /* Geri kalan 1024px kurallarınız burada devam edebilir... */
    .right-panel {
        display: none;
    }
    
    .tag, .btn-cta, .cta-form {
        align-self: center;
    }
    
    .slide-header {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        justify-content: center;
        max-width: calc(100% - 2rem);
    }
    
    .circular-images {
        justify-content: center;
    }
    
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   RESPONSIVE TASARIM - KÜÇÜK TABLET (768px ve altı)
   ========================================================================== */
@media (max-width: 768px) {
     .logo img {
        max-width: 150px;
    }
    .left-panel {
        padding: 4.5rem 2rem 2rem 2rem;
    }
    
    .logo {
        letter-spacing: 0.3rem;
    }
    
    .slide-header {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }
    
    .slide-header p {
        text-align: center;
    }
    
    .cta-form {
        /* Formun kapsayıcı (pill) görünümünü kaldırıyoruz */
        background-color: transparent;
        padding: 0;
        border-radius: 0;

        /* Dikey hizalama ve boyutlandırma */
        flex-direction: column;
        align-items: stretch; /* Öğelerin tam genişliğe yayılmasını sağlar */
        width: 100%;
        max-width: 350px; /* Formun çok genişlemesini önler */
        gap: 1rem; /* E-posta alanı ile buton arasına boşluk ekler */
    }
    .cta-form input {
        /* E-posta alanına kendi stilini veriyoruz */
        background-color: var(--light-cta-bg); /* Açık renk arka plan */
        border: none;
        border-radius: 50px; /* Kendisi tek başına oval olsun */
        padding: 0.875rem 1.5rem; /* Dokunma alanını büyütmek için dolgu */
        font-size: 1rem; /* Okunaklı font boyutu */
        text-align: left; /* Metni sola hizala (daha standart) */
        color: #333; /* Yazı rengi */
        width: 100%; /* Zaten vardı, ama burada olması netlik kazandırır */
    }
    
    .cta-form input::placeholder {
        color: #888;
    }

    .cta-form button {
        /* Butonun stilini de netleştiriyoruz */
        padding: 0.875rem 1.5rem; /* Dolguyu input ile aynı yapıyoruz */
        font-size: 1rem;
        font-weight: 600; /* Biraz daha kalın yazı */
        border-radius: 50px; /* Zaten ovaldi, tutarlılık için kalıyor */
        width: 100%; /* Tam genişlik */
    }
}
@media screen and (max-width: 768px) {
    
    /* Slider container artık scroll edilebilir */
    .slider-container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    /* Slide'lar artık statik, üst üste değil alt alta */
    .slide {
        position: relative;
        opacity: 1;
        visibility: visible;
        height: auto;
        min-height: 100vh;
        display: block;
    }
    
    /* Aktif olmayan slide'ları gizle (mobilde sadece aktif görünsün) */
    .slide:not(.active) {
        display: none;
    }
    
    /* Alternatif: Tüm slide'ların görünmesini istiyorsanız yukarıdaki 3 satırı silin */
    /* ve aşağıdaki yorumu kaldırın:
    .slide {
        margin-bottom: 20px;
    }
    */
    
    /* Slider Navigation - mobilde fixed, alt ortada */
    .slider-nav {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        padding: 10px 20px;
        gap: 10px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(15px);
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .nav-dot.active {
        width: 25px;
    }
    
    /* Slide içerik alanları */
    .slide-content {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .left-panel {
        width: 100%;
        padding: 20px;
        max-height: none;
        overflow-y: visible;
    }
    
    .right-panel {
        display: none; /* Mobilde sağ panel gizlenebilir */
    }
    
    /* Logo ve header */
    .slide-header {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    /* Başlıklar */
    .left-panel h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Avantajlar listesi */
    .advantages ul {
        font-size: 13px;
    }
    
    /* Referans grid */
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-bottom: 80px; /* Navigation için alan bırak */
    }
    
    /* CTA Butonları */
    .btn-cta,
    .btn-quote {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Form */
    .cta-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-form input {
        width: 100%;
    }
    
    .cta-form button {
        width: 100%;
    }
}
/* ==========================================================================
   RESPONSIVE TASARIM - MOBİL (480px ve altı)
   ========================================================================== */
@media (max-width: 480px) {
    .left-panel {
        padding: 2rem 1.25rem 2rem 1.25rem;
    }
    
    .logo {
        letter-spacing: 0.2rem;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.75rem;
    }
    
    h1 {
        margin-bottom: 1rem;
    }
    
    .advantages ul {
        margin-top: 0.75rem;
    }
    
    .advantages li {
        margin-bottom: 0.5rem;
        padding-left: 1.2rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .reference-logo {
        width: 70px;
        height: 70px;
    }
    
    .circular-images {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .image-bubble {
        width: 60px;
        height: 60px;
    }
    
    .slider-nav {
        bottom: 15px;
        padding: 8px 15px;
        gap: 8px;
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
    }
    
    .nav-dot.active {
        width: 20px;
    }
    
    .modal-content {
        border-radius: 15px;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   RESPONSIVE TASARIM - ÇOOK KÜÇÜK EKRANLAR (360px ve altı)
   ========================================================================== */
@media (max-width: 360px) {
    .left-panel {
        padding: 3.5rem 1rem 1.5rem 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 0.8rem;
    }
    
    .advantages li {
        font-size: 0.75rem;
    }
    
    .btn-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .reference-logo {
        width: 60px;
        height: 60px;
        padding: 0.4rem;
    }
}

/* ==========================================================================
   YATAY MOD - LANDSCAPE (Yükseklik 600px'den az)
   ========================================================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .left-panel {
        padding: 2rem 3rem 1.5rem 3rem;
        justify-content: flex-start;
    }
    
    .logo {
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .description {
        margin-bottom: 1rem;
    }
    
    .advantages {
        margin: 0.5rem 0;
    }
    
    .advantages ul {
        margin-top: 0.5rem;
    }
    
    .advantages li {
        margin-bottom: 0.4rem;
    }
    
    .btn-cta, .cta-form {
        margin-top: 1rem;
    }
    
    .slide-header {
        top: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .slider-nav {
        bottom: 0.75rem;
    }
    
    .references-grid {
        gap: 0.5rem;
    }
    
    .reference-logo {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   EKSTRA BÜYÜK EKRANLAR (1920px ve üstü)
   ========================================================================== */
@media (min-width: 1920px) {
    .left-panel {
        padding: 6rem 8rem;
    }
    
    h1 {
        font-size: 3.5rem;
        max-width: 700px;
    }
    
    .description {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .logo {
        font-size: 3rem;
    }
}

/* ==========================================================================
   YAZDIRMA STİLLERİ
   ========================================================================== */
@media print {
    .slider-nav,
    .slide-header,
    .btn-cta,
    .cta-form {
        display: none !important;
    }
    
    .left-panel {
        background-color: white;
        color: black;
    }
    
    .slide {
        position: static;
        opacity: 1;
        visibility: visible;
        page-break-after: always;
    }
}