/* Yaren Elektrik 2026 - Premium Tema */
:root {
    --gold: #D4AF37;
    --gold-hover: #b5952f;
    --blue: #00B4D8;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-main: #f0f0f0;
    --text-muted: #cccccc;
    --whatsapp: #25D366;
    --phone: #E74C3C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 5px;
}

.btn-primary { background-color: var(--blue); color: white; }
.btn-primary:hover { background-color: #0099b8; transform: translateY(-2px); }

.btn-whatsapp { background-color: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background-color: #20b858; transform: translateY(-2px); }

/* Top Bar */
.top-bar {
    background-color: var(--blue);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header & Nav */
header {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links a {
    color: #fff;
    margin-left: 25px;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover { color: var(--gold); }

.nav-btn {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--gold) !important;
}

.nav-btn:hover {
    background-color: var(--gold);
    color: #000 !important;
}

.mobile-menu-icon { display: none; font-size: 1.5rem; color: var(--gold); cursor: pointer; }

/* Hero Section */
.hero {
    background-image: url('hero_sigorta.png'); /* Yedek görsel */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight { color: var(--gold); }

.hero p {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Boxes */
.features {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-box {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.feature-box:hover { transform: translateY(-5px); }

.feature-box i {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.feature-box h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.3rem; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #333;
}

.service-card:hover { border-color: var(--gold); }

.card-img {
    height: 350px; /* Yüksekliği 200'den 350'ye çıkardık ki resimler çok küçülmesin */
    overflow: hidden;
    background-color: #000; /* Resmin kenarında boşluk kalırsa siyah görünsün */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* KİLİT NOKTA: Resmi kesme, kutunun içine sığdır */
    transition: transform 0.5s;
}

.service-card:hover .card-img img { transform: scale(1.1); }

.card-content { padding: 25px; }

.card-content h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.card-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.card-content ul li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--blue);
}

/* About Mobile Team */
.about-mobile { background-color: #181818; }

.about-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text { flex: 1; min-width: 300px; }

.about-text h2 {
    color: var(--blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p { margin-bottom: 20px; font-size: 1.1rem; }

.about-img { flex: 1; min-width: 300px; }
.about-img img { width: 100%; border-radius: 10px; border: 2px solid var(--gold); }

/* Locations Tags */
.location-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.location-tags span {
    background-color: #2a2a2a;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #444;
    transition: 0.3s;
    cursor: default;
}

.location-tags span:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.location-tags i { margin-right: 8px; color: var(--gold); }

/* SEO Keywords Cloud */
.seo-keywords {
    background-color: #000;
    padding: 40px 0;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.seo-keywords h4 { color: #888; margin-bottom: 10px; }

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    border-left: 3px solid var(--blue);
    padding-left: 10px;
}

.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col i { width: 25px; color: var(--gold); }

.emergency-note {
    color: var(--phone);
    font-weight: bold;
    margin-top: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.9rem;
}

/* Floating Buttons (WhatsApp & Arama) */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    /* Mobilde parmakla basması kolay olsun diye biraz yukarı aldım */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    /* EN ÖNEMLİ KISIM: Butonları en öne getirir */
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    text-decoration: none;
    /* Alt çizgi oluşmasın */
}

.whatsapp {
    background-color: var(--whatsapp);
}

.phone {
    background-color: var(--phone);
    animation: pulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .top-info { flex-direction: column; gap: 5px; text-align: center; }
    
    .mobile-menu-icon { display: block; }
    .nav-links { display: none; } /* JS ile açılır yapılır normalde, şimdilik gizli */
    
    .about-row { flex-direction: column-reverse; }
}