/* ==========================================================================
   YAŞAM AMBULANS HİZMETLERİ - Complete Stylesheet & Mobile Optimized
   ========================================================================== */

:root {
    --primary-red: #1d9ebe;
    --primary-red-hover: #15839f;
    
    --text-dark: #0f172a; /* Deep dark blackish-grayish-navy blue */
    --text-muted: #475569;
    
    --bg-surface: #ffffff;
    --bg-card: #fafafa;
    --border-color: #eeeef0;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-pill: 50px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-surface);
    color: var(--text-dark);
    overflow-x: clip;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Site Header */
.site-header {
    background: #ffffff;
    border-bottom: 1.5px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

/* Nav Menu & Active Line */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    padding: 0 4px;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link.active {
    color: var(--text-dark);
}

.nav-link-line {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    display: none;
}

.nav-link.active .nav-link-line {
    display: block;
}

/* Header Actions & Language Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.flag-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    display: block;
    vertical-align: middle;
}

.flag-svg {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.lang-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 155px;
    padding: 8px 0;
    z-index: 1001;
}

.lang-menu.active {
    display: flex;
    flex-direction: column;
}

.lang-item {
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.lang-item:hover, .lang-item.active {
    background: #f8fafc;
    color: var(--primary-red);
}

/* Header Phone Button (Solid Red) */
.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d61827;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(214, 24, 39, 0.28);
    transition: var(--transition);
}

.header-phone-btn:hover {
    background: #b91220;
    transform: translateY(-2px);
}

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 6px;
}

/* Hero Section */
.hero-section {
    padding: 24px 0 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 20px;
}

.hero-content {
    padding-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 14px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-title .red-text {
    color: var(--primary-red);
    display: block;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 480px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-buttons-row {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.btn-hero-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d61827;
    color: #ffffff;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(214, 24, 39, 0.32);
    transition: var(--transition);
}

.btn-hero-red:hover {
    background: #b91220;
    transform: translateY(-2px);
}

.btn-hero-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-wa svg {
    fill: #ffffff;
    color: #ffffff;
    transition: var(--transition);
}

.btn-hero-wa:hover {
    background: #128c7e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.4);
}

/* Hero Image Wrap */
.hero-image-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-radius: 16px;
    overflow: hidden;
    animation: fadeInRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-image-wrap img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Services Section */
.services-section {
    padding: 36px 0 50px;
    background: #ffffff;
}

.section-header-left {
    margin-bottom: 24px;
}

.section-title-line {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title-line::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: var(--primary-red);
    margin-top: 5px;
    border-radius: 4px;
}

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card-flat {
    background: #fafafa;
    border: 1.5px solid #f3f4f6;
    border-radius: var(--radius-md);
    padding: 28px 20px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.services-grid-4 .service-card-flat:nth-child(1) { animation-delay: 0.25s; }
.services-grid-4 .service-card-flat:nth-child(2) { animation-delay: 0.35s; }
.services-grid-4 .service-card-flat:nth-child(3) { animation-delay: 0.45s; }
.services-grid-4 .service-card-flat:nth-child(4) { animation-delay: 0.55s; }

.service-card-flat:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.service-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fee2e2;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card-flat h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.service-card-flat p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.45;
}

.service-arrow-link {
    align-self: flex-end;
    color: var(--primary-red);
    font-size: 1.15rem;
    font-weight: 700;
}

.subpage-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.subpage-service-card:hover .card-btn-hover {
    background: var(--primary-red) !important;
    color: #ffffff !important;
    border-color: var(--primary-red) !important;
}

/* Quick Contact Action Bar */
.quick-contact-bar {
    margin-top: 32px;
    background: #ffffff;
    border: 1.5px solid #f3f4f6;
    border-radius: var(--radius-md);
    padding: 20px 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.contact-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}

.contact-item-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-red);
}

.contact-item-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Modern Site Footer (Dark Slate Navy Corporate Footer)
   ========================================================================== */

.site-footer {
    background: #0f172a; /* Dark slate navy background */
    color: #94a3b8;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 3.5px solid var(--primary-red);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.25fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
    max-height: 44px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); /* Pure white logo on dark footer */
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--primary-red);
    margin-top: 6px;
    border-radius: 2px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-circle-btn:hover {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: #ffffff;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-simple {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-phone-simple {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-phone-simple svg {
    color: var(--primary-red);
}

