:root {
    --mel-red: #e63946;

    /* DAHA KOYU – PROFESYONEL */
    --mel-bg: #e6e8ec;
    --mel-bg-soft: #dde0e6;

    --mel-card: #f4f5f7;
    --mel-card-soft: #eef0f3;

    --mel-text: #1f2937;
    --mel-muted: #6b7280;
    --mel-border: #d1d5db;

    --mel-input: #e9ecf2;

    --jakarta: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.35s ease;
}

/* GLOBAL */
body {
    background: linear-gradient(180deg, var(--mel-bg) 0%, var(--mel-bg-soft) 100%);
    color: var(--mel-text);
    font-family: var(--jakarta);
    line-height: 1.6;
    overflow-x: hidden;
}

.wide-container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
}

/* TOP HEADER */
.top-header {
    background: #eef0f3;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--mel-border);
}

.top-left a { color: #4b5563; text-decoration: none; margin-right: 20px; }
.top-left a:hover { color: var(--mel-red); }
.divider { color: #9ca3af; margin-right: 20px; }
.location { color: #6b7280; }

/* MAIN HEADER */
.main-header {
    height: 110px;
    position: sticky;
    top: 0;
    background: rgba(238,240,243,0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mel-border);
    z-index: 9999;
}

.header-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.brand-logo { 
    height: 90px; 
}

/* NAV */
.main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: nowrap;
    gap: 2px;
}

.mega-nav { min-width: 0; }

.main-menu li { position: relative; }

.main-menu a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 800;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    padding: 6px 9px;
    white-space: nowrap;
}

.main-menu a:hover { color: var(--mel-red); }

/* DROPDOWN */
.dropdown {
    position: absolute;
    top: 100%;
    left: 20px;
    width: 260px;
    background: var(--mel-card);
    padding: 15px 0;
    border: 1px solid var(--mel-border);
    border-top: 3px solid var(--mel-red);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: var(--transition);
}

.has-drop:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 25px;
    color: #374151;
    font-size: 12px;
}

.dropdown a:hover {
    background: #e5e7eb;
    color: #111827;
    padding-left: 30px;
}

.dropdown a.solution-link {
    position: relative;
    transition: all 0.3s ease;
}

.dropdown a.solution-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--mel-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown a.solution-link:hover::before {
    transform: scaleY(1);
}

.dropdown a.solution-link:hover {
    background: linear-gradient(90deg, rgba(230,57,70,0.1) 0%, transparent 100%);
    padding-left: 35px;
    transform: translateX(5px);
}

.dropdown a.solution-link.active {
    background: linear-gradient(90deg, rgba(230,57,70,0.15) 0%, transparent 100%);
    color: var(--mel-red);
    font-weight: 900;
}

.dropdown a.solution-link.active::before {
    transform: scaleY(1);
}

/* HEADER CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 12px; /* sağ kenarla arasında nefes payı (container sınırı içinde kalır) */
}

.search-trigger {
    color: #374151;
    font-size: 18px;
    cursor: pointer;
}

.search-trigger:hover { color: var(--mel-red); }

.btn-glow {
    background: var(--mel-red);
    color: #fff;
    padding: 11px 18px;
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(230,57,70,0.35);
    transition: var(--transition);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 55px rgba(230,57,70,0.55);
}

/* HERO */
.master-hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(230,232,236,0.95) 35%, transparent 100%),
        url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?q=80&w=2070');
    background-size: cover;
    background-position: center;
}

.hero-text-wrap h1 {
    font-size: 80px;
    font-weight: 800;
    line-height: 0.95;
    color: #111827;
    margin-bottom: 30px;
}

.hero-text-wrap p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 600px;
}

