@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: #0A74DA;
}

ul {
    list-style-type: none;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #212529;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0.5rem auto 3rem auto; /* DÜZELTME: Negatif margin kaldırıldı */
}

header {
    background-color: #FFFFFF;
    padding: 1rem 0;
    border-bottom: 1px solid #EAEAEA;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 40px; /* Logo boyutu */
}

.desktop-nav {
    margin-left: auto; /* DÜZELTME: Menüyü sağa yaslamak için */
    margin-right: 2rem; /* Butonla arasına boşluk koymak için */
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 2rem;
}

.desktop-nav ul li a {
    color: #212529;
    font-weight: 600;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #0A74DA;
}

.cta-button {
    background-color: #0A74DA;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Butonun küçülmesini engelle */
}

.cta-button:hover {
    background-color: #085db0;
}

.hamburger-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2000;
    color: #212529;
}
.hamburger-icon.is-active i::before {
    content: "\F62A";
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1500;
}
.mobile-nav.is-active {
    transform: translateX(0);
}
.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}
.mobile-nav .mobile-cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
}

#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/cagan-koltuk-yikama-anasayfa.webp');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}
#hero h1 {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}
#hero .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
#hero .cta-button {
    background-color: #17A2B8;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}
#hero .cta-button:hover {
    background-color: #138496;
}

#features, #hizmetler, #hakkimizda, #galeri, #iletisim {
    padding: 4rem 0;
}
#features, #hakkimizda, #iletisim {
    background-color: #F8F9FA;
}
#hizmetler, #galeri {
    background-color: #FFFFFF;
}

#features h2, #hizmetler h2, #hakkimizda .about-content h2, #galeri h2, #iletisim h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem; /* DÜZELTME: Alt başlıkla boşluk için ayarlandı */
}

#hakkimizda .about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background-color: #FFFFFF; padding: 2.5rem 2rem; text-align: center; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.feature-card i { font-size: 3.5rem; color: #17A2B8; margin-bottom: 1.5rem; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.feature-card p { color: #6c757d; font-size: 0.95rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background-color: #FFFFFF; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.service-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card-content { padding: 1.5rem; }
.service-card-content h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.service-card-content p { color: #6c757d; font-size: 0.95rem; }

#hakkimizda .container { display: flex; align-items: center; gap: 3rem; }
.about-image { flex: 1; }
.about-image img { border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.about-content { flex: 1; }
.about-content p { margin-bottom: 1rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.gallery-item img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: opacity 0.3s ease;
}
.gallery-item:hover img {
    opacity: 0.9;
}
.gallery-caption {
    padding: 1rem;
    text-align: center;
}
.gallery-caption h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #343A40;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.contact-card {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-card i {
    font-size: 3rem;
    color: #0A74DA;
    margin-bottom: 1.5rem;
}
.contact-card h3 {
    margin-bottom: 1rem;
}
.contact-card a, .contact-card p {
    font-size: 1rem;
    color: #212529;
    font-weight: 600;
    word-wrap: break-word;
}
.contact-card a {
    text-decoration: underline;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

footer {
    background-color: #212529;
    color: #EAEAEA;
    padding: 2.5rem 0;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer p {
    margin: 0;
}
.social-links a {
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #17A2B8;
}

@media (max-width: 992px) {
    .desktop-nav {
        margin-right: 1.5rem;
    }
    .desktop-nav ul li {
        margin-left: 1rem;
    }
    .features-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #hakkimizda .container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .desktop-cta {
        display: none;
    }
    .hamburger-icon {
        display: block;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
    #features h2, #hizmetler h2, #galeri h2, #iletisim h2, .about-content h2 {
        font-size: 2rem;
    }
    #hakkimizda .container {
        text-align: center;
    }
    #hakkimizda .about-content h2 {
        text-align: center;
    }
    .features-grid, .services-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .social-links {
        margin-top: 1rem;
    }
}