/* ---------------------------------- */
/* 1. Global & Base Styles            */
/* ---------------------------------- */
:root {
    --primary: #00b4d8;
    --secondary: #03045e;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #caf0f8;
    --gray-600: #4B5563;
    --gray-200: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 80px; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--light); color: var(--dark); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; margin: 0; color: var(--secondary); }
p { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--gray-600); }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ---------------------------------- */
/* 2. Navbar                          */
/* ---------------------------------- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 20px 8%; display: flex; justify-content: space-between; align-items: center; background-color: transparent; z-index: 1000; transition: all 0.3s ease; }
.navbar.scrolled { padding: 15px 8%; background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); }
.logo { font-size: 1.8rem; font-weight: 700; color: white; text-decoration: none; display: flex; align-items: center; gap: 0.75rem; }
.navbar.scrolled .logo { color: var(--secondary); }
.logo span { color: var(--primary); }
.logo-img { height: 45px; width: auto; transition: height 0.3s ease; }
.navbar.scrolled .logo-img { height: 35px; }
.logo-icon { width: 28px; height: 28px; fill: currentColor; }
.desktop-bowtie { display: block; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: white; text-decoration: none; font-weight: 500; font-size: 16px; position: relative; }
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
#mobile-menu-button { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 30px; position: relative; z-index: 1001; }
#mobile-menu-button svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: opacity 0.3s ease, transform 0.3s ease; fill: white; }
.navbar.scrolled #mobile-menu-button svg { fill: var(--dark); }
#mobile-menu-button .mobile-tie { opacity: 0; transform: rotate(-90deg) scale(0.5); }
#mobile-menu-button.active .mobile-bowtie { opacity: 0; transform: rotate(90deg) scale(0.5); }
#mobile-menu-button.active .mobile-tie { opacity: 1; transform: rotate(0deg) scale(1); }

/* ---------------------------------- */
/* 3. Hero Section                    */
/* ---------------------------------- */
.hero { height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/arkaplan.png') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; padding: 0 10%; color: white; position: relative; text-align: center; }
.hero-content { max-width: 700px; animation: fadeInUp 1s ease; }
.hero h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; color: white; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; margin-bottom: 30px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 12px 30px; text-decoration: none; border-radius: 30px; font-weight: 600; transition: all 0.3s ease; border: 2px solid var(--primary); background-color: var(--primary); color: white; }
.cta-button:hover { background-color: transparent; color: var(--primary); }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 30px; }
.whatsapp-button { background-color: #25D366; border-color: #25D366; }
.whatsapp-button:hover { background-color: transparent; color: #25D366; }
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: white; font-size: 24px; animation: bounce 2s infinite; cursor: pointer; }

/* ---------------------------------- */
/* 4. Genel Bölüm Stilleri            */
/* ---------------------------------- */
.services-section, .about, .stats-section, .gallery-section, .faq-section, .contact-section { padding-top: 100px; padding-bottom: 100px; }
.services-section, .stats-section, .faq-section, .contact-section { background-color: var(--light); }
.about { background-color: var(--accent); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.25rem; }
.section-title p { max-width: 42rem; margin: 0.5rem auto 0 auto; }
.title-underline { width: 6rem; height: 4px; background-color: var(--primary); margin: 1rem auto 0; border-radius: 9999px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background-color: white; border-radius: 0.5rem; padding: 2rem; text-align: center; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.service-icon-wrapper { display: inline-block; background-color: #caf0f8; color: var(--primary); padding: 1rem; border-radius: 9999px; margin-bottom: 1.5rem; }
.service-icon-wrapper svg { width: 2.5rem; height: 2.5rem; stroke: currentColor; fill: none; stroke-width: 1.5; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card ul { text-align: left; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card ul li { display: flex; align-items: flex-start; }
.service-card ul li::before { content: '✓'; color: var(--primary); margin-right: 0.5rem; margin-top: 0.25rem; flex-shrink: 0; }
.about-content { display: flex; align-items: center; gap: 50px; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.about-text { flex: 1; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: #333; }
.about-cta { margin-top: 20px; }
.about-image { flex: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
.stats-section { background-color: white; padding: 5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.stat-card { background-color: var(--light); padding: 2rem; border-radius: 0.5rem; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
.stat-card span { display: block; font-size: 3rem; font-weight: 700; color: var(--secondary); }
.stat-card p { margin-top: 0.5rem; font-size: 1.125rem; }
.faq-list { max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: white; padding: 1.5rem; border-radius: 0.5rem; border: 1px solid var(--gray-200); }
.faq-item h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.contact-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: flex-start; }
.map-container h3, .contact-info-container h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-container h4 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 1.5rem; }
.map-wrapper { width: 100%; height: 400px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }
.contact-info-box { background-color: white; padding: 2rem; border-radius: 10px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-box p { display: flex; align-items: center; gap: 0.75rem; margin: 0; }
.contact-info-box i { color: var(--primary); font-size: 1.2rem; }
.contact-info-box a { color: var(--primary); font-weight: 500; }
.service-areas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.service-areas a { background-color: white; padding: 0.5rem 1rem; border-radius: 20px; box-shadow: var(--shadow-sm); transition: all 0.2s ease-in-out; border: 1px solid #e9ecef; }
.service-areas a:hover { background-color: white; color: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------------------------------- */
/* 5. Galeri & Pop-up Stilleri        */
/* ---------------------------------- */
.section-subtitle { text-align: center; max-width: 600px; margin: -3rem auto 3rem auto; }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-preview-item { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.gallery-preview-item img { width: 100%; height: 350px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-preview-item a { display: block; }
.preview-overlay { position: absolute; inset: 0; background-image: linear-gradient(transparent, rgba(3, 62, 138, 0.9)); color: white; display: flex; justify-content: center; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.4s ease; cursor: pointer; }
.gallery-preview-item a:hover .preview-overlay { opacity: 1; }
.gallery-preview-item a:hover img { transform: scale(1.05); }
.preview-overlay-content { text-align: center; transform: translateY(20px); transition: transform 0.4s ease; }
.gallery-preview-item a:hover .preview-overlay-content { transform: translateY(0); }
.preview-overlay-content h3 { color: white; font-size: 1.5rem; margin: 0; }
.preview-overlay-content p { color: rgba(255, 255, 255, 0.8); font-size: 1rem; margin-top: 0.25rem; }
.preview-overlay.static { opacity: 1; cursor: default; background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.preview-overlay.static .preview-overlay-content { transform: translateY(0); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { position: relative; background-color: white; padding: 2rem; border-radius: 10px; width: 90%; max-width: 1200px; max-height: 90vh; overflow-y: auto; transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-content h2 { text-align: center; margin-bottom: 2rem; }
.modal-close-button { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2.5rem; color: #aaa; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
.modal-close-button:hover { color: var(--dark); }
.modal-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.modal-gallery-grid a img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; transition: transform 0.3s ease; }
.modal-gallery-grid a img:hover { transform: scale(1.05); }

/* ---------------------------------- */
/* 6. Footer                          */
/* ---------------------------------- */
.footer { background-color: #000000; color: var(--gray-600); padding-top: 5rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.footer-about .footer-logo { display: flex; align-items: center; gap: 0.75rem; color: white; font-size: 1.8rem; margin-bottom: 1rem; }
.footer-about .footer-logo .logo-img { height: 40px; }
.footer-about .footer-logo span { color: var(--primary); }
.footer-tagline { font-size: 1rem; line-height: 1.6; max-width: 350px; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.05); border-radius: 50%; color: var(--light); font-size: 1rem; transition: all 0.3s ease; }
.footer-socials a:hover { background-color: var(--primary); transform: translateY(-3px); }
.footer-links-col h4 { font-size: 1.1rem; font-weight: 600; color: white; margin-bottom: 1.5rem; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links-col a { color: var(--gray-600); transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-links-col a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between; /* BU SATIR EN ÖNEMLİSİ */
    align-items: center;
    font-size: 0.875rem;
    color: #777;
}
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--gray-600); }

/* ---------------------------------- */
/* 7. Animations                      */
/* ---------------------------------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-15px) translateX(-50%); } 60% { transform: translateY(-10px) translateX(-50%); } }

/* ---------------------------------- */
/* 8. Responsive                      */
/* ---------------------------------- */
@media (max-width: 992px) {
    .nav-links, .desktop-bowtie { display: none; }
    #mobile-menu-button { display: block; }
    .about-content, .contact-content-grid, .footer-main { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main, .footer-about .footer-logo, .footer-socials { text-align: center; justify-content: center; }
    .footer-tagline { margin: 0 auto 1.5rem auto; }
}
@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .services-grid, .stats-grid, .gallery-preview-grid, .footer-links-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; gap: 0.5rem; }
    .nav-links.active {
        display: flex; flex-direction: column; position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background-color: white; padding-top: 100px;
        align-items: center; justify-content: center; gap: 30px;
        transition: left 0.5s ease; z-index: 1000;
    }
    .nav-links { left: -100%; } /* Başlangıçta gizli */
}