.footer-phone-simple:hover {
    color: var(--primary-red);
}

.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-wa-link svg {
    color: #1d9ebe;
}

.footer-wa-link:hover {
    color: #1d9ebe;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.86rem;
    color: #64748b;
}

.admin-login-link {
    color: #64748b;
    font-weight: 600;
}

.admin-login-link:hover {
    color: var(--primary-red);
}

/* Mobile Fixed Navigation Bar (75px Height Fixed Bottom) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #ffffff;
    border-top: 1.5px solid var(--border-color);
    padding: 8px 16px;
    height: 56px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    height: 100%;
    align-items: center;
}

.mobile-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #1d9ebe;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-bar-btn:active {
    transform: scale(0.92);
}

.mobile-bar-btn svg {
    color: #1d9ebe;
    width: 25px;
    height: 25px;
}

/* Tablet Responsive Breakpoint */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-bar-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* Mobile Responsive Breakpoint (768px and below) */
@media (max-width: 768px) {
    body { padding-bottom: 56px; } /* Exact height of mobile bottom bar */
    
    .header-inner { height: 66px; }
    .brand-logo img { max-height: 32px; }
    .header-phone-btn { display: none; }
    .mobile-toggle-btn { display: block; }

    /* Clean Mobile Drawer Dropdown Menu (Guaranteed closed by default) */
    .site-header .nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px 24px;
        border-bottom: 1.5px solid var(--border-color);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        gap: 12px;
        height: auto;
    }

    .site-header .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        height: auto;
        width: 100%;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 10px 0;
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-link-line {
        display: none !important;
    }

    /* Hero Mobile Refinements - Container Hugs Text Content Height Perfectly */
    .hero-section { padding: 12px 0 0; }
    .hero-grid {
        display: flex;
        flex-direction: column;
        position: relative;
        min-height: unset;
        height: auto;
        border-radius: 16px;
        overflow: hidden;
    }

    .hero-image-wrap {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        border-radius: 16px;
        overflow: hidden;
        margin-top: 0;
    }

    .hero-image-wrap img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center right;
        border-radius: 16px;
    }

    /* Soft semi-transparent white backdrop on image for perfect legibility */
    .hero-image-wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.65) 55%, rgba(255, 255, 255, 0.25) 100%);
        z-index: 2;
        pointer-events: none;
    }

    /* Hero Content hugging text content */
    .hero-content {
        position: relative;
        z-index: 5;
        padding: 24px 18px;
        height: auto;
    }

    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.8px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
        color: #374151;
        font-weight: 600;
    }

    .hero-buttons-row { flex-direction: row; gap: 10px; width: 100%; }
    .btn-hero-red, .btn-hero-white { flex: 1; padding: 13px 16px; font-size: 0.88rem; min-width: 0; }

    /* Services Grid Mobile */
    .services-grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .service-card-flat { padding: 20px 14px; border-radius: 12px; }
    .service-icon-circle { width: 44px; height: 44px; margin-bottom: 12px; }
    .service-card-flat h3 { font-size: 0.9rem; }
    .service-card-flat p { font-size: 0.78rem; margin-bottom: 12px; }

    /* Quick Action Bar Mobile */
    .quick-contact-bar { padding: 16px; margin-top: 24px; border-radius: 12px; }

    /* Mobile Footer Refinements (Compact, Left-Aligned & 2-Column Grid) */
    .site-footer { 
        padding: 32px 0 16px; 
        margin-top: 30px; 
    }

    .footer-top-grid { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px; 
        padding-bottom: 24px; 
        text-align: left; 
    }

    .brand-col {
        grid-column: 1 / -1;
    }

    .contact-col {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        max-height: 36px;
        margin-bottom: 12px;
    }

    .footer-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .footer-heading::after { 
        margin: 4px 0 0 0; 
    }

    .footer-socials { 
        justify-content: flex-start; 
        gap: 10px;
    }

    .footer-links-list a {
        font-size: 0.85rem;
    }

    .footer-phone-card { 
        justify-content: flex-start; 
        text-align: left;
        padding: 14px 16px;
        margin-bottom: 10px;
    }

    .phone-icon-wrap {
        width: 38px;
        height: 38px;
    }

    .phone-num {
        font-size: 1.05rem;
    }

    .footer-bottom-row { 
        flex-direction: column; 
        gap: 8px; 
        text-align: left; 
        align-items: flex-start;
        padding-top: 18px;
        font-size: 0.8rem;
    }

    .mobile-bottom-bar { 
        display: block !important; 
    }
}