/* CTA ROW – CONTAINER HİSSİ */
.action-row {
    display: inline-flex;
    gap: 25px;
    padding: 20px 30px;
    background: var(--mel-card);
    border-radius: 16px;
    border: 1px solid var(--mel-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* STATS – YAN YANA + PREMIUM */
.stats-bar {
    padding: 90px 0;
    background: var(--mel-bg);
    border-bottom: 1px solid var(--mel-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    background: var(--mel-card);
    padding: 40px 20px;
    border-radius: 16px;
    border: 1px solid var(--mel-border);
    text-align: center;
    transition: var(--transition);
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #111827;
}

.stat-item p {
    color: var(--mel-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

/* SERVICES – KARTLAR */
.deep-services { padding: 120px 0; }

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.giant-card {
    background: var(--mel-card);
    padding: 60px 40px;
    border-radius: 18px;
    border: 1px solid var(--mel-border);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.giant-card p { color: var(--mel-muted); }

.giant-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 90px rgba(0,0,0,0.15);
}

/* FORM */
.contact-ultra { padding: 120px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.ultra-form {
    background: var(--mel-card);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--mel-border);
    box-shadow: 0 40px 90px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ultra-form input,
.ultra-form textarea,
.ultra-form select {
    background: var(--mel-input);
    border: 1px solid transparent;
    padding: 18px 20px;
    border-radius: 12px;
    font-family: var(--jakarta);
}

.ultra-form input:focus,
.ultra-form textarea:focus {
    background: #fff;
    border-color: var(--mel-red);
    box-shadow: 0 0 0 4px rgba(230,57,70,0.15);
    outline: none;
}

/* RESPONSIVE */
/* Not: Menü + ARIZA KAYIT / DURUM TAKİP / TEKLİF ALIN butonlarının
   kompakt boyutları "HEADER BUTONLARI SIĞDIRMA" bölümünde (ariza bölümünde) tanımlıdır. */

@media (max-width: 1200px) {
    .main-menu,
    .top-header { display: none; }

    .hero-text-wrap h1 { font-size: 48px; }

    .services-container,
    .contact-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* HERO CTA – SADECE BU KISIM */
.action-row {
    display: flex;
    gap: 14px;
}

.action-row a {
    background: var(--mel-card);
    padding: 22px 38px;
    border-radius: 16px;
    border: 1px solid var(--mel-border);
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--mel-text);
    transition: var(--transition);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.action-row a:hover {
    transform: translateY(-6px);
    box-shadow:
        0 35px 80px rgba(0,0,0,0.15),
        0 0 0 1px rgba(230,57,70,0.25);
}

.action-row a:first-child {
    background: var(--mel-red);
    color: #fff;
    border-color: transparent;
}
/* HERO DİKEY HİZALAMA DÜZELTME – SADECE CTA ALANI */
.master-hero {
    align-items: flex-start;
}

.hero-text-wrap {
    padding-top: 100px;
}
/* WHATSAPP CANLI DESTEK – SABİT & ŞIK */
.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 99999;

    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;

    padding: 16px 26px;
    border-radius: 999px;

    display: flex;
    align-items: center;
    gap: 14px;

    font-weight: 800;
    font-size: 14px;
    text-decoration: none;

    box-shadow:
        0 20px 40px rgba(37, 211, 102, 0.45),
        0 0 0 1px rgba(255,255,255,0.15);

    transition: var(--transition);
    .whatsapp-float {
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
}

}

/* Hover – canlı ama rahatsız etmeyen */
.whatsapp-float:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 30px 70px rgba(37, 211, 102, 0.6),
        0 0 0 1px rgba(255,255,255,0.25);
}

/* Mobilde biraz küçült */
@media (max-width: 768px) {
    .whatsapp-float {
        padding: 14px 22px;
        font-size: 13px;
        right: 18px;
        bottom: 18px;
    }
}
/* GÜVENLİĞİN GELECEĞİ */
.reveal-text {
    font-size: 25px; /* 14 → 17 */
    letter-spacing: 2.5px;
}

/* HERO ANA BAŞLIK (çok az güçlendirme) */
.hero-text-wrap h1 {
    font-size: 84px; /* 80 → 84 */
}

/* Bütünleşik Güvenlik Katmanlarımız */
.section-head-left h2 {
    font-size: 50px; /* 45 civarı → 50 */
}

/* Ücretsiz Keşif Talep Edin */
.contact-info-box h2 {
    font-size: 50px;
}

/* Form açıklama metni */
.contact-info-box p {
    font-size: 19px; /* 16–17 → 19 */
}

/* Mail satırı */
.contact-info-box .c-item span {
    font-size: 18px;
}
.logo-box {
    display: flex;
    align-items: center;
}
.brand-logo {
    margin-top: 7px; /* 2–6px arası oynatabilirsin */
}
.contact-info-box h3 {
    font-size: 25px;
}
.giant-card,
.stat-item {
    opacity: 0;
    transform: translateY(30px);
}

.giant-card.show,
.stat-item.show {
    opacity: 1;
    transform: translateY(0);
}
.whatsapp-float.pulse {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    animation: pulseAnim 1.5s ease;
}

@keyframes pulseAnim {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
.main-header.scrolled {
    background: rgba(230,232,235,0.95) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
.giant-card,
.stat-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.giant-card.show,
.stat-item.show {
    opacity: 1;
    transform: translateY(0);
}
.main-header.scrolled {
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    background: rgba(248,249,251,0.96);
}
.hero-text-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s ease;
}

.hero-text-wrap.hero-show {
    opacity: 1;
    transform: translateY(0);
}
.giant-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.giant-card.reveal {
    opacity: 1;
    transform: translateY(0);
}
.stat-item {
    opacity: 1;
}

.stat-item.reveal {
    animation: statFade 0.6s ease forwards;
}

@keyframes statFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* SECURITY CARDS ANIMATION */
.giant-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.giant-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* SOLUTION SECTIONS */
.solution-section {
    padding: 120px 0;
    background: var(--mel-bg);
    border-top: 1px solid var(--mel-border);
    scroll-margin-top: 120px;
}

.solution-section:nth-child(even) {
    background: var(--mel-bg-soft);
}

.solution-header {
    text-align: center;
    margin-bottom: 80px;
}

.solution-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.solution-header p {
    font-size: 20px;
    color: var(--mel-muted);
    max-width: 700px;
    margin: 0 auto;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.solution-card {
    background: var(--mel-card);
    padding: 50px 35px;
    border-radius: 20px;
    border: 1px solid var(--mel-border);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.solution-card.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--mel-red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 90px rgba(230,57,70,0.2);
    border-color: var(--mel-red);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mel-red), #c1121f);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.solution-icon i {
    font-size: 36px;
    color: #fff;
}

.solution-card:hover .solution-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(230,57,70,0.4);
}

.solution-card h3 {
    font-size: 26px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.solution-card p {
    color: var(--mel-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-card ul li {
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.solution-card ul li i {
    color: var(--mel-red);
    font-size: 14px;
}

.solution-card:hover ul li {
    padding-left: 5px;
}

/* RIPPLE EFFECT */
.solution-card {
    position: relative;
    overflow: hidden;
}

.solution-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(230,57,70,0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 1100px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-header h2 {
        font-size: 36px;
    }
}

/* ABOUT SECTION */
.about-section {
    padding: 120px 0;
    background: var(--mel-bg);
    scroll-margin-top: 120px;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 20px;
    color: var(--mel-muted);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(0,0,0,0.15);
    border: 1px solid var(--mel-border);
    width: 100%;
    min-height: 320px;
}

.about-technician-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
}

.about-text-wrap {
    display: flex;
    flex-direction: column;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--mel-muted);
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--mel-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--mel-border);
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    border-color: var(--mel-red);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--mel-red), #c1121f);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-icon i {
    font-size: 32px;
    color: #fff;
}

.value-card:hover .value-icon {
    transform: rotate(10deg) scale(1.1);
}

.value-card h4 {
    font-size: 22px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--mel-muted);
}

/* PROJECTS SECTION */
.projects-section {
    padding: 120px 0;
    background: var(--mel-bg-soft);
    scroll-margin-top: 120px;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.projects-header p {
    font-size: 20px;
    color: var(--mel-muted);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--mel-card);
    border: 1px solid var(--mel-border);
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--mel-red);
    color: #fff;
    border-color: var(--mel-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230,57,70,0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 80px;
}

.project-card {
    background: var(--mel-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--mel-border);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974') center/cover;
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230,57,70,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.project-link {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 15px;
}

.project-info {
    padding: 30px;
}

.project-category {
    display: inline-block;
    background: rgba(230,57,70,0.1);
    color: var(--mel-red);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 24px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 15px;
    color: var(--mel-muted);
    line-height: 1.6;
}

.clients-logos {
    margin-top: 80px;
    text-align: center;
}

.clients-logos h3 {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 15px;
}

.partners-subtitle {
    font-size: 18px;
    color: var(--mel-muted);
    margin-bottom: 50px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    background: var(--mel-card);
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid var(--mel-border);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--mel-red);
}

.client-logo span {
    font-size: 14px;
    font-weight: 700;
    color: var(--mel-muted);
}

/* BLOG SECTION */
.blog-section {
    padding: 120px 0;
    background: var(--mel-bg);
    scroll-margin-top: 120px;
}

.blog-header {
    text-align: center;
    margin-bottom: 80px;
}

.blog-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 20px;
    color: var(--mel-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-loading,
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--mel-muted);
    font-size: 1.1rem;
}

/* Tek kart - Çözüm ortakları (resimli blog kartı görünümü) */
.blog-grid-single {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.partner-card-single.blog-card {
    cursor: pointer;
    max-width: 100%;
}

/* Görsel alanı - dikdörtgen kart, hafif uzun */
.partner-card-single .blog-image {
    height: 165px;
    overflow: hidden;
}

/* İçerik alanı - kompakt, dikdörtgen oran */
.partner-card-single .blog-content {
    padding: 24px 40px 32px;
    min-width: 0;
}

.partner-card-single .blog-content h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    margin-bottom: 18px;
    font-size: 22px;
}

/* Butonu link gibi göster */
.partner-card-single .btn-as-link {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

/* Modal içi: ortak listesi */
.detay-partner-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.detay-partner-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    background: var(--mel-input);
    border: 2px solid var(--mel-border);
    border-radius: 14px;
    font-family: var(--jakarta);
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.detay-partner-btn:hover {
    border-color: var(--mel-red);
    background: rgba(230,57,70,0.08);
    color: var(--mel-red);
    transform: translateY(-2px);
}

.detay-content-wrap {
    margin-top: 0;
}

.detay-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid var(--mel-border);
    border-radius: 10px;
    font-family: var(--jakarta);
    font-size: 14px;
    font-weight: 700;
    color: var(--mel-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detay-back-btn:hover {
    border-color: var(--mel-red);
    color: var(--mel-red);
}

.detay-content-inner {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    white-space: pre-wrap;
}

.blog-card {
    background: var(--mel-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--mel-border);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.15);
    border-color: var(--mel-red);
}

.blog-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?q=80&w=2070') center/cover;
    opacity: 0.4;
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--mel-red);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 10px 30px rgba(230,57,70,0.4);
}

.blog-date .day {
    display: block;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.9;
}

.blog-content {
    padding: 35px;
}

.blog-category {
    display: inline-block;
    background: rgba(230,57,70,0.1);
    color: var(--mel-red);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p,
.blog-excerpt {
    font-size: 15px;
    color: var(--mel-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--mel-red);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
}

/* RESPONSIVE */
/* HDD CALCULATOR SECTION */
.hdd-calculator-section {
    padding: 80px 0;
    background: var(--mel-bg-soft);
    scroll-margin-top: 120px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 15px;
}

.calculator-header p {
    font-size: 17px;
    color: var(--mel-muted);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calculator-form {
    background: var(--mel-card);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid var(--mel-border);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.form-group-calc {
    margin-bottom: 22px;
}

.form-group-calc label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-calc label i {
    color: var(--mel-red);
    font-size: 16px;
}

.form-group-calc input,
.form-group-calc select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mel-border);
    border-radius: 10px;
    background: var(--mel-input);
    font-family: var(--jakarta);
    font-size: 15px;
    line-height: 1.5;
    height: 48px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.form-group-calc select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group-calc input:focus,
.form-group-calc select:focus {
    outline: none;
    border-color: var(--mel-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

.quality-radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 18px;
    background: var(--mel-input);
    border: 2px solid var(--mel-border);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}

.radio-label:hover {
    border-color: var(--mel-red);
    background: rgba(230,57,70,0.05);
}

.radio-label input[type="radio"] {
    margin: 0;
    cursor: pointer;
    accent-color: var(--mel-red);
    width: 18px;
    height: 18px;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--mel-red);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--mel-red);
    background: rgba(230,57,70,0.1);
    color: var(--mel-red);
}

.btn-calculate {
    width: 100%;
    padding: 16px;
    background: var(--mel-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(230,57,70,0.35);
    margin-top: 8px;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(230,57,70,0.55);
}

.btn-calculate i {
    font-size: 18px;
}

.calculator-result {
    position: sticky;
    top: 140px;
}

.result-card {
    background: linear-gradient(135deg, var(--mel-red), #c1121f);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(230,57,70,0.3);
    text-align: center;
    color: #fff;
}

.result-icon {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.result-icon i {
    font-size: 32px;
    color: #fff;
}

.result-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #fff;
}

.result-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.result-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.result-unit {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.result-details {
    background: rgba(255,255,255,0.15);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.result-details p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    margin: 0;
}

.result-recommendation {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

@media (max-width: 1100px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        position: static;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-header h2,
    .projects-header h2,
    .blog-header h2,
    .calculator-header h2 {
        font-size: 36px;
    }
}

/* SEARCH MODAL */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 1;
}

.search-modal-content {
    background: var(--mel-card);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid var(--mel-border);
}

.search-header h3 {
    font-size: 28px;
    font-weight: 900;
    color: #111827;
}

.search-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--mel-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: var(--mel-input);
    color: var(--mel-red);
    transform: rotate(90deg);
}

.search-input-wrapper {
    position: relative;
    padding: 40px;
}

.search-input-wrapper i {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mel-muted);
    font-size: 20px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 20px 20px 20px 60px;
    font-size: 18px;
    border: 2px solid var(--mel-border);
    border-radius: 16px;
    background: var(--mel-input);
    font-family: var(--jakarta);
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--mel-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

.search-results {
    padding: 0 40px 40px;
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestions h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--mel-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.suggestion-tag {
    background: var(--mel-input);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.suggestion-tag:hover {
    background: var(--mel-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,57,70,0.3);
}

.search-result-item {
    padding: 20px;
    border-bottom: 1px solid var(--mel-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: var(--mel-input);
    padding-left: 30px;
}

.search-result-item h5 {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.search-result-item p {
    font-size: 14px;
    color: var(--mel-muted);
}

/* QUOTE MODAL */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 1;
}

.quote-modal-content {
    background: var(--mel-card);
    width: 90%;
    max-width: 700px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px) scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
    margin: auto;
}

.quote-modal.active .quote-modal-content {
    transform: translateY(0) scale(1);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 40px;
    border-bottom: 1px solid var(--mel-border);
    background: linear-gradient(135deg, rgba(230,57,70,0.05), transparent);
}

.quote-header h3 {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
}

.quote-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--mel-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.quote-close:hover {
    background: var(--mel-input);
    color: var(--mel-red);
    transform: rotate(90deg);
}

.quote-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--mel-border);
    border-radius: 12px;
    background: var(--mel-input);
    font-family: var(--jakarta);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mel-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

.form-row-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--mel-red);
}

.btn-submit {
    margin-top: 10px;
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 55px rgba(230,57,70,0.55);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* DETAYLI BİLGİ MODALI (Teknoloji Rehberi) */
.detay-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.detay-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
}

.detay-modal-content {
    background: var(--mel-card);
    width: 90%;
    max-width: 700px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px) scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
    margin: 20px auto 60px;
}

.detay-modal.active .detay-modal-content {
    transform: translateY(0) scale(1);
}

.detay-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid var(--mel-border);
    background: linear-gradient(135deg, rgba(230,57,70,0.08), transparent);
}

.detay-modal-header h3 {
    font-size: 26px;
    font-weight: 900;
    color: #111827;
    margin: 0;
}

.detay-modal-close {
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--mel-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detay-modal-close:hover {
    background: var(--mel-input);
    color: var(--mel-red);
    transform: rotate(90deg);
}

.detay-modal-body {
    padding: 32px;
    max-height: 65vh;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    white-space: pre-wrap;
}

.detay-modal-body .detay-loading {
    color: var(--mel-muted);
    margin: 0;
}

.detay-modal-body .detay-loading[hidden],
#detayPartnerList[hidden],
#detayContentWrap[hidden] {
    display: none !important;
}

/* MODAL RESPONSIVE */
@media (max-width: 768px) {
    .search-modal.active {
        padding-top: 50px;
    }
    
    .search-modal-content,
    .quote-modal-content,
    .detay-modal-content {
        width: 95%;
        border-radius: 20px;
    }
    
    .detay-modal-header,
    .detay-modal-body {
        padding: 20px 24px;
    }
    
    .detay-modal-body {
        max-height: 60vh;
    }
    
    .detay-partner-list {
        grid-template-columns: 1fr;
    }
    
    .blog-grid-single {
        max-width: 100%;
    }
    
    .partner-card-single .blog-image {
        height: 145px;
    }
    
    .partner-card-single .blog-content {
        padding: 20px 24px 28px;
    }
    
    .partner-card-single .blog-content h3 {
        font-size: 20px;
    }
    
    .search-header,
    .quote-header {
        padding: 25px 25px;
    }
    
    .search-input-wrapper,
    .quote-form {
        padding: 25px;
    }
    
    .form-row-modal {
        grid-template-columns: 1fr;
    }
    
    .quote-header h3 {
        font-size: 24px;
    }
}

/* GALERİ BÖLÜMLERİ */
.gallery-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--mel-bg) 0%, var(--mel-bg-soft) 100%);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--mel-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--mel-muted);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    background: var(--mel-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-info h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.video-item .gallery-item-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(230, 57, 70, 0.8) 100%);
}

