/* Genel Stiller */
:root {
    --primary-color: #FFD700;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
}

/* Üst Menü */
header {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex; /* Flexbox kullanarak hizalama */
    justify-content:  space-around; /* İçeriği sola hizalar */
    align-items: center; /* Yükseklik hizalaması */
}

.menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.menu a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo img {
    width: 150px;
    height: auto;
    display: block;
    margin-right: 30px;
}

/* Acil Durum Butonu */
.emergency a {
    background: var(--accent-color);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emergency a:hover {
    background: #c1121f;
    transform: scale(1.05);
}

/* Menü Toggle (Mobil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    margin: 4px;
    background-color: white;
    transition: all 0.3s;
}

/* Ana İçerik */
.hero {
    height: 100vh;
    background: url('efe5.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

/* Arka Plan Blur Efekti */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

/* Hero Yazıları */
.hero-text {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text .slogan {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-text span {
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Butonları */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.emergency-btn {
    background: var(--accent-color);
    color: white;
}

.emergency-btn:hover {
    background: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Hakkımızda Bölümü */
.about-section {
    background: white;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 30px;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Hizmetler Bölümü */
.services-section {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Galeri Bölümü */
.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* İletişim Bölümü */
.contact-section {
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #aaa;
    line-height: 1.6;
}

.footer-links h3, .footer-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ddd;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Acil Çağrı Butonu */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    background: #c1121f;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* Kayan Yazı Animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Menüler */
@media (max-width: 992px) {
    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: var(--secondary-color);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
        margin-right: 0;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .menu a {
        display: block;
        padding: 12px 0;
    }

    .logo {
        margin-right: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .slogan {
        font-size: 1.2rem;
    }

    .feature {
        min-width: 100%;
    }

    .floating-call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}