/* Velnox Teknik - Ultra Profesyonel Sürüm v2 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #142952;
    --primary-light: #1d3b75;
    --accent: #FFBF1A;
    --accent-hover: #e5a800;
    --text-dark: #222222;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --whatsapp: #25D366;
    --shadow: 0 10px 30px rgba(20, 41, 82, 0.08);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.7; overflow-x: hidden; }

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--primary); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
.preloader.fade-out { opacity: 0; visibility: hidden; }
.spinner { width: 50px; height: 50px; border: 5px solid rgba(255, 191, 26, 0.3); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header & Navigation */
header { background-color: var(--primary); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.2); transition: var(--transition); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }

/* Site Logo */
.logo-container { display: flex; align-items: center; text-decoration: none; padding: 5px 0; }
.site-logo { max-height: 55px; width: auto; object-fit: contain; }

/* Nav Menü */
nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); position: relative; padding: 5px 0; }
nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background-color: var(--accent); transition: var(--transition); }
nav a:hover, nav a.active { color: var(--accent); }
nav a:hover::after, nav a.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--primary); min-width: 220px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(15px); transition: var(--transition); box-shadow: 0 10px 20px rgba(0,0,0,0.2); border-radius: 8px; padding: 10px 0; z-index: 100; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 20px; display: block; width: 100%; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); padding-left: 25px; }

.btn-header-call { background: var(--accent); color: var(--primary); padding: 10px 24px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; box-shadow: 0 4px 15px rgba(255, 191, 26, 0.3); }
.btn-header-call:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 191, 26, 0.4); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: var(--white); transition: var(--transition); }

/* Hero Section */
.hero { background: linear-gradient(135deg, rgba(20, 41, 82, 0.92) 0%, rgba(10, 20, 45, 0.95) 100%), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; min-height: 85vh; display: flex; align-items: center; padding: 150px 20px 80px; color: var(--white); }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-text .badge { background: rgba(255, 191, 26, 0.15); color: var(--accent); padding: 8px 18px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; display: inline-block; margin-bottom: 15px; border: 1px solid rgba(255, 191, 26, 0.3); }
.hero-text p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: var(--primary); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: var(--transition); box-shadow: 0 5px 20px rgba(255, 191, 26, 0.3); display: inline-flex; align-items: center; gap: 8px;}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: var(--white); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; border: 2px solid rgba(255,255,255,0.3); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-card-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 3px solid rgba(255, 191, 26, 0.4); }
.hero-card-img img { width: 100%; display: block; }

