/* ============================================ */
/* 1. CSS DEĞİŞKENLERİ VE TEMEL STİLLER */
/* ============================================ */
:root {
    /* TUTARLI ANA DEĞİŞKENLER */
    --primary: #0066ff;
    --primary-light: #e6f0ff;
    --accent: #ff6b00;

    /* ARKA PLAN VE RENK DEĞİŞKENLERİ */
    --bg: #f8f9fa; /* (Önceki --light-gray yerine kullanıldı) */
    --card: #ffffff;

    /* METİN RENKLERİ */
    --text: #1a202c;
    --muted: #4a5568;
    --muted-light: #6c757d; /* Eklenen tutarlı renk */
    --white: #ffffff;

    /* GENEL BOYUTLANDIRMA */
    --radius: 12px; /* (Önceki --border-radius yerine kullanıldı) */
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    /* Fontlar HTML içinde yüklenmiş olmalıdır: 'Inter' ve 'Poppins' */
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GENEL BUTONLAR */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: #0055d4;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-secondary:hover {
    background: #e65c00;
}

/* GENEL BÖLÜM BAŞLIKLARI */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* İKON STİLLERİ */
.icon-primary {
    color: var(--primary);
}

.icon-whatsapp-color {
    color: #25D366;
}

.icon-white {
    color: var(--white);
}

.mr-2 {
    margin-right: 0.5rem !important;
}

/* Sayfa Başlığı (Tüm iç sayfalar için tek tanım) */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: var(--bg);
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif; /* Başlık fontu tutarlı hale getirildi */
    font-weight: 800; /* Başlık ağırlığı tutarlı hale getirildi */
}

.page-header p {
    color: var(--muted); /* Renk tutarlı hale getirildi */
}


/* ============================================ */
/* 2. NAVİGASYON VE BAŞLIK */
/* ============================================ */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    text-align: center;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar a {
    color: var(--white);
    margin: 0 10px;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar .social-links a {
    font-size: 1.1rem;
    margin: 0 5px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(120%) blur(8px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.navwrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
}

#mainNav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

#mainNav a {
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

#mainNav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

#mainNav a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
}

.mobile-nav {
    display: none;
}

/* ============================================ */
/* 3. BÖLÜM STİLLERİ */
/* ============================================ */

/* Hero (Değişmedi - kullanıcı isteği) */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg), var(--primary-light));
    text-align: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    height: 125px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* Hero (Değişmedi - kullanıcı isteği) Sonu */


/* HİZMETLER KISMI */
.services-card {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    border-left: 5px solid transparent;
}

.services-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary);
}

.services-num {
    position: absolute;
    top: 5px;
    right: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
}

