/*
Theme Name: SonmezSo Panel Elektrikçi
Theme URI: https://sonmezso.com.tr/
Author: SonmezSo Panel
Author URI: https://sonmezso.com.tr/
Description: Profesyonel elektrikçi ve teknik servis WordPress teması
Version: 1.0.0
License: GPL v2 or later
Text Domain: sonmezso-panel
*/

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --gray-color: #95a5a6;
    --success-color: #27ae60;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Stilleri */
.site-header {
    background: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-call {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.call-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding {
    flex: 0 0 200px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-content {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 40px;
    max-width: 600px;
    border-radius: var(--border-radius);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-whatsapp {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

/* Emergency Banner */
.emergency-banner {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin: 40px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Services Grid */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.services-grid, .why-choose-grid, .professional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card, .feature-card, .professional-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover, .feature-card:hover, .professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-menu a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1a252f;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    text-align: center;
    color: var(--gray-color);
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-whatsapp, .back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.floating-whatsapp {
    background: #25D366;
}

.back-to-top {
    background: var(--primary-color);
}

.floating-whatsapp:hover, .back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .main-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .services-grid, .why-choose-grid, .professional-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}