.video-item .gallery-item-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-item .gallery-item-info h3 i {
    color: var(--mel-red);
}

/* GALERİ MODAL */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--mel-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-modal.show .gallery-modal-content {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: var(--transition);
}

.gallery-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-modal-close i {
    color: var(--mel-text);
    font-size: 16px;
}

.gallery-modal-body {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.gallery-modal-body img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.gallery-modal-body video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 80px);
    display: flex;
    justify-content: space-between;
    left: 40px;
    pointer-events: none;
    z-index: 2;
}

.gallery-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-nav-btn i {
    color: var(--mel-text);
    font-size: 16px;
}

.gallery-modal-info {
    padding: 20px;
    background: var(--mel-card);
    text-align: center;
}

.gallery-modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mel-text);
    margin-bottom: 10px;
}

.gallery-modal-info p {
    color: var(--mel-muted);
    font-size: 1rem;
}

/* GALERİ RESPONSIVE */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-section {
        padding: 80px 0;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .gallery-modal-nav {
        display: flex;
        width: calc(100% - 40px);
        left: 20px;
    }
    
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .gallery-nav-btn i {
        font-size: 14px;
    }
    
    .gallery-modal-info {
        padding: 15px;
    }
    
    .gallery-modal-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
}

/* HARİTALI İLETİŞİM BÖLÜMÜ */
.map-contact-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--mel-bg) 0%, var(--mel-bg-soft) 100%);
}