/* Continuous Marquee (Brands) */
.brands-section { padding: 40px 0; background: #fff; border-bottom: 1px solid #eee; overflow: hidden; position: relative; }
.brands-section::before, .brands-section::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.brands-section::before { left: 0; background: linear-gradient(to right, white, transparent); }
.brands-section::after { right: 0; background: linear-gradient(to left, white, transparent); }
.marquee-container { display: flex; width: 200%; animation: scroll 25s linear infinite; }
.marquee-content { display: flex; justify-content: space-around; width: 50%; }
.brand-item { font-size: 1.5rem; font-weight: 800; color: #ccc; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); cursor: default; padding: 0 20px; }
.brand-item:hover { color: var(--primary); transform: scale(1.1); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Common */
.section { padding: 90px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); font-weight: 700; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.title-line { width: 70px; height: 4px; background: var(--accent); margin: 15px auto 0; border-radius: 2px; }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.service-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #eee; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(20, 41, 82, 0.15); }
.service-img { height: 220px; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.service-content h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 15px; }
.service-content p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; }
.service-list { list-style: none; margin-bottom: 25px; }
.service-list li { padding: 6px 0; color: var(--text-dark); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.service-list li i { color: var(--accent); }
.btn-card { margin-top: auto; color: var(--primary); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-card:hover { color: var(--accent-hover); gap: 12px; }

/* Nasıl Çalışıyoruz? (Steps) */
.steps-section { background: var(--bg-light); padding: 80px 20px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; position: relative; }
.step-item { background: #fff; padding: 40px 20px; border-radius: 15px; box-shadow: var(--shadow); position: relative; z-index: 2; transition: var(--transition); }
.step-item:hover { transform: translateY(-5px); border-bottom: 3px solid var(--accent); }
.step-number { width: 40px; height: 40px; background: var(--accent); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1.2rem; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); box-shadow: 0 5px 10px rgba(255, 191, 26, 0.4); }
.step-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; margin-top: 10px; }
.step-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark); }
.step-item p { font-size: 0.9rem; color: var(--text-light); }

/* Blog / Bilgi Bankası */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-content { padding: 25px; }
.blog-date { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 10px; display: block; }
.blog-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary); }
.blog-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }
.blog-link { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.blog-link:hover { color: var(--accent); }

/* Floating Buttons */
.floating-group { 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 10px 25px rgba(0,0,0,0.2); transition: var(--transition); position: relative; }
.float-whatsapp { background-color: var(--whatsapp); }
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
.float-phone { background-color: var(--primary); border: 2px solid var(--accent); }
.float-phone:hover { transform: scale(1.1); box-shadow: 0 15px 30px rgba(20, 41, 82, 0.4); }

.float-btn .tooltip { position: absolute; right: 75px; background: var(--primary); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: var(--transition); pointer-events: none; border: 1px solid rgba(255,255,255,0.1); }
.float-btn .tooltip::after { content: ''; position: absolute; top: 50%; right: -6px; transform: translateY(-50%); border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent var(--primary); }
.float-btn:hover .tooltip { opacity: 1; visibility: visible; right: 80px; }

/* Campaign Pop-up */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content { background: #fff; width: 90%; max-width: 800px; border-radius: 15px; overflow: hidden; display: flex; position: relative; transform: translateY(50px); transition: transform 0.5s ease; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.popup-overlay.active .popup-content { transform: translateY(0); }
.popup-close { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.1); border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 24px; cursor: pointer; color: var(--text-dark); transition: var(--transition); z-index: 10; display: flex; align-items: center; justify-content: center; }
.popup-close:hover { background: rgba(0,0,0,0.2); transform: rotate(90deg); }
.popup-img { width: 45%; }
.popup-img img { width: 100%; height: 100%; object-fit: cover; }
.popup-text { width: 55%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.popup-badge { background: var(--accent); color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; align-self: flex-start; margin-bottom: 15px; }
.popup-text h2 { font-size: 2rem; color: var(--primary); line-height: 1.2; margin-bottom: 15px; }
.popup-text p { color: var(--text-light); margin-bottom: 25px; }
.btn-whatsapp-solid { background: var(--primary); color: #fff; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); align-self: flex-start; border: 2px solid var(--accent); }
.btn-whatsapp-solid:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }

/* Forms, Testimonials, FAQ, Footer */
.testimonials-section { background: var(--primary-light); color: var(--white); padding: 80px 20px; }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); position: relative; }
.testimonial-card i.fa-quote-left { font-size: 2rem; color: var(--accent); opacity: 0.5; margin-bottom: 15px; }
.testi-author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.testi-author .avatar { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--primary); font-size: 1.2rem; }
.testi-info h4 { font-size: 1rem; margin-bottom: 2px; }
.testi-info span { font-size: 0.8rem; opacity: 0.7; }
.stars { color: var(--accent); font-size: 0.9rem; margin-top: 5px; }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary); font-size: 1.1rem; }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-light); }
.faq-answer p { padding-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.form-card { background: var(--white); padding: 40px; border-radius: 15px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary); }
.form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: var(--transition); }
.form-control:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 191, 26, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; background: var(--primary); color: var(--white); border: none; padding: 15px; font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { background: var(--accent); color: var(--primary); }

.service-detail-img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; margin-bottom: 40px; box-shadow: var(--shadow); }
.service-content-rich h3 { color: var(--primary); font-size: 1.8rem; margin: 30px 0 15px; }
.service-content-rich p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-light); line-height: 1.8; }
.service-content-rich ul { margin-left: 20px; margin-bottom: 30px; }

/* Footer */
footer { background-color: #0b172e; color: var(--white); padding: 70px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h3 { color: var(--accent); font-size: 1.3rem; margin-bottom: 20px; }
.footer-col p { opacity: 0.8; font-size: 0.95rem; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #fff; text-decoration: none; opacity: 0.8; transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); opacity: 1; padding-left: 5px; }
.district-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.district-tag { background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; font-size: 0.9rem; opacity: 0.7; }
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* Footer İletişim Kutusu (Yeni Tasarım) */
.footer-contact-box { background: rgba(255, 191, 26, 0.08); padding: 25px; border-radius: 15px; border: 1px solid rgba(255, 191, 26, 0.3); }
.footer-contact-box h3 { color: var(--accent); border-bottom: 1px solid rgba(255, 191, 26, 0.2); padding-bottom: 10px; margin-bottom: 15px; }
.footer-contact-box p { color: var(--white); font-size: 1.05rem; font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; }
.footer-contact-box i { color: var(--accent); margin-right: 12px; font-size: 1.2rem; width: 20px; text-align: center; }
.footer-randevu-btn { display: inline-block; margin-top: 15px; background: var(--accent); color: var(--primary); padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 800; text-transform: uppercase; width: 100%; text-align: center; transition: var(--transition); }
.footer-randevu-btn:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .popup-content { flex-direction: column; max-width: 500px; }
    .popup-img { width: 100%; height: 200px; }
    .popup-text { width: 100%; padding: 30px; text-align: center; align-items: center; }
}
@media (max-width: 768px) {
    nav { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: var(--primary); transition: var(--transition); padding: 40px 20px; overflow-y: auto; }
    nav.active { left: 0; }
    nav ul { flex-direction: column; align-items: center; gap: 20px; }
    .dropdown-menu { position: relative; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.1); margin-top: 10px; display: none; }
    .dropdown.active .dropdown-menu { display: flex; }
    .menu-toggle { display: flex; }
    .btn-header-call { display: none; }
    .site-logo { max-height: 45px; }
}
