/* Genel Ayarlar ve Temel Stiller */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #333;
    --background-color: #f3f4f6;
    --dark-bg-color: #111111;
    --white-color: #ffffff;
    --text-color: #4a4a4a;
    --light-gray: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevents horizontal scroll on mobile */
}

body.menu-open {
    overflow: hidden; /* Prevents body scroll when menu is open */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Bölüm ve Başlık Stilleri */
.section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 70%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 9999px;
}

.text-center {
    text-align: center;
}

/* Header (Başlık) */
.header {
    background-color: var(--dark-bg-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo-img {
    height: 2rem;
}

.main-nav {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: #3a68b4;
    outline: none;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white-color);
    padding: 0.5rem;
    transition: transform 0.4s ease-in-out;
}

.menu-button.is-active i {
    transform: rotate(90deg);
}

/* Mobile Nav (Modern) */
.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background-color: var(--white-color);
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
    z-index: 100;
    overflow-y: auto;
    padding-top: 4rem;
}

.mobile-nav.is-visible {
    right: 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
    background-color: var(--light-gray);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.mobile-menu-overlay.is-visible {
    display: block;
}

/* Hero Section (Ana Sayfa) */
.hero-section {
    background-image: url('ana-sayfa-arkaplan.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 15rem 0 5rem;
    color: var(--white-color);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.hero-button:hover, .hero-button:focus {
    transform: scale(1.05);
    background-color: var(--light-gray);
}

/* Page Hero Section (Alt Sayfalar) */
.page-hero-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 4rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
}

/* Hakkımızda Bölümü */
.about-section {
    background-color: var(--white-color);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-color);
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #3a68b4;
}

/* Hizmetlerimiz Bölümü */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-card:hover, .service-card:focus {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-color);
}

/* İkonlu listeler */
.list-with-icons {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.list-with-icons li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1rem;
}

.list-with-icons li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Galeri Bölümü */
.gallery-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* İletişim Bölümü */
.contact-section {
    background-color: var(--white-color);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-text p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    color: var(--secondary-color);
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    margin-right: 0.75rem;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
}

.detail-text {
    margin-left: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-map {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
}

/* Footer (Alt Kısım) */
.footer {
    background-color: var(--dark-bg-color);
    color: var(--white-color);
}

.footer-grid {
    padding: 3rem 1.5rem;
    display: grid;
    gap: 2rem;
}

.footer-column-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.footer-phone-number i {
    font-size: 1rem;
}

.footer-phone-number:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.footer-social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}

/* Ödeme İkonları için Yeni Kod */
.footer-payments {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1.5rem 0.75rem;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap; /* İkonların sığmadığında alt satıra geçmesini sağlar */
    justify-content: center; /* Ödeme ikonlarını ortalar */
    align-items: center;
    gap: 0.75rem; /* İkonlar arasında boşluk bırakır */
}

.payment-icons img {
    height: 30px; /* Mobil için ikon boyutunu küçültür */
    width: auto;
    object-fit: contain;
}
/* Ödeme İkonları için Yeni Kod Sonu */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1.5rem 0.75rem;
    text-align: center;
    color: #777;
    font-size: 0.875rem;
}

/* WhatsApp Butonu */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-button i {
    font-size: 1.8rem;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay-1 { animation-delay: 0.2s; }
.animate-fade-in-delay-2 { animation-delay: 0.4s; }
.animate-fade-in-delay-3 { animation-delay: 0.6s; }
.animate-fade-in-delay-4 { animation-delay: 0.8s; }
.animate-fade-in-delay-5 { animation-delay: 1.0s; }
.animate-fade-in-delay-6 { animation-delay: 1.2s; }

/* Ekran Uyumluluğu (Responsive) */
@media (min-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .main-nav {
        display: flex;
    }
    
    .menu-button {
        display: none;
    }

    .mobile-nav, .mobile-menu-overlay {
        display: none !important; /* Hide mobile menu on larger screens */
    }
    
    .hero-section {
        padding: 15rem 0 8rem;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-section {
        padding: 6rem 0;
        margin: 3rem 0;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-section {
        padding: 6rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-section {
        padding: 6rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-section {
        padding: 6rem 0;
        margin: 3rem 0;
    }
    
    .contact-map {
        padding-bottom: 50%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-button {
        width: 64px;
        height: 64px;
    }

    .whatsapp-button i {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .main-nav {
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-map {
        padding-bottom: 0;
        height: 24rem;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
    
    .footer-bottom {
        text-align: left;
    }

    .list-with-icons li {
        font-size: 1.125rem;
    }
}