/* Genel Ayarlar & Smooth Scroll */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
    background-image: radial-gradient(#e5252b 0.4px, transparent 0.4px);
    background-size: 20px 20px;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.9);
}

/* --- NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
    background: transparent;
    padding: 15px 0;
}

#navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e5252b;
}

.nav-links .btn-primary {
    background-color: #e5252b;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.nav-links .btn-primary:hover {
    background-color: #c91f24;
    color: white;
}

/* --- HERO BÖLÜMÜ (ORGANİK ŞEKİLLER / BLOBS) --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px 0;
    overflow: hidden; 
    background-color: #ffffff; 
}

.hero-section .relative-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* SAFE ZONE KISMI */
.hero-bg-shapes {
    position: absolute;
    top: 100px; 
    left: 0;
    width: 100%;
    height: calc(100% - 100px); 
    z-index: 1; 
    pointer-events: none; 
}

.hero-bg-shapes .shape {
    position: absolute;
    opacity: 0.95; 
}

.blob-1 {
    top: -5%;
    left: -15%;
    width: 450px;
    height: 450px;
    background: #e5252b;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float1 38s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #e2e3e5; 
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    animation: float2 45s ease-in-out infinite alternate;
}

.blob-3 {
    top: 10%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: #ff4d4d;
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    animation: float3 28s ease-in-out infinite alternate;
}

.blob-4 {
    bottom: 5%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: #e9e9e9;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float4 33s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(50px, 40px) scale(1.05) rotate(15deg); }
    66% { transform: translate(-30px, 80px) scale(0.95) rotate(-5deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-60px, -30px) scale(1.1) rotate(-10deg); }
    66% { transform: translate(40px, -50px) scale(0.9) rotate(15deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -50px) scale(1.15) rotate(25deg); }
    66% { transform: translate(-20px, -20px) scale(0.85) rotate(-15deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(40px, -40px) scale(1.1) rotate(-20deg); }
    100% { transform: translate(-20px, 20px) scale(1) rotate(10deg); }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 32px; }
    .blob-1 { width: 300px; height: 300px; }
    .blob-2 { width: 350px; height: 350px; }
}

/* --- HİZMETLER GRID --- */
.services-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    border-top: 4px solid #e5252b;
    border-bottom: 4px solid #e5252b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(229, 37, 43, 0.15);
}

/* --- NASIL ÇALIŞIRIZ? (SCROLL HİKAYE BÖLÜMÜ) --- */
.story-section {
    padding: 80px 0;
    background: #fafafa;
    overflow: visible;
}

.story-container {
    display: flex;
    position: relative;
    align-items: flex-start;
}

/* Sol Taraf: Kavisli Yol ve Pusula (Sticky) */
.story-visuals {
    width: 40%;
    position: sticky;
    top: 20vh; /* Scroll sırasında ekranın üst-orta kısmında sabitlenir */
    height: 60vh; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Pusula İkonu */
.compass-icon {
    width: 50px;
    height: auto;
    position: absolute;
    z-index: 5;
    /* GSAP tarafından kontrol edilecek */
    transform-origin: center center;
}

/* 1, 2, 3 Durak Noktaları */
.story-stop {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    font-size: 18px;
    z-index: 2;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.story-stop.active {
    background: #e5252b;
    color: #fff;
    border-color: #e5252b;
    box-shadow: 0 0 15px rgba(229, 37, 43, 0.4);
}

/* Durakların Kavis Üzerindeki Nokta Atışı Pozisyonları (SVG Koordinatlarına Göre) */
.stop-1 { top: 8.33%; left: 80%; } 
.stop-2 { top: 50%; left: 10%; }   
.stop-3 { top: 91.66%; left: 80%; } 

/* Sağ Taraf: Özellik Kartları */
.story-content {
    width: 60%;
    padding: 10vh 0 10vh 0;
}

.story-feature {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    /* Kullanıcı kaydırsın diye aralarına devasa boşluklar koyduk */
    margin-bottom: 35vh; 
    opacity: 0.25;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid #f0f0f0;
}

.story-feature:last-child {
    margin-bottom: 0;
}

.story-feature.active {
    opacity: 1;
    transform: translateY(0);
    border-color: #e5252b;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fdfdfd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.story-feature h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #333;
}

.story-feature p {
    margin: 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Hikaye Bölümü Mobil Uyumu */
@media (max-width: 768px) {
    .story-container {
        flex-direction: row;
    }
    .story-visuals {
        width: 80px;
    }
    .story-content {
        width: calc(100% - 80px);
    }
    .story-feature {
        padding: 30px 20px;
        margin-bottom: 25vh;
    }
}

/* --- MÜŞTERİ YORUMLARI (TREADMILL) --- */
.reviews-section {
    background-color: #f7f7f9;
    background-image: linear-gradient(45deg, #e5252b08 25%, transparent 25%, transparent 75%, #e5252b08 75%, #e5252b08), 
                      linear-gradient(45deg, #e5252b08 25%, transparent 25%, transparent 75%, #e5252b08 75%, #e5252b08);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    padding: 80px 0;
}

.reviews-panel {
    background: #ffffff;
    padding: 40px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #e5252b;
    border-right: 5px solid #e5252b;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.reviews-track {
    display: flex;
    width: calc(330px * 12);
    animation: scroll-reviews 30s linear infinite; 
}

.review-card {
    width: 300px;
    flex-shrink: 0;
    margin: 0 15px;
    padding: 25px;
    background: #f8f9fa; 
    border-radius: 8px;
    border: 2px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    text-align: left;
    transition: border-color 0.3s ease; 
}

.review-card:hover {
    border-color: #cccccc; 
}

.stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-author {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-330px * 6)); }
}

/* --- ŞİKAYET FORMU --- */
.form-container {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 850px; 
    margin: 0 auto;
    border-top: 5px solid #e5252b;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row input {
    flex: 1;
}

.complaint-form input, .complaint-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    font-size: 15px;
}

.privacy-check {
    margin-bottom: 20px;
    font-size: 14px;
}

.privacy-check a {
    color: #e5252b;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background-color: #e5252b;
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #c91f24;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* --- İLETİŞİM & HARİTA (Alt Panel İçin Koyu Arka Plan) --- */
.contact-wrapper {
    display: flex;
    gap: 40px;
    background: #f1f3f5; 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    border-top: 4px solid #e5252b;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info .info-item {
    margin-bottom: 20px;
    border-left: 4px solid #e5252b;
    padding-left: 15px;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

/* --- MODAL (POP-UP) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close-btn:hover {
    color: #333;
}