.contact-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-panel {
    background: var(--mel-card);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-header {
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mel-text);
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--mel-muted);
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--mel-bg-soft);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--mel-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mel-text);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--mel-muted);
    font-size: 1rem;
    margin: 0;
}

.contact-cta {
    margin-top: 20px;
}

.contact-cta .btn-glow {
    width: 100%;
    justify-content: center;
    padding: 15px 25px;
    font-size: 1rem;
}

.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mel-bg) 0%, var(--mel-bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-overlay {
    text-align: center;
    padding: 40px;
}

.map-icon {
    width: 80px;
    height: 80px;
    background: var(--mel-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.map-icon i {
    color: white;
    font-size: 36px;
}

.map-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mel-text);
    margin-bottom: 10px;
}

.map-overlay p {
    color: var(--mel-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

.btn-map {
    background: var(--mel-red);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-map:hover {
    background: #d62828;
    transform: translateY(-2px);
}

.interactive-map {
    width: 100%;
    height: 100%;
    display: none;
}

.interactive-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.interactive-map.active {
    display: block;
}

.map-placeholder.hidden {
    display: none;
}

/* KVKK MODAL STİLLERİ */
.kvkk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.kvkk-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kvkk-modal-content {
    background: var(--mel-card);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.kvkk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--mel-border);
    background: var(--mel-bg-soft);
    border-radius: 16px 16px 0 0;
}

.kvkk-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mel-text);
    margin: 0;
    line-height: 1.3;
}

.kvkk-close {
    background: var(--mel-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
}

.kvkk-close:hover {
    background: #d62828;
    transform: scale(1.1);
}

.kvkk-body {
    padding: 30px;
}

.kvkk-section {
    margin-bottom: 30px;
}

.kvkk-section:last-child {
    margin-bottom: 0;
}

.kvkk-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mel-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kvkk-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--mel-red);
    border-radius: 2px;
}

