/* ============================================
   YENIKENT ELEKTRİK - Modern Elektrikçi Sitesi
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Electric Theme */
    --primary: #FFD700;
    --primary-light: #FFE44D;
    --primary-dark: #E6C200;
    --accent: #FFF176;
    --accent-glow: rgba(255, 241, 118, 0.3);
    
    /* Background Colors */
    --bg-dark: #0D0D0D;
    --bg-card: #1A1A1A;
    --bg-card-hover: #222222;
    --bg-gradient: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #0D0D0D 100%);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #666666;
    
    /* Utility */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.electric-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--accent) 50%, 
        transparent 100%);
    opacity: 0.1;
}

.line-1 { left: 20%; animation: lineMove 8s ease-in-out infinite; }
.line-2 { left: 50%; animation: lineMove 12s ease-in-out infinite 2s; }
.line-3 { left: 80%; animation: lineMove 10s ease-in-out infinite 4s; }

@keyframes lineMove {
    0%, 100% { transform: translateY(-100%); opacity: 0; }
    50% { transform: translateY(100%); opacity: 0.15; }
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
}

.spark-1 { top: 20%; left: 30%; animation: sparkle 3s ease-in-out infinite; }
.spark-2 { top: 60%; left: 70%; animation: sparkle 4s ease-in-out infinite 1s; }
.spark-3 { top: 40%; left: 50%; animation: sparkle 5s ease-in-out infinite 2s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #1A1A1A;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #1A1A1A;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.electric-bolt {
    width: 200px;
    height: 300px;
    animation: boltPulse 2s ease-in-out infinite;
}

.bolt-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(255, 165, 0, 0.5));
}

@keyframes boltPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.5) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(255, 107, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, var(--bg-card) 100%);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #1A1A1A;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features li {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text .section-badge {
    margin-bottom: 16px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    font-size: 16px;
}

.feature-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.about-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 0, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-decoration {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.trust-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 32px;
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.5) 50%, transparent 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.contact-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

a.contact-link:hover {
    color: var(--primary);
}

.contact-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.phone-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    color: #1A1A1A;
}

.btn-cta {
    background: white;
    color: var(--primary);
    white-space: nowrap;
    font-size: 18px;
    padding: 18px 36px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 24px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-card {
        padding: 24px;
    }
}
