:root {
    --bg-color: #f7f9fa;
    /* Very light gray/white */
    --text-color: #1a1a1a;
    --text-muted: #6b7280;
    --brand-red: #ff3b30;
    --nav-text: #4b5563;
    --nav-hover: #111827;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- DARK THEME --- */
body.dark-theme {
    --bg-color: #0b0c10;
    /* Premium koyu arka plan */
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --nav-text: #d1d5db;
    --nav-hover: #ffffff;
}

body.dark-theme .hero-content::before {
    background: radial-gradient(ellipse at center, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0) 70%);
}

body.dark-theme .bottom-section {
    background: linear-gradient(to top, rgba(11, 12, 16, 1) 0%, rgba(11, 12, 16, 0) 100%);
}


body.dark-theme .icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

body.dark-theme .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-theme .search-modal-content,
body.dark-theme .dropdown {
    background: rgba(11, 12, 16, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

body.dark-theme .main-nav {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

body.dark-theme .header.scrolled .main-nav {
    background: rgba(11, 12, 16, 0.95);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .search-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

body.dark-theme .search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 59, 48, 0.5);
}

body.dark-theme .suggestion-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

body.dark-theme .suggestion-tag:hover {
    background: var(--brand-red);
    color: white;
}

body.dark-theme .dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    cursor: none !important;
    /* Gerçek imleci gizle */
}

a,
button,
input,
.logo,
.suggestion-tag {
    cursor: none !important;
    /* Linklerde, butonlarda ve inputlarda gerçek imleci gizle */
}

/* Custom Cursor (Dot) */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--brand-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    /* Modal'ın (9999) üstünde kalması için çok yüksek bir değer */
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border 0.2s ease;
}

#custom-cursor .cursor-text {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-block;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

/* Particles Background */
#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}


.logo {
    font-size: 2rem;
    /* Başlangıçta daha büyük */
    letter-spacing: -1.5px;
    /* Harfler arasını daralttık (resimdeki ağır/sıkı logo görünümü) */
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: font-size 0.3s ease;
}

.logo-thin {
    font-weight: 900;
    /* Extra Bold / Black */
}

.logo-bold {
    font-weight: 900;
    /* Extra Bold / Black */
    color: var(--brand-red);
    font-size: 2.3rem;
    /* Nokta boyutu orantılandı (eskiden çok büyüktü) */
    line-height: 0;
    margin-left: 2px;
    /* C harfiyle arasında ideal bir mesafe bıraktık */
    transition: font-size 0.3s ease;
}

/* Scroll edildiğinde logo küçülmez */
.header.scrolled .logo {
    font-size: 2rem;
}

.header.scrolled .logo-bold {
    font-size: 2.3rem;
}

.main-nav {
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.header.scrolled .main-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-nav>ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0.4rem 0.5rem;
    gap: 0.25rem;
    position: relative;
}

.main-nav>ul>li>a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li>a.active {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.25);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.75);
    /* Daha saydam, bluru daha iyi göstermesi için */
    backdrop-filter: blur(8px);
    /* Çok güçlü blur */
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1), 0 1px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    /* Çok daha oval (hap şeklinde/pill design) */
    padding: 1rem 0.5rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    list-style: none;
    /* Noktaları gizle */
    margin: 0;
}

.dropdown.mega {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 420px;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
}

/* Dil seçimi dropdown'u sadece genişliğini ayarlıyoruz, merkezleme .dropdown'dan miras alınıyor */
.lang-dropdown {
    min-width: 150px;
}

/* Hover boşluğunu dolduran görünmez köprü */
.dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    width: 100%;
    color: var(--nav-text);
    border-radius: 50px;
    /* Köşeler artık tamamen oval (pill-shape) */
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    /* İkon ile metin arasına estetik bir boşluk eklendi */
    transition: all 0.2s ease;
    white-space: nowrap;
    /* Metnin alt satıra kaymasını engeller */
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Not active due to cursor:none on body, but keeps semantics */
    transition: var(--transition);
    color: var(--text-color);
}

.icon-btn i {
    font-size: 1.2rem;
}

