/* Genel Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 70px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    color: #1e3a5f;
}

h1 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 1.625rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 16px;
}

/* NAVBAR */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e5e5;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo alanı */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    display: inline-block;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.3px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.nav-menu a:hover {
    color: #0077ff;
}

/* Navbar Butonları */
.nav-actions {
    display: flex;
    gap: 8px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid #e5e5e5;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-btn svg {
    flex-shrink: 0;
}

.nav-btn-phone {
    background-color: #ff6b35;
    color: #fff;
}

.nav-btn-phone:hover {
    background-color: #e55a2b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.nav-btn-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.nav-btn-whatsapp:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Hamburger buton (desktop'ta gizli) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background-color: #333;
    transition: 0.2s;
}

/* Hamburger açıkken animasyon (X işareti) */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Sections */
section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 14px 28px;
    min-height: 44px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}

.btn-secondary:hover {
    background-color: #1e3a5f;
    color: #fff;
    box-shadow: 0 4px 8px rgba(30, 58, 95, 0.2);
}

/* HERO BÖLÜMÜ */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-bottom: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-text {
    text-align: center;
    max-width: 100%;
}

.hero h1 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
    color: #1e3a5f;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-phone {
    margin: 1.5rem 0;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
    display: inline-block;
}

.phone-number:hover {
    color: #e55a2b;
}

.phone-number-large {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
    display: inline-block;
}

.phone-number-large:hover {
    color: #e55a2b;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.hero-buttons .btn {
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 300px;
}

.hero-placeholder {
    width: 100%;
    height: auto;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder svg {
    width: 100%;
    height: auto;
}

/* HİZMETLERİMİZ BÖLÜMÜ */
.services {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: #1e3a5f;
    margin-bottom: 0.875rem;
    font-size: 1.125rem;
}

.service-card p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* NEDEN BİZ BÖLÜMÜ */
.why-us {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-color: #f8f9fa;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.why-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.why-card h3 {
    color: #1e3a5f;
    margin-bottom: 0.875rem;
    font-size: 1.125rem;
}

.why-card p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ÇALIŞMA SÜRECİ BÖLÜMÜ */
.process {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.process-step h3 {
    color: #1e3a5f;
    margin-bottom: 0.875rem;
}

.process-step p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* SSS BÖLÜMÜ */
.faq {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-color: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    color: #1e3a5f;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #e8e8e8;
}

.faq-item p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
    padding-top: 0.5rem;
}

/* İLETİŞİM BÖLÜMÜ */
.section-contact {
    padding-top: 48px;
    padding-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-item {
    margin-bottom: 12px;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.phone-link {
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #222;
}

.phone-link:hover {
    color: #0077ff;
}

.contact-map {
    width: 100%;
}

.map-embed-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 330px;
    border: 0;
}

.map-note {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.map-button {
    margin-top: 16px;
}

/* FOOTER */
.footer {
    background-color: #1e3a5f;
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
    margin-top: 0;
}

.footer p {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
}

/* MEDIA QUERIES - Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 10px 16px;
        position: relative;
    }

    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 22px;
        height: 22px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 12px 40px rgba(0,0,0,0.12);
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px;
        gap: 10px;

        /* ANİMASYON İÇİN: */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition:
            max-height 0.3s ease,
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-menu.open {
        max-height: 450px; /* Menü link sayısına göre yeterli bir değer (butonlar dahil) */
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu > li:not(.nav-actions) > a {
        width: 100%;
        min-height: 52px;
        padding: 16px 18px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        color: #1e3a5f;
        background: #ffffff;
        border: 1.5px solid #e8e8e8;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
        transition: all 0.2s ease;
    }

    .nav-menu > li:not(.nav-actions) > a:hover,
    .nav-menu > li:not(.nav-actions) > a:active {
        background: #f8f9fa;
        border-color: #0077ff;
        color: #0077ff;
        box-shadow: 0 4px 12px rgba(0, 119, 255, 0.15);
        transform: translateY(-1px);
    }

    .nav-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e8e8e8;
        padding-top: 20px;
        margin-top: 16px;
        width: 100%;
        gap: 12px;
    }

    .nav-btn {
        flex: 1;
        justify-content: center;
        min-height: 52px;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }

    .nav-btn:hover,
    .nav-btn:active {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .nav-toggle {
        display: block; /* mobilde görünür */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-embed-wrapper iframe {
        height: 260px;
    }
}

/* MEDIA QUERIES - Tablet */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 24px;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .section-subtitle {
        font-size: 1.0625rem;
    }

    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        width: auto;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-info {
        flex: 1;
        text-align: left;
    }

    .contact-buttons {
        flex-direction: row;
    }

    .contact-buttons .btn {
        width: auto;
    }

    .contact-map {
        flex: 1;
        height: 400px;
    }
}

/* MEDIA QUERIES - Desktop */
@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 3rem;
    }

    .hero-text {
        flex: 1;
        text-align: left;
    }

    .hero-image {
        flex: 1;
        max-width: 450px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
