/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.whatsapp-float svg { display: block; }

/* ===== GLOBAL ===== */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
    font-family: 'Poppins', sans-serif;
    color: #0d141a;
    margin: 0;
    padding: 0;
}

.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* ===== HEADER ===== */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    padding: 0.4rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    color: #0d141a;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.site-header .nav-link {
    color: #0d141a !important;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s;
    padding: 0.4rem 0.2rem;
    text-decoration: none;
}

.site-header .nav-link:hover { color: #4A90E2 !important; }

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-section .container { z-index: 2; }

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.88;
}

.btn-hero {
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.btn-hero-solid {
    font-size: 1rem;
    font-weight: 500;
    background-color: #4A90E2;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-solid:hover {
    background-color: #357bd8;
    color: #ffffff;
}

/* ===== PAGE HERO (alt sayfalar) ===== */
.page-hero-section {
    position: relative;
    min-height: 40vh;
    background: linear-gradient(135deg, #2C3E50 0%, #4A6FA5 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero-section .hero-overlay { background: rgba(0,0,0,0.3); }

/* ===== ABOUT ===== */
.about-section { background-color: #ffffff; }

.section-label { font-size: 0.95rem; color: #0d141a; }

/* ===== SERVICES ===== */
.services-section { background-color: #2C3E50; }

.service-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

/* ===== PROJECTS ===== */
.projects-section { background-color: #f8f9fa; }

.project-card {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s ease;
    overflow: hidden;
    border-radius: 1rem;
}

.project-card:hover { transform: translateY(-4px); }

.project-card img { transition: transform 0.4s ease; }

.project-card:hover img { transform: scale(1.04); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background-color: #ffffff; }

.testimonial-card {
    background-color: #E8F0F4;
    transition: transform 0.2s ease;
    border-radius: 1rem;
}

.testimonial-card:hover { transform: translateY(-4px); }

/* ===== HİZMETLER SAYFASI ===== */
.text-primary-custom { color: #4A90E2 !important; }

.service-feature-list li {
    padding: 0.35rem 0;
    color: #444;
    font-size: 0.95rem;
}

/* ===== HAKKIMIZDA SAYFASI ===== */
.stat-card {
    background-color: #E8F0F4;
    transition: transform 0.2s;
    border-radius: 1rem;
}

.stat-card:hover { transform: translateY(-4px); }

.stat-number {
    font-size: 2.5rem;
    color: #4A90E2;
}

.why-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 1rem;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.why-icon { font-size: 2.5rem; }

/* ===== İLETİŞİM SAYFASI ===== */
.contact-form-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
}

.contact-input {
    border-radius: 10px;
    border: 1px solid #d0d7e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    font-family: inherit;
}

.contact-input:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
    outline: none;
}

.contact-icon { font-size: 1.6rem; }

.btn-primary-custom {
    background-color: #4A90E2;
    color: #ffffff;
    border: none;
    transition: background-color 0.2s;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary-custom:hover {
    background-color: #357bd8;
    color: #ffffff;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #2C3E50 0%, #4A6FA5 100%);
}

/* ===== FOOTER ===== */
.site-footer { background-color: #2C3E50; }

.footer-social-link {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-social-link:hover { color: #ffffff; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a,
.footer-links .footer-text {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: block;
}

.footer-links a:hover { color: #ffffff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Hero mobilde daha kısa ve resim taşmasın */
    .hero-section { min-height: 50vh; max-height: 60vh; }
    .hero-video { height: 100%; max-height: 60vh; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .py-6 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .flex-lg-row-reverse { flex-direction: column !important; }

    /* Hero butonları mobilde daha kompakt */
    .btn-hero, .btn-hero-solid {
        padding: 0.6rem 1.4rem !important;
        font-size: 0.88rem !important;
    }

    /* Hakkında bölümü görseli mobilde daha kısa */
    .about-section .mt-5 img {
        height: 200px !important;
    }

    /* Proje ve hizmet kartı görselleri mobilde biraz daha kısa */
    .service-card img { height: 170px !important; }
    .project-card img { height: 190px !important; }

    /* WhatsApp butonu mobilde biraz küçülsün */
    .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 16px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}