.services-icon-wrap {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* PORTFÖY KISMI */
.portfolio-filters button {
    padding: 10px 22px;
    margin: 0 8px 10px 8px;
    border: 2px solid var(--primary-light);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all .3s;
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform .3s;
    margin-bottom: 40px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .5s;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform .4s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h4 {
    font-weight: 700;
    font-size: 1.2rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-grid {
    /* Bu stil portföyün tek sayfada tam grid olarak değil, anasayfa bölümü olarak tasarlandığını gösteriyor. 
       Eğer Portföy sayfasını tam grid yapmak istiyorsanız: .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } kullanılmalıdır. */
    margin: 0 -20px;
    padding-bottom: 40px;
}

/* Mevcut anasayfa stili korundu */
.portfolio-grid .portfolio-item {
    width: calc(33.333% - 40px);
    margin: 20px;
}

.portfolio-actions {
    text-align: center;
    margin-bottom: 60px;
}

/* TESTIMONIALS (MÜŞTERİ YORUMLARI) */
.testimonial-section {
    background: var(--primary-light);
}

.testimonial-card {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text);
    flex-grow: 1;
}

.testimonial-card h4 {
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.testimonialSwiper {
    padding: 0 50px;
}

/* REFERANSLAR (SLİDER VE GRİD) */
.logo-strip-container {
    margin-top: 30px;
    padding: 20px 0;
}

.logoSwiper {
    padding: 0 50px;
}

/* .logo-item anasayfa sliderı için tutuldu */
.logo-item {
    width: 150px;
    height: 120px;
    transition: all .3s;
    filter: grayscale(0%);
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    cursor: pointer;
}

.logo-actions {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 80px;
}

/* FOOTER STİLLERİ */
footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px solid #374151;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

.footer-col h4::after {
    content: '';
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #a0aec0;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col .social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* YANIP SÖNEN WHATSAPP BUTONU STİLİ */
.floating-wp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1300;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wp:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ============================================ */
/* 4. MEDYA SORGULARI (Responsive) */
/* ============================================ */
@media (max-width: 1000px) {

    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar .contact-info {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .top-bar .contact-info a {
        font-size: 0;
        padding: 0;
    }

    .top-bar .contact-info a i {
        font-size: 1.1rem;
        color: var(--white);
    }

    .top-bar .social-links {
        margin-top: 0;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
        padding: 8px;
    }

    #mainNav {
        display: none;
    }

    .mobile-nav {
        position: absolute;
        top: 100px;
        right: 20px;
        background: var(--card);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: var(--radius);
        padding: 10px;
        display: none;
        flex-direction: column;
        z-index: 1000;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding: 10px 20px;
        width: 100%;
        display: block;
        border-radius: 6px;
    }

    .mobile-nav a:hover {
        background: var(--primary-light);
        color: var(--primary);
    }

    /* Portföy TEK SÜTUN */
    .portfolio-grid .portfolio-item {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }

    /* Footer 2 sütun */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .footer-col {
        text-align: center !important;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .floating-wp {
        display: flex;
    }

    /* Hero h1 (Kullanıcı isteği dışı, ancak taşma potansiyeli için küçük düzeltme) */
    .hero h1 {
        font-size: 2.2rem;
        height: 160px; /* Sabit yükseklik kaldırıldı */
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Footer TAMAMEN TEK SÜTUN */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1001px) {
    .mobile-nav {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }

    .floating-wp {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === HAKKIMIZDA BÖLÜMÜ STİLLERİ === */
#hakkimizda {
    background-color: var(--card);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.about-text-content h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.about-text-content p {
    margin-bottom: 15px;
    color: var(--muted);
}

.about-image-placeholder img {
    border: 5px solid var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    aspect-ratio: 5/4;
    border-radius: var(--radius);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--primary-light);
    transition: all 0.3s;
}

.value-card:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.value-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-stats-strip {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 0 15px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 5px;
}

/* Responsive Düzenlemeler */
@media (max-width: 1000px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-text-content {
        text-align: center !important;
    }

    .about-text-content .btn-primary {
        margin-top: 15px !important;
    }

    .about-values-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-stats-strip {
        flex-direction: column;
        gap: 30px;
    }
}


/*
    Aşağıdaki CSS'i, mevcut style.css dosyanızın uygun bir yerine (genellikle en sonuna) ekleyin.
*/

/* === REFERANSLAR (PARTNER) KISMI STİLLERİ === */
.references-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.partner-logo-item {
    background-color: var(--card);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}

.partner-logo-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.partner-logo-item img {
    /* LOGONUN BOZULMADAN KUTUYA SIĞMASINI SAĞLAYAN KURALLAR */
    width: 100%;
    height: 100%;
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    /* EN ÖNEMLİ KISIM: Resmi bozulmadan, belirlenen alana sığdır */

    filter: grayscale(0%);
    opacity: 0.7;
    transition: filter var(--transition-speed), opacity var(--transition-speed), transform var(--transition-speed);
    margin-bottom: 15px;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--muted-light);
}

/* CTA Bölümü */
.cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--bg);
    border-radius: var(--radius);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Referanslar Responsive */
@media (max-width: 992px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}


/* === İLETİŞİM KISMI STİLLERİ === */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8em;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    box-sizing: border-box;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.submit-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.submit-button:hover {
    background-color: #0056b3;
}

#form-message {
    margin-top: 15px;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Bilgi Alanı Stilleri */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5em;
    color: var(--primary);
    margin-right: 15px;
    padding-top: 5px;
}

.info-item h3 {
    font-size: 1.1em;
    margin: 0 0 5px 0;
}

.info-item p {
    margin: 0;
    color: var(--muted-light);
}

/* Sosyal Medya İkonları */
.social-links h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Footer social-links ile çakışmaması için contact-social-links kullanılabilir */
.contact-info-section .social-links {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.contact-info-section .social-links a {
    color: var(--text);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color var(--transition-speed);
}

.contact-info-section .social-links a:hover {
    color: var(--primary);
}

/* Harita Bölümü */
.map-section {
    margin-bottom: 40px;
}

.map-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
}

#map-placeholder iframe {
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* İletişim Responsive */
@media (max-width: 992px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-section {
        padding-top: 20px;
    }
}