.icon-btn:hover {
    background: white;
    color: var(--brand-red);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.theme-btn {
    background: #1a1a1a;
    color: white;
}

.theme-btn:hover {
    background: #333;
    color: white;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
    /* To contain the glowing orbs */
}

/* Modern Glowing Background Orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.hero::before {
    background: radial-gradient(circle, rgba(255, 59, 48, 0.2) 0%, rgba(255, 59, 48, 0) 70%);
    top: -10%;
    left: -15%;
}

.hero::after {
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0) 70%);
    bottom: -10%;
    right: -15%;
    animation-delay: -6s;
    animation-direction: alternate-reverse;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -60px) scale(1.1);
    }
}

.hero-content {
    max-width: 1300px;
    position: relative;
}

/* Noktaların (partiküllerin) yazıların altına girip okunabilirliği bozmasını engellemek için yumuşak beyaz bir maske */
.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1.1;
    /* Tweak line height for the multiline title */
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.typewriter-text {
    color: var(--brand-red);
    border-right: 5px solid var(--brand-red);
    padding-right: 5px;
    animation: blinkCursor 0.8s infinite;
    white-space: nowrap;
}

@keyframes blinkCursor {

    0%,
    100% {
        border-right-color: var(--brand-red);
    }

    50% {
        border-right-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

#dynamic-subtitle {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

#dynamic-subtitle.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

/* Bottom Section */
.bottom-section {
    position: relative;
    z-index: 10;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    background: linear-gradient(to top, rgba(247, 249, 250, 1) 0%, rgba(247, 249, 250, 0) 100%);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-right: 3rem;
    min-width: 100px;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

.tech-slider {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.tech-slider-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: scroll 70s linear infinite;
    /* 30s'den 70s'ye çıkarılarak yavaşlatıldı */
}

.tech-slider-track:hover {
    animation-play-state: paused;
}

.tech-slider-track.reverse {
    animation: scroll-reverse 70s linear infinite;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.mobile-slider {
    display: none;
}

.tech-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a0aec0;
    opacity: 0.7;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* Link oldukları için altı çizili olmasını engeller */
}

.tech-item i {
    font-size: 1.5rem;
}

.tech-item:hover {
    opacity: 1;
    color: var(--text-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }

    /* Shift by half since items are duplicated */
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.main-fab {
    background: #1a1a1a;
    color: white;
}

.main-fab:hover {
    transform: scale(1.05);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.fab-container:hover .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-fab {
    width: 48px;
    height: 48px;
    background: white;
    color: #1a1a1a;
    font-size: 1.25rem;
}

.sub-fab:hover {
    background: #f3f4f6;
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    /* Ekranın tamamını kaplayan blur veya renk kaldırıldı */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Tam ortaya hizalamak için flex-start yerine center yapıldı */
    visibility: hidden;
}

.search-modal.active {
    visibility: visible;
}

.search-modal-content {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px);
    /* Blur sadece modal kutusuna eklendi */
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    /* Havada durma hissini artırdık */
    border-radius: 32px;
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.4);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    will-change: transform, opacity;
}

.search-modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.search-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    /* 'all' yerine spesifik özellikler (visibility gecikmesini önler) */
    color: var(--text-color);
}

@media (max-width: 768px) {
    .search-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    .search-input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 1rem;
    }
    .search-close-btn {
        top: 1rem;
        right: 1rem;
        width: 30px;
        height: 30px;
    }
}

.search-close-btn:hover {
    background: var(--brand-red);
    color: white;
}

.search-form-modal {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.search-form-modal .search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 1.2rem 1.5rem 1.2rem 4rem;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    /* Sadece renkleri ve gölgeyi anime et */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.search-input:focus {
    background: #fff;
    border-color: rgba(255, 59, 48, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}

.search-suggestions h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.search-suggestions .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.suggestion-tag {
    background: rgba(0, 0, 0, 0.04);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    /* Sadece renkleri anime et */
}

.suggestion-tag:hover {
    background: var(--brand-red);
    color: white;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */

/* Masaüstü varsayılan: Mobil öğeleri gizle */
.mobile-actions,
.hamburger-btn,
.mobile-only-theme,
.mobile-menu-close {
    display: none !important;
}

@media (max-width: 992px) {

    /* Dokunmatik ekranda özel imleci iptal et */
    #custom-cursor {
        display: none !important;
    }

    body,
    a,
    button,
    input,
    .logo,
    .suggestion-tag {
        cursor: auto !important;
    }

    /* Header Öğeleri (Arama, Dil, Hamburger Sıralaması) */
    .hamburger-btn {
        display: flex !important;
        order: 3;
    }

    .header-actions .search-btn {
        order: 1;
    }

    .header-actions .has-dropdown {
        order: 2;
    }

    /* Üst barda temayı gizle, menüde göster */
    .header-actions>.theme-btn {
        display: none !important;
    }

    .mobile-only-theme {
        display: block !important;
    }

    .header-actions {
        gap: 0.5rem;
        /* Mobilde sıkışmaması için boşluğu daralttık */
    }

    .header-actions .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        /* İkonların mobilde daha kibar durması için */
    }

    .header {
        padding: 1rem 1rem;
    }

    .header.scrolled {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.6rem;
        letter-spacing: -1px;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        /* Header'ın hemen altına hizala */
        left: 5%;
        width: 90%;
        max-height: calc(100vh - 100px);
        background: rgba(255, 255, 255, 0.50);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
        border-radius: 32px;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 4rem 1rem 2rem 1rem;
        /* Üstten boşluğu artırdık ki butonla çakışmasın */

        /* Modal açılış animasyonu (sünerek büyüme) */
        transform: scale(0.4);
        transform-origin: top right;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
        display: flex;
    }

    body.dark-theme .main-nav {
        position: fixed;
        top: 80px;
        left: 5%;
        width: 90%;
        max-height: calc(100vh - 100px);
        background: rgb(0 0 0 / 50%);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        /* border: 1px solid rgba(255, 255, 255, 0.8); */
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
        border-radius: 32px;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 4rem 1rem 2rem 1rem;
        transform: scale(0.4);
        transform-origin: top right;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
        display: flex;
    }

    body.menu-open .main-nav,
    body.dark-theme.menu-open .main-nav {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
    }


    /* Menü İçi Kapatma Butonu (X) */
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        display: flex !important;
        /* Mobilde mutlaka görünsün */
        width: 35px;
        height: 35px;
        z-index: 10;
        /* Menünün üstünde kalmasını garantile */
    }

    body.menu-open {
        overflow: hidden;
        /* Arkadaki sayfanın kaymasını engelle */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    .main-nav ul li a {
        font-size: 1.6rem;
    }

    /* Mobil Menü Alt Bağlantıları (Accordion) */
    .main-nav>ul>li>.dropdown {
        position: static;
        transform: none !important;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        min-width: 100%;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        /* JS ile açılacak */
        margin-top: 1rem;
        align-items: center;
    }

    .main-nav>ul>li.open>.dropdown {
        display: flex;
    }

    .dropdown a {
        font-size: 1.1rem !important;
        justify-content: center;
        opacity: 0.8;
    }

    .dropdown::before {
        display: none;
    }

    /* Alt butonlar HTML'den kaldırıldığı için CSS siliyoruz */

    /* Hero Yazıları */
    .hero-title {
        font-size: 2.5rem;
        /* Ekrana sığması için 4rem'den 2.5rem'e düşürüldü */
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        /* Mobilde de boyutu sabit kalsın istendiği için 1.2rem yapıldı */
        padding: 0 1rem;
    }

    /* Ticker */
    .tech-item {
        font-size: 1.1rem;
        /* Metin boyutunu biraz büyüttük */
        padding: 0.8rem 1rem;
    }

    .tech-item i {
        font-size: 1.8rem;
        /* İkonları belirgin şekilde büyüttük */
    }

    .scroll-indicator {
        display: none !important;
    }

    .bottom-section {
        padding: 0 0 1rem 0 !important;
        /* Sadece alttan boşluk bıraktık */
    }

    /* Slider'ı Mobilde İki Satır Yap */
    .desktop-slider {
        display: none !important;
    }

    .mobile-slider {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        /* İki satır arasındaki boşluğu kaldırdık */
        width: 100%;
    }

    .tech-slider-track {
        gap: 2rem;
    }
}

/* --- SUBPAGE STYLES --- */
.subpage-hero {
    height: 40vh;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.subpage-hero .hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.subpage-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content Base */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-visual {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .content-visual {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.content-visual i {
    font-size: 10rem;
    color: var(--brand-red);
    opacity: 0.8;
}

/* --- REFERENCE GALLERY --- */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.reference-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.reference-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reference-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.reference-card:hover img {
    transform: scale(1.1);
}

.reference-card:hover .reference-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ref-company {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ref-job {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* --- FOOTER --- */
.footer {
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 2rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

body.dark-theme .footer {
    background: rgba(11, 12, 16, 0.5);
    border-top-color: rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo .logo {
    font-size: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

body.dark-theme .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
}

/* Subpage Mobile Adjustments */
@media (max-width: 992px) {
    .subpage-hero {
        height: auto;
        padding: 6rem 1rem 3rem 1rem;
    }

    .subpage-hero .hero-title {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-visual {
        padding: 2rem;
    }

    .content-visual i {
        font-size: 6rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Index Full Screen Layout Fix */
.index-full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .index-full-screen {
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden; /* Tam ekran kalmasını zorla, aşağı kaymayı engelle */
    }
    .hero {
        padding-top: 80px; /* Header yüksekliği kadar boşluk bırak */
    }
}

/* --- MEGA FOOTER (INDEX ONLY) --- */
.mega-footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

body.dark-theme .mega-footer {
    background: rgba(11, 12, 16, 0.5);
    border-top-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.mega-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mega-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col .logo {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

body.dark-theme .social-links a {
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-3px);
}

.col-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--brand-red);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-info li i {
    font-size: 1.5rem;
    color: var(--brand-red);
    margin-top: 0.2rem;
}

.newsletter {
    margin-top: 2rem;
}

.newsletter p {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-input {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
}

body.dark-theme .newsletter-input {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.newsletter-input input {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    width: 100%;
    outline: none;
}

.newsletter-input button {
    background: var(--brand-red);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-input button:hover {
    transform: scale(1.05);
}

.mega-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

body.dark-theme .mega-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.bottom-links {
    display: flex;
    gap: 2rem;
}

.bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--text-color);
}

/* Mega Footer Responsive */
@media (max-width: 992px) {
    .mega-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mega-footer {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

    .mega-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mega-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .bottom-links {
        justify-content: center;
    }
}

/* --- CONTACT PAGE --- */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item:last-child {
    border-bottom: none;
}

body.dark-theme .contact-info-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.contact-info-item .card-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-info-item:hover .card-icon {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.3);
}

.contact-info-item-content {
    display: flex;
    flex-direction: column;
}

.contact-info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-muted);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contact-info-item a:hover {
    color: var(--brand-red);
}

.contact-form-wrapper {
    /* Minimal layout, no card styling */
}

body.dark-theme .contact-form-wrapper {
    /* Minimal layout, no card styling */
}

.contact-form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-form-header p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.voc-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.voc-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.voc-contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.voc-contact-form input,
.voc-contact-form select,
.voc-contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-family: inherit;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(2px);
}

body.dark-theme .voc-contact-form input,
body.dark-theme .voc-contact-form select,
body.dark-theme .voc-contact-form textarea {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.voc-contact-form input:focus,
.voc-contact-form select:focus,
.voc-contact-form textarea:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
    background: rgba(255, 255, 255, 0.5);
}

body.dark-theme .voc-contact-form input:focus,
body.dark-theme .voc-contact-form select:focus,
body.dark-theme .voc-contact-form textarea:focus {
    background: rgba(11, 12, 16, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.2);
}

.voc-contact-form select option {
    background: var(--bg-color);
    color: var(--text-color);
}

.submit-btn {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 59, 48, 0.4);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .voc-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 0;
    }
}

/* --- STORE PAGE --- */
.store-section {
    max-width: 1300px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.store-product-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

body.dark-theme .store-product-card {
    background: rgba(11, 12, 16, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-red);
}

body.dark-theme .store-product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--brand-red);
}

.product-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.store-product-card:hover .product-icon-wrapper {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2);
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-short-desc {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-top: auto;
}

.product-view-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-theme .product-view-btn {
    background: rgba(255, 255, 255, 0.05);
}

.store-product-card:hover .product-view-btn {
    background: var(--brand-red);
    color: white;
    transform: rotate(45deg);
}

/* Product Modal Styles */
.product-modal-content {
    max-width: 500px;
    padding: 3rem;
    text-align: center;
}

.product-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-product-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#modalProductTitle {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

#modalProductPrice {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

body.dark-theme #modalProductPrice {
    background: rgba(255, 255, 255, 0.05);
}

#modalProductDesc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.product-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.product-modal-actions .primary-btn {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2);
}

.product-modal-actions .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.3);
}

.product-modal-actions .secondary-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-theme .product-modal-actions .secondary-btn {
    background: rgba(255, 255, 255, 0.05);
}

.product-modal-actions .secondary-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.dark-theme .product-modal-actions .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- SERVICE PAGE (Web Geliştirme vs) --- */
.service-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 4rem 2rem;
    position: relative;
    z-index: 2;
}

.service-hero-content {
    max-width: 800px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.2);
}

.service-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-details-section {
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.service-feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-feature-row.reversed {
    flex-direction: row-reverse;
}

.service-feature-text {
    flex: 1;
}

.service-feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-check-list {
    list-style: none;
    padding: 0;
}

.service-check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-check-list li i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.service-feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

body.dark-theme .visual-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.1);
}

.visual-placeholder i {
    position: relative;
    z-index: 1;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.service-tech-stack {
    text-align: center;
    margin-top: 6rem;
    padding-top: 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .service-tech-stack {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.tech-stack-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.service-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.02);
    padding: 2rem;
    border-radius: 24px;
    min-width: 150px;
    transition: all 0.3s ease;
}

body.dark-theme .service-tech-item {
    background: rgba(255, 255, 255, 0.02);
}

.service-tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 59, 48, 0.05);
}

