:root {
    --bg-color: #0b0c10;
    --bg-lighter: #1f2833;
    --accent-red: #ff2a2a;
    --accent-dark-red: #c90000;
    --text-light: #c5c6c7;
    --text-white: #ffffff;
    --whatsapp: #25D366;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
}

/* --- YENİ EKLENTİ: Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--accent-red);
    z-index: 1002;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.8);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-color); z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
.loader-ring {
    width: 130px; height: 130px; border-radius: 50%; position: absolute;
    border: 3px solid transparent; border-top-color: var(--accent-red);
    border-bottom-color: var(--accent-red); animation: spin 1.5s linear infinite;
}
.loader-icon { font-size: 50px; color: var(--accent-red); z-index: 2; position: relative; }
#preloader h2 { margin-top: 20px; font-weight: 800; letter-spacing: 2px; color: var(--text-white); animation: pulseText 1.5s infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulseText { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* --- NAVBAR --- */
header {
    position: fixed; top: 0; width: 100%; padding: 25px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.4s ease; background: transparent;
}
header.scrolled {
    background: rgba(11, 12, 16, 0.95); padding: 15px 50px;
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border);
}
.logo {
    font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 12px;
    color: var(--text-white); text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
}
.logo i { color: var(--accent-red); font-size: 30px; text-shadow: 0 0 10px rgba(255,42,42,0.6); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-white); text-decoration: none; font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: 1px; position: relative; transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background-color: var(--accent-red); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent-red); }
.nav-links a:hover::after { width: 100%; }

.contact-btn {
    background-color: var(--accent-red); color: #fff; padding: 10px 25px; border-radius: 30px;
    font-weight: 600; text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 42, 42, 0.3); display: inline-flex; align-items: center; gap: 8px;
}
.contact-btn:hover { background-color: var(--accent-dark-red); box-shadow: 0 6px 20px rgba(255, 42, 42, 0.5); transform: translateY(-2px); }