/* ==========================================================================
   SUBPAGES: Hizmetler, Hakkımızda, İletişim
   ========================================================================== */

/* CTA section'dan hemen sonra gelen footer'ın üst boşluğunu kaldır */
.pg-cta-section + .site-footer {
    margin-top: 0;
}


/* Page Hero (shared) */
.pg-hero {
    background: #0f172a;
    padding: 60px 0 56px;
    border-bottom: 3px solid #1d9ebe;
}
.pg-hero-inner { max-width: 680px; }
.pg-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 18px;
    animation: fadeInUp 0.5s ease 0.08s both;
}
.pg-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.pg-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* CTA Section (shared) */
.pg-cta-section { background: #0f172a; padding: 52px 0; }
.pg-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pg-cta-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.pg-cta-text p { color: #64748b; font-size: 0.93rem; margin: 0; }
.pg-cta-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #1d9ebe;
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.93rem;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.cta-btn-primary:hover { background: #15839f; transform: translateY(-2px); color: #ffffff; }
.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.12);
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.cta-btn-outline:hover { color: #ffffff; border-color: rgba(255,255,255,0.3); }

/* ==========================================================================
   HIZMETLER — 2-Column Card Grid
   ========================================================================== */
.svc-cards-section { padding: 64px 0 80px; background: #f8fafc; }
.svc-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.svc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s, transform 0.22s;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.svc-cards-grid .svc-card:nth-child(1) { animation-delay: 0.1s; }
.svc-cards-grid .svc-card:nth-child(2) { animation-delay: 0.2s; }
.svc-cards-grid .svc-card:nth-child(3) { animation-delay: 0.3s; }
.svc-cards-grid .svc-card:nth-child(4) { animation-delay: 0.4s; }
.svc-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.07); transform: translateY(-3px); }
.svc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}
.svc-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.svc-icon-red  { background: #1d9ebe; color: #ffffff; }
.svc-icon-dark { background: #0f172a; color: #ffffff; }
.svc-card-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem; font-weight: 900;
    color: #f1f5f9; line-height: 1;
    user-select: none;
}
.svc-card-body { display: flex; flex-direction: column; flex: 1; margin-bottom: 28px; }
.svc-card-cat {
    font-size: 0.72rem; font-weight: 800;
    color: #1d9ebe; text-transform: uppercase;
    letter-spacing: 0.6px; display: block; margin-bottom: 6px;
}
.svc-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem; font-weight: 900;
    color: #0f172a; margin-bottom: 12px;
    line-height: 1.2; letter-spacing: -0.2px;
}
.svc-card-desc {
    font-size: 0.9rem; color: #64748b;
    line-height: 1.7; margin-bottom: 20px;
}
.svc-card-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-card-features li {
    font-size: 0.85rem; font-weight: 600;
    color: #334155; padding-left: 18px;
    position: relative; line-height: 1.4;
}
.svc-card-features li::before {
    content: ''; position: absolute;
    left: 0; top: 6px;
    width: 7px; height: 7px;
    border-radius: 50%; background: #1d9ebe;
}
.svc-card-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px;
    background: #1d9ebe; color: #ffffff;
    border-radius: 50px;
    font-weight: 800; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    align-self: flex-start;
    transition: background 0.2s, transform 0.2s;
    margin-top: auto;
}
.svc-card-btn:hover { background: #15839f; transform: translateY(-2px); color: #ffffff; }
.svc-card-btn-outline {
    background: transparent; color: #0f172a;
    border: 2px solid #e2e8f0;
}
.svc-card-btn-outline:hover { background: #0f172a; border-color: #0f172a; color: #ffffff; }

/* ==========================================================================
   STATS BAR (hakkimizda)
   ========================================================================== */
.stats-bar { background: #1d9ebe; padding: 22px 0; animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 10px 16px; border-right: 1px solid rgba(255,255,255,0.2); animation: fadeInUp 0.5s ease both; }
.stats-grid .stat-item:nth-child(1) { animation-delay: 0.15s; }
.stats-grid .stat-item:nth-child(2) { animation-delay: 0.25s; }
.stats-grid .stat-item:nth-child(3) { animation-delay: 0.35s; }
.stats-grid .stat-item:nth-child(4) { animation-delay: 0.45s; }
.stat-item:last-child { border-right: none; }
.stat-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 900;
    color: #ffffff; line-height: 1;
}
.stat-item span {
    display: block;
    font-size: 0.74rem; font-weight: 700;
    color: rgba(255,255,255,0.82);
    text-transform: uppercase; letter-spacing: 0.4px;
    margin-top: 5px;
}

/* ==========================================================================
   ABOUT SECTION (hakkimizda)
   ========================================================================== */
.about-section { padding: 64px 0 80px; background: #ffffff; }
.about-block {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.block-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.red-badge  { background: rgba(29, 158, 190, 0.12); color: #1d9ebe; }
.dark-badge { background: #f1f5f9; color: #0f172a; }
.about-block-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem; font-weight: 900;
    color: #0f172a; margin-bottom: 14px;
    letter-spacing: -0.3px; line-height: 1.2;
}
.about-block-body p {
    font-size: 0.95rem; color: #475569;
    line-height: 1.78; margin-bottom: 14px;
}
.about-block-body p:last-child { margin-bottom: 0; }
.about-divider { height: 1px; background: #f1f5f9; margin: 48px 0; }

/* About Services Grid */
.about-services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px; margin-top: 24px;
}
.about-svc-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: box-shadow 0.2s, background 0.2s;
    animation: fadeInUp 0.5s ease both;
}
.about-services-grid .about-svc-card:nth-child(1) { animation-delay: 0.1s; }
.about-services-grid .about-svc-card:nth-child(2) { animation-delay: 0.2s; }
.about-services-grid .about-svc-card:nth-child(3) { animation-delay: 0.3s; }
.about-services-grid .about-svc-card:nth-child(4) { animation-delay: 0.4s; }
.about-svc-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.05); background: #ffffff; }
.about-svc-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: #0f172a; color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-svc-card h3 {
    font-size: 0.88rem; font-weight: 800; color: #0f172a;
    margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.2px;
}
.about-svc-card > div > p { font-size: 0.81rem; color: #64748b; margin: 0; line-height: 1.5; }

/* Values Cards Grid */
.values-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.value-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 20px;
    transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
    animation: fadeInUp 0.5s ease both;
}
.values-cards-grid .value-card:nth-child(1) { animation-delay: 0.1s; }
.values-cards-grid .value-card:nth-child(2) { animation-delay: 0.2s; }
.values-cards-grid .value-card:nth-child(3) { animation-delay: 0.3s; }
.values-cards-grid .value-card:nth-child(4) { animation-delay: 0.4s; }

.value-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.value-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.value-card h3 {
    font-size: 0.93rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.value-card p {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   CONTACT SECTION (iletisim)
   ========================================================================== */
.contact-section { padding: 60px 0 80px; background: #f8fafc; }
.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px; align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    animation: fadeInUp 0.5s ease both;
}
.contact-info-col .contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-col .contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-col .contact-info-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info-col .contact-info-card:nth-child(4) { animation-delay: 0.4s; }

.contact-info-card:hover {
    border-color: #1d9ebe;
    box-shadow: 0 8px 24px rgba(29, 158, 190, 0.14);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: #1d9ebe;
    color: #ffffff;
}

.contact-info-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.contact-info-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.contact-info-val {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    transition: color 0.25s ease;
}

.contact-info-val.address-text {
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.4;
}

.contact-info-card:hover .contact-info-val {
    color: #1d9ebe;
}

.directions-link {
    font-size: 0.76rem;
    font-weight: 800;
    color: #1d9ebe;
    margin-top: 4px;
    display: inline-block;
    letter-spacing: 0.3px;
}


.contact-hours-card {
    padding: 20px 18px; background: #ffffff;
    border: 1px solid #e2e8f0; border-radius: 14px;
    animation: fadeInUp 0.5s ease 0.45s both;
}
.contact-hours-title {
    font-size: 0.82rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px;
    color: #0f172a; margin-bottom: 14px;
}
.contact-hours-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.87rem;
}
.contact-hours-row:last-of-type { border-bottom: none; }
.contact-hours-row span   { color: #64748b; }
.contact-hours-row strong { color: #0f172a; font-weight: 700; }
.contact-hours-note { font-size: 0.78rem; color: #94a3b8; margin-top: 10px; line-height: 1.5; }

.contact-form-col { position: sticky; top: 96px; }
.contact-form-card {
    background: #ffffff; border: 1px solid #e2e8f0;
    border-radius: 18px; padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
},0,0,0.04);
}
.contact-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 900;
    color: #0f172a; margin-bottom: 24px; letter-spacing: -0.3px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
    font-size: 0.76rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px; color: #334155;
}
.form-field input,
.form-field textarea,
.form-field select {
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 0.9rem; color: #0f172a;
    background: #ffffff; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%; font-family: inherit;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #94a3b8; }
.form-field input:focus,
.form-field textarea:focus {
    border-color: #1d9ebe;
    box-shadow: 0 0 0 3px rgba(29,158,190,0.1);
}
.form-field textarea { resize: vertical; min-height: 112px; }
.form-submit-btn {
    background: #1d9ebe; color: #ffffff;
    border: none; padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: background 0.2s, transform 0.2s;
    align-self: flex-start; font-family: inherit;
}
.form-submit-btn:hover { background: #15839f; transform: translateY(-2px); }
.form-success-msg {
    background: #ecfdf5; color: #065f46;
    border: 1px solid #a7f3d0; border-radius: 9px;
    padding: 14px 18px; font-size: 0.88rem; font-weight: 600; margin-bottom: 18px;
}
.form-error-msg {
    background: #fef2f2; color: #991b1b;
    border: 1px solid #fecaca; border-radius: 9px;
    padding: 14px 18px; font-size: 0.88rem; font-weight: 600; margin-bottom: 18px;
}

/* Transfer Request Form (nakil-talebi.php) */
.request-section {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.request-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wa-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1d9ebe;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 16px rgba(29, 158, 190, 0.25);
    font-family: inherit;
}

.wa-submit-btn:hover {
    background: #15839f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 158, 190, 0.35);
    color: #ffffff;
}

.form-note-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}


/* ==========================================================================
   SUBPAGES RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .about-block { grid-template-columns: 140px 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-col { position: static; }
    .pg-cta-inner { flex-direction: column; text-align: center; gap: 28px; }
    .pg-cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .pg-hero { padding: 40px 0 36px; }
    .pg-title { font-size: 2rem; }

    .svc-cards-section { padding: 40px 0 50px; }
    .svc-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .svc-card { padding: 24px 20px; }
    .svc-card-num { font-size: 2.2rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.18); }
    .stat-item:nth-child(1), .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.2); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

    .about-section { padding: 40px 0 50px; }
    .about-block { grid-template-columns: 1fr; gap: 14px; }
    .about-block-label { position: static; }
    .about-block-body h2 { font-size: 1.3rem; }
    .about-services-grid { grid-template-columns: 1fr; }
    .values-cards-grid { grid-template-columns: 1fr; }
    .about-divider { margin: 32px 0; }

    .contact-section, .request-section { padding: 40px 0 50px; }
    .contact-form-card, .request-card { padding: 24px 16px; }
    .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
    .form-submit-btn, .wa-submit-btn { width: 100%; align-self: stretch; text-align: center; }


    .pg-cta-section { padding: 36px 0; }
    .pg-cta-text h2 { font-size: 1.25rem; }
    .pg-cta-actions { flex-direction: column; width: 100%; }
    .cta-btn-primary, .cta-btn-outline {
        width: 100%; justify-content: center; text-align: center;
    }
}

/* Contact Map Section Responsive Fixes */
.contact-map-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 18px;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-map-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 220px;
}

.contact-map-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(29, 158, 190, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-map-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.contact-map-addr {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-map-btn {
    padding: 10px 20px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.contact-map-frame-wrap {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .contact-map-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 12px 10px 16px;
    }
    .contact-map-info {
        min-width: 100%;
    }
    .contact-map-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .contact-map-frame-wrap {
        height: 300px;
    }
}