body.dark-theme .service-tech-item:hover {
    background: rgba(255, 59, 48, 0.1);
}

.service-tech-item i {
    font-size: 3rem;
    color: var(--brand-red);
}

.service-tech-item span {
    font-weight: 600;
    color: var(--text-color);
}

.service-cta {
    text-align: center;
    margin-top: 6rem;
    background: rgba(255, 59, 48, 0.05);
    padding: 4rem 2rem;
    border-radius: 32px;
}

.service-cta h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-cta .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-red);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2);
    transition: all 0.3s ease;
}

.service-cta .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.3);
}

@media (max-width: 992px) {

    .service-feature-row,
    .service-feature-row.reversed {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .service-check-list li {
        justify-content: center;
    }
}
/* ==========================================================================
   PORTFOLIO & REFERENCES
   ========================================================================== */

.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    white-space: nowrap;
    position: relative;
}

.logo-marquee-container::before,
.logo-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.logo-marquee {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marqueeScroll 20s linear infinite;
    padding-left: 4rem;
}

.logo-marquee i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.logo-marquee i:hover {
    color: var(--brand-red);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.portfolio-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    color: var(--brand-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(20,20,20,1) 100%);
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.testimonial-quote {
    color: var(--brand-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--brand-red);
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   3D GLOBE STYLES
   ========================================================================== */
.portfolio-card-3d {
    width: 320px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.portfolio-card-3d .card-inner {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,255,255,0.1), inset 0 0 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card-3d:hover .card-inner {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4), inset 0 0 20px rgba(0,0,0,0.8);
    border-color: rgba(220, 38, 38, 0.5);
}

.portfolio-card-3d.fullscreen-active .card-inner {
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.6);
    border-color: rgba(220, 38, 38, 0.8);
}

.portfolio-card-3d .portfolio-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card-3d .portfolio-content {
    padding: 1.5rem;
}

.portfolio-card-3d .portfolio-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(220, 38, 38, 0.2);
    color: var(--brand-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.portfolio-card-3d .portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-card-3d .portfolio-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.portfolio-card-3d .card-inner.empty {
    border: 1px dashed rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
}

/* ==========================================================================
   BENTO BOX PORTFOLIO STYLES
   ========================================================================== */
.bento-portfolio-section {
    padding: 5rem 2rem;
    background: var(--bg-color);
}

.bento-container {
    max-width: 1300px;
    margin: 0 auto;
}

.bento-header {
    margin-bottom: 3rem;
}

.bento-header h2 {
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.bento-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    grid-template-areas:
        "item1 item2 item2 item3"
        "item4 item2 item2 item3"
        "item4 item5 item6 item6";
}

.bento-item-1 { grid-area: item1; }
.bento-item-2 { grid-area: item2; }
.bento-item-3 { grid-area: item3; }
.bento-item-4 { grid-area: item4; }
.bento-item-5 { grid-area: item5; }
.bento-item-6 { grid-area: item6; }

/* Card Styling */
.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

/* Content Hidden By Default, Slid Down */
.bento-content {
    position: absolute;
    bottom: -60px; /* Hide desc and btn initially */
    left: 0;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: bottom 0.4s ease;
}

.bento-tag {
    align-self: flex-start;
    padding: 0.3rem 1rem;
    background: rgba(220, 38, 38, 0.2);
    color: var(--brand-red);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(5px);
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.bento-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-btn {
    align-self: flex-start;
    margin-top: 1.2rem;
    padding: 0.6rem 1.5rem;
    background: var(--brand-red);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

/* HOVER STATES */
.bento-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
    transform: translateY(-5px);
}

.bento-card:hover .bento-img {
    transform: scale(1.1);
}

.bento-card:hover .bento-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(220, 38, 38, 0.3) 100%);
}

.bento-card:hover .bento-content {
    bottom: 0;
}

.bento-card:hover .bento-desc,
.bento-card:hover .bento-btn {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "item2 item2"
            "item2 item2"
            "item1 item3"
            "item4 item3"
            "item4 item5"
            "item6 item6";
        grid-auto-rows: 300px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "item2"
            "item1"
            "item3"
            "item4"
            "item5"
            "item6";
        grid-auto-rows: 350px;
    }
    .bento-header h2 {
        font-size: 2rem;
    }
}

