:root {
    --bg-dark: #070B14; 
    --bg-panel: #0E1629; 
    --accent-gold: #c2956e; 
    --accent-gold-glow: rgba(194, 149, 110, 0.2); 
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05); 
}

[data-theme="light"] {
    --bg-dark: #f8fafc; 
    --bg-panel: #ffffff; 
    --text-main: #0f172a; 
    --text-muted: #64748b; 
    --border-color: rgba(0, 0, 0, 0.1); 
    --accent-gold-glow: rgba(194, 149, 110, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-main); line-height: 1.7; overflow-x: hidden; transition: background-color 0.3s, color 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header { position: fixed; top: 0; width: 100%; padding: 30px 0; transition: all 0.4s ease; z-index: 1000; border-bottom: 1px solid transparent; }
header.scrolled { padding: 15px 0; background: var(--bg-panel); box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; border-radius: 6px; transition: transform 0.3s; }
.logo img:hover { transform: scale(1.05); }

.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-gold); }

.nav-tools { display: flex; align-items: center; gap: 20px; }
.theme-btn { background: transparent; border: none; color: var(--accent-gold); font-size: 1.4rem; cursor: pointer; transition: transform 0.3s; outline: none; margin-left: 10px; }
.theme-btn:hover { transform: scale(1.1); }

.social-icons { display: flex; align-items: center; gap: 10px; }
.icon-box { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 1.3rem; color: var(--text-muted); border-radius: 50%; background: var(--border-color); transition: all 0.3s ease; text-decoration: none; }
.icon-box:hover { transform: translateY(-4px); }
.icon-divider { width: 1px; height: 24px; background: var(--text-muted); opacity: 0.3; margin: 0 5px; }

.icon-box.icon-phone:hover { background: #34d399; color: #fff; }
.icon-box.icon-mail:hover { background: #ea4335; color: #fff; }
.icon-box.brand-whatsapp { color: #25D366; background: rgba(37, 211, 102, 0.1); }
.icon-box.brand-whatsapp:hover { background: #25D366; color: #fff; }
.icon-box.brand-instagram { color: #E1306C; background: rgba(225, 48, 108, 0.1); }
.icon-box.brand-instagram:hover { background: #E1306C; color: #fff; }

.hamburger { display: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; }

/* BUTONLAR */
.hero-buttons { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.btn { background-color: var(--accent-gold); color: #fff; padding: 12px 28px; border-radius: 6px; font-weight: 800; text-decoration: none; transition: all 0.3s; border: 1px solid var(--accent-gold); cursor: pointer; display: inline-block;}
.btn:hover { background-color: transparent; color: var(--accent-gold); box-shadow: 0 4px 20px var(--accent-gold-glow); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--accent-gold); padding: 10px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: all 0.3s; display: inline-block; border: 1px solid var(--accent-gold); }
.btn-ghost:hover { background: var(--accent-gold); color: #fff; box-shadow: 0 4px 15px var(--accent-gold-glow); }
.btn-full { display: block; width: 100%; text-align: center; padding: 16px 0; font-size: 1.1rem; margin-top: 20px;}

.hero { padding-top: 180px; padding-bottom: 120px; position: relative; background-color: var(--bg-dark); }
.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.badge-text { display: inline-block; color: var(--accent-gold); background: var(--accent-gold-glow); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; }
.hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; }
.hero-text h1 span { color: var(--accent-gold); }
.hero-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 10px; max-width: 95%; }
.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: 16px; position: relative; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.image-glow { position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; background: var(--accent-gold); filter: blur(80px); opacity: 0.15; z-index: 1; border-radius: 50%; }

.about-section { padding: 100px 0; background-color: var(--bg-panel); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 15px; }
.quote-box { background: rgba(194, 149, 110, 0.05); border-left: 4px solid var(--accent-gold); padding: 25px; border-radius: 0 12px 12px 0; margin-top: 35px; }
.quote-box i { color: var(--accent-gold); font-size: 1.8rem; margin-bottom: 15px; }
.quote-box p { font-size: 1.2rem; font-style: italic; color: var(--text-main); margin-bottom: 15px; font-weight: 600; line-height: 1.4; }
.quote-author { color: var(--accent-gold); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 2px; }

.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-card { background: var(--bg-dark); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); transition: transform 0.3s, border-color 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); }
.feature-card i { font-size: 2.2rem; color: var(--accent-gold); margin-bottom: 15px; }
.feature-card h4 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.solutions { background-color: var(--bg-dark); padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; }

.tabs-container { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn { background: transparent; color: var(--text-muted); border: none; font-size: 1.2rem; font-weight: 600; padding: 10px 20px; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; outline: none; }
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--accent-gold); border-bottom-color: var(--accent-gold); }
.tab-content { display: none; animation: fadeInTab 0.5s ease forwards; }
.tab-content.active { display: block; }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.plans-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.plan-card { background-color: var(--bg-panel); padding: 40px 30px; border-radius: 16px; text-align: center; flex: 1; min-width: 280px; max-width: 350px; border: 1px solid var(--border-color); transition: all 0.4s ease; display: flex; flex-direction: column; justify-content: space-between; }
.plan-card:hover { transform: translateY(-8px); border-color: rgba(194, 149, 110, 0.5); }
.plan-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-main); }
.plan-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.plan-icon { font-size: 3rem; color: var(--accent-gold); margin-bottom: 20px; }

/* TEKLİF OLUŞTURUCU */
.builder-section { padding: 100px 0; background-color: var(--bg-panel); border-top: 1px solid var(--border-color); }
.builder-layout { display: flex; gap: 40px; align-items: flex-start; }
.builder-options { flex: 2; }
.builder-summary { flex: 1; position: sticky; top: 100px; }

.step-title { font-size: 1.4rem; color: var(--text-main); margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-top: 40px;}
.step-title:first-child { margin-top: 0; }

.pkg-selection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pkg-box { position: relative; display: block; cursor: pointer; }
.pkg-box input { display: none; }
.pkg-content { background: var(--bg-dark); border: 2px solid var(--border-color); border-radius: 12px; padding: 20px; text-align: center; height: 100%; transition: all 0.3s; }
.pkg-box input:checked + .pkg-content, .pkg-box input:checked ~ .pkg-content { border-color: var(--accent-gold); background: rgba(194, 149, 110, 0.05); }
.pkg-content h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); transition: color 0.3s; }
.pkg-box input:checked ~ .pkg-content h4 { color: var(--accent-gold); }
.pkg-content p { font-size: 0.85rem; color: var(--text-muted); }
.pkg-base-price { display: block; margin-top: 10px; font-size: 0.85rem; font-weight: 800; color: var(--accent-gold); background: rgba(194, 149, 110, 0.1); padding: 4px 8px; border-radius: 4px; }

