:root {
    /* Elektrik Teması Renkleri (Vision 2026) */
    --primary: #FFD700;       /* Elektrik Sarısı */
    --primary-dark: #FFC107;  /* Koyu Sarı */
    --primary-light: #FFEA00; /* Parlak Sarı */
    
    --secondary: #111827;     /* Endüstriyel Siyah/Lacivert */
    --secondary-light: #1F2937;
    
    --accent: #0EA5E9;        /* Teknoloji Mavisi (Data/Akıllı Ev için) */
    
    --dark: #000000;
    --text-main: #374151;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    
    --white: #ffffff;
    --bg-light: #F3F4F6;
    --bg-lighter: #F9FAFB;
    --border: #E5E7EB;
    
    /* Gölgeler */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px -5px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.25);
    --shadow-hover: 0 20px 50px -10px rgba(255, 215, 0, 0.3);
    
    /* Fontlar - Teknik ve Modern */
    --font-head: 'Rajdhani', sans-serif; /* Köşeli, teknik başlık fontu */
    --font-body: 'Roboto', sans-serif;   /* Okunaklı gövde fontu */
    
    /* Boyutlar */
    --container: 1240px;
    --radius: 8px;      /* Daha keskin köşeler (Teknik görünüm) */
    --radius-lg: 12px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* ========== UTILITY CLASSES ========== */
.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px; /* Keskin */
    border: none;
    cursor: pointer;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

.btn-outline.light {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-outline.light:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ========== NAVBAR ========== */
.navbar {
    height: 80px;
    background: var(--secondary); /* Dark navbar */
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.5rem;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); /* Teknik şekil */
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
}

.brand-main {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    padding: 100px 0;
    background: var(--bg-lighter);
    overflow: hidden;
}

.hero-overlay {
    /* İnce devre kartı deseni gibi bir arka plan eklenebilir */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.15);
    color: #b48600;
    border: 1px solid var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--secondary);
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--secondary);
    display: block;
    position: relative;
}

.hero-title span::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: var(--primary);
    overflow: hidden;
    transition: 1s;
    border-right: 4px solid var(--secondary);
}

/* Basit versiyon (animasyon karmaşası olmaması için) */
.hero-title span {
    color: var(--secondary);
    background: linear-gradient(120deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 500px;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 35px;
    font-weight: 700;
    color: var(--secondary);
}

.hero-rating i {
    color: #FFD700; /* Altın yıldız */
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.trust-item strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    font-family: var(--font-head);
    color: var(--secondary);
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-bottom: 10px solid var(--primary);
    filter: contrast(1.05);
}

.float-badge {
    position: absolute;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-head);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-left: 3px solid var(--primary);
}

.float-badge i { color: var(--primary); }
.fb-1 { top: 40px; left: -20px; }
.fb-2 { bottom: 80px; right: -30px; }
.fb-3 { bottom: 20px; left: 10px; }

/* ========== SERVICES SECTION ========== */
.services-section { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-lighter);
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    border-radius: var(--radius);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-radius: 4px;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--secondary);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.service-cat {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--border);
}

.service-card:hover .service-arrow {
    color: var(--primary-dark);
}

/* ========== INFO SECTION ========== */
.info-section {
    background: var(--secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}

.info-text { flex: 1; min-width: 300px; }

.info-text h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.info-text p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.info-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list i { color: var(--primary); }

.info-stats {
    display: flex;
    gap: 30px;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 20px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-head);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== LOCATIONS ========== */
.locations-section { background: var(--bg-light); }

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.location-item {
    background: var(--white);
    padding: 10px 18px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
}

.location-item i { color: var(--primary-dark); }

.location-item:hover {
    border-color: var(--primary);
    color: var(--secondary);
    background: #fffdf5;
}

/* ========== FAQ ========== */
.faq-item {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-light);
}

/* ========== DETAIL PAGE ========== */
.page-header-detail {
    background: var(--secondary);
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary);
}

.breadcrumb {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.breadcrumb i { font-size: 0.7rem; }
.breadcrumb a:hover { color: var(--primary); }

.page-title {
    color: var(--white);
    margin-bottom: 25px;
}

.page-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

/* Content */
.detail-content h2 { margin-bottom: 20px; font-size: 1.8rem; }
.detail-content p { margin-bottom: 20px; color: var(--text-main); }
.content-image { margin: 30px 0; border-radius: var(--radius); overflow: hidden; }

/* Rating Badge in Content */
.rating-badge {
    background: #fff9e6;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}
.rating-badge i { color: #FFD700; }
.rating-badge span { font-weight: 600; color: var(--secondary); font-size: 0.9rem; }

.tech-list {
    background: #fff9e6;
    padding: 30px;
    border-left: 4px solid var(--primary);
    margin: 30px 0;
}

.tech-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.tech-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    text-align: center;
    padding: 25px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: var(--bg-lighter);
    padding: 20px;
    border-top: 3px solid var(--secondary);
}

.step-num {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0,0,0,0.1);
    margin-bottom: 5px;
    line-height: 1;
}

.cta-card {
    background: #ffffff;
    color: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    margin-top: 40px;
    border: 2px solid var(--primary);
}

.cta-card h2 { color: var(--primary); margin-bottom: 15px; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget-links a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.widget-links a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.widget-contact {
    text-align: center;
    background: var(--bg-lighter);
    border-top: 4px solid var(--primary);
}

.widget-header i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 10px; }

.widget-rating {
    margin-bottom: 15px;
    color: var(--secondary);
}
.widget-rating i { color: #FFD700; font-size: 0.9rem; }

.contact-btn {
    display: block;
    padding: 12px;
    background: var(--secondary);
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-btn.whatsapp { background: #25D366; }
.contact-btn:hover { opacity: 0.9; }

.widget-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-link {
    font-size: 0.8rem;
    padding: 4px 8px;
    background: var(--white);
    border: 1px solid var(--border);
}

.tag-link:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

.select-item {
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.select-item:hover { background: var(--bg-light); color: var(--primary-dark); }
.widget-select-list { max-height: 300px; overflow-y: auto; }

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
    border-top: 5px solid var(--primary);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-title { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact i { color: var(--primary); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }

.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover { background: var(--primary); color: var(--secondary); }

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== FLOATING BUTTONS ========== */
.floating-btn {
    position: fixed;
    right: 20px;
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.floating-btn.whatsapp { bottom: 90px; background: #25D366; }
.floating-btn.phone { bottom: 25px; background: var(--primary); color: var(--secondary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .trust-badges { justify-content: center; }
    .hero-visual { display: none; }
    .detail-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* JS ile açılacak */
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    .mobile-toggle { display: block; }
    .nav-actions { display: none; }
    
    .footer-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}