/* Giant Tech Slider specific for Referanslarimiz */
.giant-tech-slider .tech-item {
    font-size: 2rem !important;
    gap: 1.5rem !important;
    padding: 1rem 3rem !important;
}

.giant-tech-slider .tech-item i {
    font-size: 3.5rem !important;
}

/* Adjust animation to be smooth with larger sizes */
@media (max-width: 768px) {
    .giant-tech-slider .tech-item {
        font-size: 1.5rem !important;
        padding: 0.8rem 2rem !important;
    }
    .giant-tech-slider .tech-item i {
        font-size: 2.5rem !important;
    }
}

/* ==========================================================================
   PAGE TRANSITION LOADER
   ========================================================================== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

.page-transition.loaded {
    opacity: 0;
    visibility: hidden;
}

.transition-logo {
    font-size: 4rem;
    animation: transitionPulse 1s infinite alternate ease-in-out;
}

@keyframes transitionPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 1; text-shadow: 0 0 20px rgba(220,38,38,0.5); }
}

/* Force WordPress Theme Containers to be transparent for Dark Theme and Particles */
#page, .site, #content, .site-content, #primary, .site-main, .container, .content-area { background: transparent !important; }


/* Force Body Colors */
body { background-color: var(--bg-color) !important; color: var(--text-color) !important; }


/* HOME PAGE ELEMENTOR FIX */
body.home .entry-header { display: none !important; }
body.home .site-content, body.home .site-main, body.home .container, body.home .content-area, body.home .post-content, body.home .entry-content { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }

