/* 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;
}

/* Mobilde Görünecek Hamburger Menü İkonu (Desktopta gizli) */
.hamburger-menu {
    display: none;
}

.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;
}

.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); }
}

/* --- 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? --- */
.story-section {
    padding: 80px 0;
    background: #fafafa;
    overflow: visible;
}

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

.story-visuals {
    width: 40%;
    position: sticky;
    top: 20vh; 
    height: 60vh; 
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.compass-icon {
    width: 50px;
    height: auto;
    position: absolute;
    z-index: 5;
    transform-origin: center center;
}

.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);
}

.stop-1 { top: 8.33%; left: 80%; } 
.stop-2 { top: 50%; left: 10%; }   
.stop-3 { top: 91.66%; left: 80%; } 

.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);
    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;
}

/* --- MÜŞTERİ YORUMLARI --- */
.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[type="text"], 
.complaint-form input[type="tel"], 
.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 {
    display: flex;
    align-items: center; 
    gap: 12px; 
    margin-bottom: 25px;
    font-size: 14px;
}

.privacy-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #e5252b;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #fff;
    margin: 0;
}

.privacy-check input[type="checkbox"]:checked {
    background-color: #e5252b;
    border-color: #e5252b;
}

.privacy-check input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-check label {
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    color: #444;
}

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

.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;
}

/* --- İLETİŞİM & HARİTA --- */
.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;
}

/* --- SAĞ ALT SABİT YUVARLAK İKON BUTONLARI --- */
.floating-contact-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.phone-btn {
    background-color: #007bff;
}

.phone-btn:hover {
    background-color: #0056b3;
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #2b2b2b;
    color: #fff;
    padding: 25px 0;
    font-size: 14px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: #ccc;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #e5252b;
    text-decoration: underline;
}

.designer-link {
    color: #e5252b !important;
}

.designer-link:hover {
    color: #ff4d4d !important;
}

/* --- MODALLAR --- */
.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;
}

.success-content {
    max-width: 400px;
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    background: #28a745;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 35px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* ========================================================== */
/* --- MOBİL UYUMLULUK DÜZENLEMELERİ (Sadece Mobilde Geçerli) --- */
/* ========================================================== */
@media (max-width: 768px) {
    
    /* Navbar Düzeni: Hamburger Solda, Logo Ortada */
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Menüyü sola iter */
        position: relative;
        padding: 0 15px; /* Mobilde kenar boşlukları */
    }

    .hamburger-menu {
        display: flex !important; /* Mobilde görünür yap */
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 99999;
        padding: 10px; /* Tıklama alanını (hitbox) büyütür, mobilde hayat kurtarır */
        margin-left: -10px;
    }

    .hamburger-menu .bar {
        width: 30px;
        height: 3px;
        background-color: #333; /* Buton çizgilerinin rengi */
        transition: all 0.3s ease;
        display: block;
    }

    /* Logoyu ne olursa olsun tam ortaya sabitleriz */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* MOBİLDE TÜM LİNKLERİ NAVBAR'DAN SİL, SOLDAN AÇILAN MENÜYE HAPSET */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Menü kapalıyken solda ekran dışında durur */
        width: 280px; /* Menü genişliğini biraz artırdık */
        height: 100vh;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        box-shadow: 2px 0 15px rgba(0,0,0,0.15);
        transition: 0.4s ease-in-out;
        z-index: 99998;
        margin: 0;
    }

    .nav-links.active {
        left: 0; /* Hamburger tıklanınca soldan kayarak gelir */
    }

    .nav-links li {
        margin: 15px 0 !important;
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .nav-links .desktop-link,
    .nav-links li a {
        display: inline-block !important; 
        font-size: 18px; /* Tıklaması kolay olsun diye fontu bir tık büyüttük */
        padding: 10px;
    }

    /* Hamburger İkonu Çarpıya Dönüşme Animasyonu */
    .hamburger-menu.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .hamburger-menu.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    /* --- Mobil Diğer Hizalamalar --- */
    .hero-section h1 { font-size: 28px; }
    .blob-1 { width: 220px; height: 220px; }
    .blob-2 { width: 260px; height: 260px; }
    .story-container { flex-direction: column; }
    .story-visuals { display: none !important; }
    .story-content { width: 100%; padding: 0; }
    .story-feature { margin-bottom: 25px; opacity: 1; transform: none !important; }
    .form-container { padding: 25px 15px; }
    .form-row { flex-direction: column; gap: 0; }
    .contact-wrapper { padding: 20px; gap: 20px; }
    .footer-content { flex-direction: column; gap: 15px; text-align: center; }
    .footer-right { flex-direction: column; gap: 10px; }
    .footer-right a { margin-right: 0 !important; }
}