/*!
 * Mihr-imah Oto Servis Styles
 * Version: 2.1.0
 * Last Updated: 2024-12-19
 * Description: Kırmızı-siyah temalı akücü sitesi CSS dosyası
 * Features: Responsive design, SEO optimized, Google Ads ready
 */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #dc2626;
    --accent-color: #991b1b;
    --dark-bg: #0f0f0f;
    --light-text: #f5f5f5;
    --gray-text: #a3a3a3;
    --success-color: #16a34a;
    --warning-color: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    background: #ffffff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Acil Durum Çubuğu */
.emergency-bar {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
    animation: pulse 2s infinite;
}

.emergency-text {
    font-weight: 600;
}

.emergency-phone {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    color: var(--warning-color);
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    z-index: 1030;
    position: fixed;
    top: 44px; /* Emergency bar yüksekliği */
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    padding: 5px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.logo-text {
    letter-spacing: -1px;
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 20px;
    padding: 4px 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 768px) {
    .navbar-toggler {
        font-size: 16px;
        padding: 2px 4px;
    }
}

/* Navbar collapse z-index fix */
.navbar-collapse {
    z-index: 1031;
    position: relative;
}

.navbar-collapse.show {
    z-index: 1031;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

.pulse-btn {
    animation: buttonPulse 2s infinite;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 50%, var(--dark-bg) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 110px; /* Emergency bar + navbar yüksekliği */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin: 20px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin: 20px 0;
    color: var(--gray-text);
    font-weight: 400;
}

.hero-phone {
    margin: 30px 0;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.phone-number:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.hero-buttons .btn {
    margin: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

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

.hero-animation {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.1;
}

.battery-icon {
    font-size: 300px;
    color: var(--secondary-color);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 50px;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.service-features .fas {
    color: var(--success-color);
    margin-right: 10px;
}

/* Service Areas */
.service-areas {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    padding: 100px 0;
    position: relative;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25 25h25v25H25z" fill="none" stroke="rgba(220,38,38,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circuit)"/></svg>');
}

.area-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.area-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.area-card h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 20px;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-tag {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.area-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f1f1f1;
    transform: translateX(5px);
}

.feature-item i {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
}

.feature-item div strong {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
}

.feature-item div small {
    color: var(--gray-text);
    font-size: 12px;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    z-index: -1;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 25px;
    background: white;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    padding: 100px 0;
}

.map-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.contact-card h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 0;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-text);
    line-height: 1.7;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--gray-text);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-contact a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-text);
}

/* Floating Buttons */
.whatsapp-float, .call-float {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-float {
    right: 20px;
}

.call-float {
    right: 90px;
}

.whatsapp-btn, .call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.call-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.whatsapp-btn:hover, .call-btn:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .emergency-bar {
        text-align: center;
        padding: 8px 0;
        font-size: 12px;
    }
    
    .emergency-bar .col-md-4 {
        margin-top: 8px;
    }
    
    .navbar {
        top: 36px; /* Küçük emergency bar yüksekliği */
    }
    
    .hero {
        margin-top: 90px; /* Küçük toplam yükseklik */
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-animation {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .service-card, .area-card, .contact-card {
        margin-bottom: 30px;
    }
    
    .whatsapp-float, .call-float {
        bottom: 15px;
    }
    
    .whatsapp-float {
        right: 15px;
    }
    
    .call-float {
        right: 85px;
    }
    
    .whatsapp-btn, .call-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    /* Mobil menü yatay düzeni */
    .navbar-nav {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        flex-wrap: wrap;
    }
    
    .navbar-nav .nav-item {
        margin: 2px;
    }
    
    .navbar-nav .nav-link {
        padding: 6px 8px !important;
        font-size: 10px;
        white-space: nowrap;
    }
    
    .navbar-nav .btn {
        margin: 5px 2px;
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* Logo boyutunu küçült */
    .logo {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .emergency-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .navbar {
        top: 32px; /* Çok küçük emergency bar yüksekliği */
    }
    
    .hero {
        margin-top: 75px; /* Çok küçük toplam yükseklik */
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .area-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    /* Çok küçük ekranlar için ultra kompakt menü */
    .navbar-nav .nav-link {
        padding: 4px 6px !important;
        font-size: 9px;
    }
    
    .navbar-nav .btn {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    /* Navbar padding'ini azalt */
    .navbar {
        padding: 5px 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Loading Animation */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Text Selection */
::selection {
    background: var(--secondary-color);
    color: white;
} 