.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-gold); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; z-index: 2; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px var(--accent-gold-glow); }

.feature-list { display: flex; flex-direction: column; gap: 15px; }
.feature-row { display: flex; justify-content: space-between; align-items: center; background: var(--bg-dark); padding: 15px 20px; border-radius: 8px; border: 1px solid var(--border-color); cursor: pointer; transition: border-color 0.3s; }
.feature-row:hover { border-color: var(--accent-gold); }
.feature-info { display: flex; flex-direction: column; gap: 4px; }
.feature-info strong { font-size: 1rem; color: var(--text-main); }
.feature-info span { font-size: 0.85rem; color: var(--text-muted); }

.feature-cb { display: none; }
.custom-cb { width: 24px; height: 24px; border: 2px solid var(--text-muted); border-radius: 6px; display: inline-block; position: relative; transition: all 0.2s; }
.feature-cb:checked + .custom-cb { background-color: var(--accent-gold); border-color: var(--accent-gold); }
.feature-cb:checked + .custom-cb::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.feature-cb:disabled + .custom-cb { opacity: 0.3; cursor: not-allowed; }

.num-input { width: 60px; padding: 8px; border-radius: 6px; border: 1px solid var(--border-color); background: var(--bg-panel); color: var(--text-main); text-align: center; font-weight: bold; outline: none; }
.num-input:focus { border-color: var(--accent-gold); }

/* Yeni Eklenen Otomasyon Form Tasarımı */
.custom-textarea { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-dark); color: var(--text-main); font-family: 'Inter', sans-serif; font-size: 1rem; resize: vertical; transition: border-color 0.3s; outline: none; }
.custom-textarea:focus { border-color: var(--accent-gold); }