/* Mobil Menü Sınıfları */
.hamburger-menu { display: none; font-size: 28px; color: #fff; cursor: pointer; z-index: 1001; }
.mobile-only { display: none !important; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh; display: flex; align-items: center; position: relative; padding: 0 10%;
    background: url('https://images.unsplash.com/photo-1614162692292-7ac56d7f7f1e?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(11,12,16,1) 0%, rgba(11,12,16,0.85) 50%, rgba(11,12,16,0.3) 100%);
    z-index: 0;
}
.hero-content {
    position: relative; z-index: 2; max-width: 700px;
    transition: transform 0.1s ease-out; /* Parallax için gerekli */
}
.hero-badge {
    display: inline-block; background: rgba(255, 42, 42, 0.1); color: var(--accent-red);
    padding: 8px 16px; border-radius: 50px; font-size: 14px; font-weight: 800; letter-spacing: 2px;
    margin-bottom: 20px; border: 1px solid rgba(255, 42, 42, 0.3); text-transform: uppercase;
}
.hero h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.hero h1 span { color: var(--accent-red); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: #d1d1d1; }
.hero-buttons { display: flex; gap: 20px; }
.btn-large {
    padding: 18px 35px; font-size: 16px; font-weight: 800; text-transform: uppercase;
    border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s;
}
.btn-primary { background-color: var(--accent-red); color: #fff; box-shadow: 0 10px 30px rgba(255, 42, 42, 0.3); }
.btn-primary:hover { background-color: var(--accent-dark-red); transform: scale(1.05); }
.btn-whatsapp-hero { background-color: transparent; color: var(--whatsapp); border: 2px solid var(--whatsapp); }
.btn-whatsapp-hero:hover { background-color: var(--whatsapp); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }

/* --- HİZMETLERİMİZ --- */
.services { padding: 100px 10%; background-color: var(--bg-color); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; font-weight: 900; text-transform: uppercase; }
.section-header h2 span { color: var(--accent-red); }
.section-header p { color: #888; max-width: 600px; margin: 15px auto 0; font-size: 1.1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 40px 30px; transition: all 0.4s ease; position: relative; overflow: hidden; backdrop-filter: blur(5px);
    opacity: 0; transform: translateY(30px); transform-style: preserve-3d;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(to bottom, rgba(255,42,42,0.1) 0%, transparent 100%);
    transition: height 0.4s ease; z-index: 0;
}
.service-card:hover { border-color: rgba(255, 42, 42, 0.5); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); }
.service-card:hover::before { height: 100%; }
.service-card .content { position: relative; z-index: 1; transform: translateZ(30px); }
.service-icon {
    width: 70px; height: 70px; background: rgba(255, 42, 42, 0.1); border-radius: 15px;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    color: var(--accent-red); margin-bottom: 25px; transition: all 0.4s ease;
}
.service-card:hover .service-icon { background: var(--accent-red); color: #fff; transform: rotateY(180deg) scale(1.1); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 800; }

/* --- NEDEN BİZ? --- */
.why-us { padding: 100px 10%; background-color: var(--bg-lighter); display: flex; align-items: center; gap: 60px; overflow: hidden; }
.why-us-img { flex: 1; position: relative; transform-style: preserve-3d; }
.why-us-img img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0px rgba(255, 42, 42, 0.2); transform: translateZ(20px); }
.why-us-content { flex: 1; }
.why-us-content h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.why-list { margin-top: 30px; list-style: none; }
.why-list li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; transition: transform 0.3s; }
.why-list li:hover { transform: translateX(15px); }
.why-list i { color: var(--accent-red); font-size: 24px; margin-top: 5px; text-shadow: 0 0 5px rgba(255,42,42,0.5); }
.why-list h4 { font-size: 1.2rem; margin-bottom: 5px; }

/* --- YORUMLAR (SWIPER) --- */
.reviews-section {
    padding: 100px 10%;
    background: url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
    position: relative;
}
.reviews-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 12, 16, 0.92);
}
.reviews-container { position: relative; z-index: 1; }
.swiper { width: 100%; padding-top: 20px; padding-bottom: 50px; }
.swiper-wrapper { transition-timing-function: linear !important; }
.swiper-slide {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); border-radius: 20px; padding: 40px; height: auto;
    transition: transform 0.3s, box-shadow 0.3s;
}
.swiper-slide:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: rgba(255,42,42,0.3); }
.google-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.user-info { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%; background-color: var(--accent-red);
    display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 20px; color: #fff;
}
.user-info h4 { font-size: 1.1rem; }
.user-info span { font-size: 12px; color: #888; }
.google-logo { color: #4285F4; font-size: 24px; }
.stars { color: #fbbc04; margin-bottom: 15px; font-size: 16px; }
.review-text { font-style: italic; font-size: 1rem; color: #ddd; }

/* --- FOOTER --- */
footer { background-color: #050608; padding: 80px 10% 30px; border-top: 2px solid var(--accent-red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-about p { margin-top: 20px; color: #888; }
.footer-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: var(--accent-red); }
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; color: #bbb; transition: transform 0.3s; }
.footer-contact li:hover { transform: translateX(10px); color: #fff; }
.footer-contact i { color: var(--accent-red); font-size: 20px; margin-top: 3px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: #666; font-size: 14px; }
.creator-signature { margin-top: 10px; font-size: 13px; letter-spacing: 0.5px; }
.creator-signature a { color: var(--accent-red); text-decoration: none; font-weight: bold; font-family: 'Montserrat', sans-serif; transition: 0.3s; }
.creator-signature a:hover { color: #fff; text-shadow: 0 0 10px rgba(255, 42, 42, 0.8); }

/* --- SABİT BUTONLAR --- */
.floating-action { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.float-btn {
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 30px; color: #fff; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,0.5); transition: all 0.3s; position: relative;
}
.float-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; z-index: -1; animation: pulse-ring 2s infinite;
}
.float-wa { background-color: var(--whatsapp); }
.float-wa::before { background-color: var(--whatsapp); }
.float-call { background-color: var(--accent-red); }
.float-call::before { background-color: var(--accent-red); }
.float-btn:hover { transform: scale(1.1); }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* =========================================
   TELEFON VE TABLET UYUMLULUĞU (RESPONSIVE)
   ========================================= */

/* Tablet ve Küçük Ekranlar (992px altı) */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .why-us { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    
    /* Mobil Hamburger Menü Aktifleşiyor */
    .hamburger-menu { display: block; }
    .desktop-only { display: none; }
    .mobile-only { display: inline-flex !important; justify-content: center; margin-top: 20px; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(11, 12, 16, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid var(--accent-red); z-index: 1000;
    }
    
    .nav-links.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
    .nav-links a { font-size: 18px; margin: 15px 0; width: 100%; text-align: center; }
}

/* Telefonlar (576px altı) */
@media (max-width: 576px) {
    header { padding: 15px 20px; }
    .hero { padding: 0 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .btn-large { justify-content: center; width: 100%; }
    .float-btn { width: 50px; height: 50px; font-size: 24px; }
    
    /* Footer içerikleri ortalanır */
    .footer-grid { text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
}