/* GLOBAL DEĞİŞKENLER VE PREMIUM DARK SLATE TEMA TANIMLAMALARI */
:root {
    --bg-main: #0f172a;        /* Slate Ana Plan */
    --bg-surface: #1e293b;     /* Slate Kart / Yüzey Rengi */
    --accent-blue: #3b82f6;    /* Modern Parlak Mavi */
    --accent-blue-rgb: 59, 130, 246;
    --text-main: #ffffff;      /* Ana Metin Beyaz */
    --text-muted: #94a3b8;     /* Yumuşatılmış İkincil Metin */
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1200px;
}

/* SIFIRLAMA VE TEMEL AYARLAR */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-primary);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* ANLAMSAL TIPOGRAFI VE ELEMENTLER */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.green-btn {
    background-color: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}
.green-btn:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6) !important;
}

/* STICKY HEADER MİMARİSİ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 0;
    transition: padding 0.4s ease, background 0.4s ease;
}

/* Sayfa kaydırıldığında eklenecek daralma sınıfı */
.main-header.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.5); /* %50 Oranında transparanlaşma */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* SINGLE PAGE NAVIGATION / VIEWS MİMARİSİ */
.content-wrapper {
    margin-top: 85px; /* Header boşluğu */
}

.page-view {
    display: none;
    animation: fadeInView 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-view.active {
    display: block;
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* GLASSMORPHISM KART TASARIMI */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* DÜZEN YAPILARI (LAYOUT GRIDS) */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.small-container {
    max-width: 800px;
}

.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

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

.grid-layout-4 {
    display: grid;
    grid-template-columns: repeat(4, 1br);
    gap: 24px;
}

.grid-layout-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-layout-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* RE-GRID FOR FLEXIBLE WRAPPING WITHOUT FRAMEWORKS */
@media (max-width: 1024px) {
    .grid-layout-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-layout-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-layout-4, .grid-layout-3, .grid-layout-2 { grid-template-columns: 1fr; }
}

/* FULL GENİŞLİK SLIDER MIMARISI */
.slider-container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 85px);
    min-height: 500px;
    overflow: hidden;
    background-color: #0b0f19;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 24px;
    background-size: cover;
    background-position: center;
}

.slide-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.4), #0f172a);
}

.slide-body {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.slide-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slide-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-blue);
    width: 28px;
    border-radius: 5px;
}

/* INTRO VE ÖZET ALANLARI */
.home-intro-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid var(--glass-border);
}

.sub-intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.intro-paragraph {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.summary-card-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.summary-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.summary-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* AKICI 10'LU CAROUSEL MİMARİSİ (EKRANDA 6 BLOK GÖRÜNEN YAPIDA) */
.home-carousel-section {
    padding: 60px 0;
    background: #0b0f19;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    width: calc((100vw - 140px) / 6);
    min-width: 220px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.carousel-item h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
}

.carousel-metric {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* DETAYLI HİZMET PAKETLERİ (HİZMETLERİMİZ SAYFASI) */
.service-full-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-header-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-header-inline i {
    font-size: 2.2rem;
    color: var(--accent-blue);
}

.service-features-list {
    margin: 24px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.service-features-list i {
    color: #10b981;
    font-size: 0.85rem;
}

/* SSS AKORDEON YAPISI */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-trigger:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.2);
    border: 1px solid transparent;
    border-top: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 300px; /* Yaklaşık güvenli yükseklik */
    padding: 20px 24px;
    border-color: var(--glass-border);
}

/* HAKKIMIZDA DETAYLI GÖRÜNÜM */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

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

.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.metric-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.metric-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-visual .decorative-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
}

.visual-big-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .about-grid-layout { grid-template-columns: 1fr; }
}

/* BLOG LİSTELEME VE DETAY YAPISI */
.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-readmore {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.blog-readmore:hover i {
    transform: translateX(4px);
}

.blog-readmore i {
    transition: transform 0.2s ease;
}

/* Blog okuma alanı */
.hidden { display: none !important; }

.blog-detail-card {
    margin-top: 40px;
    padding: 48px;
}

.close-action-btn {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 24px;
}

.blog-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-full-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.8;
    margin-top: 24px;
}

.blog-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.nav-btn {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* TASARIM HARİKASI GALERİ SAYFASI BLOKLARI */
.gallery-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item-block {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--glass-border);
}

.gallery-item-block svg, .gallery-item-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay-meta {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-block:hover svg, .gallery-item-block:hover img {
    transform: scale(1.08);
}

.gallery-item-block:hover .gallery-overlay-meta {
    opacity: 1;
}

.gallery-badge {
    align-self: flex-start;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-blue);
    border-radius: 4px;
    margin-bottom: 8px;
}

.gallery-overlay-meta h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .gallery-grid-layout { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid-layout { grid-template-columns: 1fr; }
}

/* DİNAMİK POPUP MODAL (POPUP GÖRÜNÜMÜ) */
.popup-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.popup-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.popup-modal-box {
    max-width: 750px;
    width: 100%;
    position: relative;
    padding: 24px;
}

.popup-close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.popup-media-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.popup-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* İLETİŞİM ALANI */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.highlight-card {
    border-color: rgba(16, 185, 129, 0.3) !important;
}
.highlight-card .contact-icon-wrapper {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-card h3 {
    margin-bottom: 8px;
}

.muted-text { color: var(--text-muted); }
.contact-phone-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 10px;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* MODÜLER FOOTER YAPISI */
.main-footer {
    background: #090d16;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 120px 0; /* Alt sabit butonlar için ekstra alt dolgu */
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-block h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.copyright-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.2);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-container { grid-template-columns: 1fr; }
}

/* SABİT AKSİYON BUTONLARI MIMARISI */
.fixed-action-buttons {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 1500;
    width: calc(100% - 48px);
    max-width: 500px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-btn {
    background: linear-gradient(135deg, #1e3a8a, var(--accent-blue));
    border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #064e3b, #10b981);
    border: 1px solid rgba(255,255,255,0.1);
}

.action-btn:hover {
    transform: scale(1.04);
}

.action-btn i {
    font-size: 1.2rem;
}

/* MOBİL MENÜ TETİKLEME DURUMLARI */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.4s ease;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: #ffffff;
    }
    
    .slide-title { font-size: 2.2rem; }
    .slide-subtitle { font-size: 1rem; }
}

.menu-toggle { display: none; }