.summary-box { background: var(--bg-dark); padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.summary-box h3 { font-size: 1.4rem; margin-bottom: 15px; text-align: center; color: var(--text-main); }
.summary-divider { height: 1px; background: var(--border-color); margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 25px; font-size: 1rem; }
.summary-item .label { color: var(--text-muted); }
.summary-item .value { font-weight: 800; color: var(--accent-gold); }

.summary-result { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.result-box { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; display: flex; align-items: center; gap: 15px; }
.result-box i { font-size: 2rem; color: var(--text-muted); }
.result-box.highlight { border-color: var(--accent-gold); background: rgba(194, 149, 110, 0.05); }
.result-box.highlight i { color: var(--accent-gold); }
.result-title { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.result-val { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
.result-box.highlight .result-val { color: var(--accent-gold); font-size: 1.8rem; }
.summary-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 15px; }

/* HARİTA ALANI */
.map-section { line-height: 0; background-color: var(--bg-dark); }
.map-section iframe { width: 100%; filter: grayscale(100%) invert(90%) contrast(80%); transition: filter 0.3s; }
[data-theme="light"] .map-section iframe { filter: grayscale(10%); }

footer { padding: 60px 0 20px 0; background-color: var(--bg-dark); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; border-bottom: 1px solid var(--border-color); padding-bottom: 40px; }
.footer-left { max-width: 300px; }
.footer-logo-img { height: 60px; border-radius: 6px; margin-bottom: 15px; }
.footer-right h4 { font-size: 1.2rem; color: var(--accent-gold); margin-bottom: 20px; }
.footer-right p { color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* SABİT WHATSAPP BALONU */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b858;
    color: #fff;
}

.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: 900px) {
    .hamburger { display: block; margin-left: 10px; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-panel); flex-direction: column; gap: 0; text-align: center; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; z-index: 999; }
    .nav-links.active { max-height: 400px; border-bottom: 1px solid var(--border-color); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
    .nav-links li { padding: 20px 0; border-top: 1px solid var(--border-color); }
    .nav-links a { font-size: 1.1rem; }
    .social-icons { display: none; } 
    
    .hero-buttons { justify-content: center; }
    .hero-content, .footer-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .tabs-container { flex-direction: column; gap: 10px; align-items: center; }
    .footer-left, .footer-right { margin: 0 auto; text-align: center; }
    
    .builder-layout { flex-direction: column; }
    .builder-summary { position: relative; top: 0; margin-top: 30px; }
    .pkg-selection-grid { grid-template-columns: 1fr !important; }
    
    .action-buttons { flex-direction: column; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
}
/* --- YENİ: REFERANSLAR SAYFASI TASARIMI --- */
.ref-body { background-color: var(--bg-dark); }
.ref-header { background-color: var(--bg-panel); border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.ref-header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; position: relative; }

.ref-back-btn { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(194, 149, 110, 0.1); color: var(--accent-gold); border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: all 0.3s; }
.ref-back-btn:hover { background: var(--accent-gold); color: #fff; transform: translateX(-3px); }

.ref-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.6rem; font-weight: 900; color: var(--text-main); letter-spacing: 2px; text-transform: uppercase; }

.ref-main { padding: 80px 0; min-height: 70vh; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

.ref-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; display: block; }
.ref-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-color: var(--accent-gold); }

.ref-img-box { width: 100%; height: 200px; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border-color); padding: 20px;}
.ref-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); transition: filter 0.3s; }
.ref-card:hover .ref-img-box img { filter: grayscale(0%); }

.ref-name { text-align: center; padding: 20px; font-weight: 800; font-size: 1.1rem; color: var(--text-main); letter-spacing: 1px; }

.ref-footer { text-align: center; padding: 30px 0; color: var(--text-muted); font-size: 0.95rem; border-top: 1px solid var(--border-color); background: var(--bg-panel); }

/* --- YENİ: OTOMASYON MODAL (POP-UP) TASARIMI --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; width: 90%; max-width: 400px; text-align: center; transform: translateY(30px); transition: transform 0.3s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-icon { font-size: 4rem; color: var(--accent-gold); margin-bottom: 20px; }
.modal-box h3 { font-size: 1.6rem; color: var(--text-main); margin-bottom: 10px; }
.modal-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1rem; }

.modal-buttons { display: flex; gap: 15px; justify-content: center; }
.modal-buttons button { flex: 1; padding: 12px 0; font-size: 1rem; cursor: pointer; }

/* Mobil Referanslar Uyum */
@media (max-width: 768px) {
    .ref-title { position: static; transform: none; text-align: center; margin: 15px 0; font-size: 1.4rem; }
    .ref-header-container { flex-direction: column; }
    .ref-header .social-icons { display: flex !important; margin-top: 10px; }
}

/* --- LOGO HİZALAMA AYARLARI --- */

/* 1. Üst Menüdeki (Navbar) Logoyu Sola Kaydırma */
.header-container .logo {
    transform: translateX(-20px); /* Değeri artırarak (-30px, -40px) daha da sola alabilirsin */
}

/* 2. En Alttaki (Footer) Logoyu Sola Kaydırma */
.footer-logo-img {
    transform: translateX(-90px); /* Aynı şekilde buradaki rakamla oynayabilirsin */
}

/* Mobilde logoların çok dışarı taşmaması için küçük bir önlem */
@media (max-width: 768px) {
    .header-container .logo, 
    .footer-logo-img {
    }
}

/* --- KARANLIK / AYDINLIK MOD İKİZ LOGO AYARI --- */

/* Varsayılan (Karanlık Tema) Logosu Gösterilir, Aydınlık Gizlenir */
.logo-light { display: none; }
.logo-dark { display: inline-block; }

/* Tema Aydınlık (Light) Moda Geçtiğinde Tam Tersi Olur */
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: inline-block; }