.kvkk-section p {
    color: var(--mel-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.kvkk-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.kvkk-section li {
    color: var(--mel-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.kvkk-section li::before {
    content: '•';
    color: var(--mel-red);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.kvkk-section strong {
    color: var(--mel-text);
    font-weight: 600;
}

/* HARİTA İLETİŞİM RESPONSIVE */
@media (max-width: 1024px) {
    .contact-map-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .map-contact-section {
        padding: 80px 0;
    }
    
    .contact-info-panel {
        padding: 30px 20px;
    }
    
    .contact-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-item {
        padding: 15px;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 16px;
    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-overlay {
        padding: 30px 20px;
    }
    
    .map-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }
    
    .map-icon i {
        font-size: 28px;
    }
    
    .map-overlay h3 {
        font-size: 1.3rem;
    }
    
    .map-overlay p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn-map {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   ARIZA KAYIT / DURUM TAKİP NAVİGASYON BUTONLARI
   (header'da TEKLİF ALIN butonunun soluna eklenir)
   ============================================ */
.ariza-nav-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 800;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border: 1.5px solid var(--mel-border);
    border-radius: 10px;
    background: rgba(244,245,247,0.6);
    display: inline-flex;
    flex-direction: row;      /* ikon + yazı KESİNLİKLE yan yana */
    flex-wrap: nowrap;        /* asla alt alta kayma */
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: var(--transition);
}
.ariza-nav-link i,
.ariza-nav-link .nav-text,
.ariza-nav-link::after {
    display: inline-block;
    flex: 0 0 auto;           /* çocuklar küçülmesin / sarılmasın */
    white-space: nowrap;
    line-height: 1;
}
.ariza-nav-link i { font-size: 12px; }
.ariza-nav-link .nav-text { display: inline-block; }
.ariza-nav-link:hover {
    border-color: var(--mel-red);
    color: var(--mel-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230,57,70,0.15);
}
.ariza-nav-link.active {
    border-color: var(--mel-red);
    color: var(--mel-red);
    background: rgba(230,57,70,0.06);
}

/* 769-1200px: header sağa taşmasın (menü + CTA kompakt) */
@media (min-width: 769px) and (max-width: 1200px) {
    .header-grid { gap: 10px; }
    .brand-logo { height: 70px; }
    .main-menu a { font-size: 9px; padding: 5px 6px; letter-spacing: 0.2px; }
    .main-menu li.disabled { display: none; }
    /* İkincil menü linklerini dar ekranda gizle (ana gezinme korunur) */
    .main-menu li:nth-child(5),
    .main-menu li:nth-child(6) { display: none; }
    .header-cta { gap: 12px; margin-right: 8px; }
    .ariza-nav-link { padding: 7px 9px; font-size: 9.5px; gap: 5px; }
    .btn-glow { padding: 9px 13px; font-size: 10.5px; }
}

/* ============================================
   HEADER BUTONLARI SIĞDIRMA
   (menü + ARIZA KAYIT + DURUM TAKİP + TEKLİF ALIN
   dar ekranlarda taşmasın diye kompakt boyutlar)
   ============================================ */
/* Orta genişlikteki masaüstü ekranlar (1201-1550px): her şey kompakt */
@media (min-width: 1201px) and (max-width: 1550px) {
    .header-grid { gap: 14px; }
    .main-menu { gap: 2px; }
    .main-menu a { font-size: 9.5px; padding: 5px 7px; letter-spacing: 0.2px; }
    .header-cta { gap: 14px; }
    .ariza-nav-link { padding: 7px 10px; gap: 5px; }
    .btn-glow { padding: 10px 14px; font-size: 11px; }
    /* Pasif (henüz aktif olmayan) REFERANSLAR linki dar ekranda gizli */
    .main-menu li.disabled { display: none; }
}

/* 1410px ve altı (yaygın dizüstü 1366/1400): ARIZA KAYIT -> ARIZA, DURUM TAKİP -> TAKİP */
@media (max-width: 1410px) {
    .ariza-nav-link .nav-text { display: none; }
    .ariza-nav-link::after { content: attr(data-short); }
}

/* Mobil: kısa etiketler / çok küçük ekranda ikon */
@media (max-width: 768px) {
    .ariza-nav-link {
        padding: 8px 11px;
        font-size: 10px;
        gap: 5px;
        border-width: 1.5px;
    }
}
@media (max-width: 420px) {
    .ariza-nav-link::after { content: none; }
    .ariza-nav-link { padding: 8px 11px; }
}

/* ============================================
   MOBİL HEADER DÜZENİ (root style.css ile aynı)
   ============================================ */
@media (max-width: 768px) {
    .main-header { height: 70px; }
    .header-grid {
        grid-template-columns: 1fr auto;
        gap: 15px;
        align-items: center;
    }
    .brand-logo { height: 45px; }
    .mega-nav { display: none; /* CTA'yı alta düşürmesin */ }
    .header-cta { margin-left: auto; gap: 12px; }
    .search-trigger { display: none; }
    .btn-glow { padding: 10px 16px; font-size: 11px; }
    .wide-container { width: 100%; padding: 0 15px; }
}
/* Yatay taşmayı engelle (root ile aynı) */
html, body { overflow-x: hidden; }
