/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.splash-active {
    overflow: hidden;
}

/* Splash Screen - beyaz arka plan, Sembol üstte yavaş belirir, Yazı ortada gecikmeyle */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-color: var(--bg-white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    visibility: visible;
    opacity: 1;
    overflow: hidden;
}

.splash-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.splash-screen.fade-out {
    background-color: transparent;
    transition: background-color 0.8s ease, opacity 0.7s ease, visibility 0.7s ease;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 10001;
}

/* Sembol - üstte, yavaş yavaş belirir */
.splash-sembol {
    width: 120px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.4s ease-out;
}

.splash-sembol.visible {
    opacity: 1;
}

/* Yazı - ortada, gecikmeyle belirir */
.splash-yazi {
    width: 220px;
    max-width: 85vw;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.9s ease-out;
}

.splash-yazi.visible {
    opacity: 1;
}


/* Ana sayfa tanıtım videosu - footer üstü, ortada, tıklanınca oynar */
.home-video-section {
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
}

.home-video-wrap {
    position: relative;
    max-width: 900px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.home-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2;
}

.home-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    color: var(--primary-color, #c41e3a);
}

.home-video-play-btn.playing {
    opacity: 0;
    pointer-events: none;
}

/* Arsa başvurusu bar - footer üstü, koyu gri arka plan, beyaz yazı */
.top-bar {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer üstündeki arsa bar - statik, sayfa akışında */
.top-bar.top-bar-footer {
    position: static;
    width: 100%;
    min-height: var(--topbar-height);
    padding: var(--spacing-md) var(--spacing-lg);
}

.top-bar.top-bar-footer.show {
    opacity: 1;
    visibility: visible;
}

.top-bar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.top-bar-text {
    color: #fff;
    font-size: var(--font-size-base);
    font-weight: 500;
    margin: 0;
}

.top-bar-btn {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.7s ease-in-out, color 0.7s ease-in-out, transform 0.7s ease-in-out, border-color 0.7s ease-in-out;
}

.top-bar-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: scale(1.03) translateY(-2px);
}

/* Navbar - hero üzerinde sabit; üstte beyaz, scroll'da saydam */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: var(--z-navbar);
    transition: opacity 0.5s ease 0.3s, visibility 0.5s ease 0.3s, background-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    opacity: 0;
    visibility: hidden;
}

.navbar.show {
    opacity: 1;
    visibility: visible;
}

.navbar.show:not(.navbar-scrolled) {
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar.show.navbar-scrolled {
    background-color: transparent;
    box-shadow: none;
}

/* Kurumsal, Projelerimiz, İletişim sayfalarında navbar öğeleri beyaz (ana sayfa ile aynı) */

.navbar-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: transform var(--transition-base);
    height: 100%;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 70px;
    height: 70px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: width 0.6s ease, height 0.6s ease;
    border: none;
    opacity: 0;
}

.logo-icon.show {
    opacity: 1;
    transition: opacity 0.5s ease 0.3s;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    height: 100%;
}

.navbar-buttons-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.navbar-menu-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #000;
    transition: color 0.5s ease, background-color 0.5s ease, transform 0.5s ease;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-menu-btn:hover {
    color: #fff;
    background-color: #000;
    transform: translateY(-2px);
}

.navbar-menu-btn:hover .menu-icon span {
    background-color: #fff;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 20px;
    height: auto;
    align-items: center;
    justify-content: center;
}

.menu-icon span {
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: background-color 0.5s ease;
    display: block;
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
}

.navbar-menu-btn.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-menu-btn.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-lang-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    background-color: transparent;
    color: #000;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.5s ease, background-color 0.5s ease, transform 0.5s ease;
    border-radius: 0;
    white-space: nowrap;
    position: relative;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-lang-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.navbar-lang-btn:hover::after {
    transform: scaleX(1);
}

.navbar-lang-btn .lang-text {
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.navbar-lang-btn .lang-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.navbar-lang-btn .lang-text.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-lang-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #000;
}

.navbar-lang-btn:hover {
    color: #fff;
    background-color: #000;
    transform: translateY(-2px);
}

.navbar-lang-btn:hover svg {
    color: #fff;
}

.navbar-call-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    background-color: transparent;
    color: #000;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.5s ease, background-color 0.5s ease, transform 0.5s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-call-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.navbar-call-btn:hover::after {
    transform: scaleX(1);
}

.navbar-call-btn:hover {
    color: #fff;
    background-color: #000;
    transform: translateY(-2px);
}

/* Yarım ekran menü - kapalıyken şeffaf navbar, açıkken sağdan siyah panel */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active .menu-backdrop {
    opacity: 1;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85%, 400px);
    max-width: 400px;
    height: 100%;
    height: 100dvh;
    background: #000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu-overlay.active .menu-panel {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.menu-brand-subtitle {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 2px 0 0 0;
    letter-spacing: 2px;
}

.menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: opacity var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.menu-close:hover {
    opacity: 0.8;
}

.close-icon {
    display: block;
    font-weight: 300;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    padding: var(--spacing-xl);
    gap: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.menu-item {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--bg-white);
    text-decoration: none;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.4s ease, padding-left 0.4s ease, letter-spacing 0.4s ease, transform 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover::before {
    width: 40px;
}

.menu-item:last-of-type {
    border-bottom: none;
}

.menu-item:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-md);
    letter-spacing: 1px;
}

.menu-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.menu-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Intro Section */
.intro-section {
    background-color: #f3f4f6;
    padding: var(--spacing-2xl) 0;
    position: relative;
    margin-top: 1px;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 1;
}

/* Hide project image on mobile/tablet */
.intro-project-image {
    display: none;
}

/* Intro with Project Overlay - Desktop Only */
@media (min-width: 1025px) {
    .intro-section.intro-with-project {
        padding: 0;
        background-color: transparent;
        position: relative;
        overflow: hidden;
    }
    
    .intro-project-overlay {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 600px;
    }
    
    .intro-project-image {
        display: block;
        position: absolute;
        top: -120px;
        right: 0;
        width: 65%;
        height: calc(100% + 200px);
        overflow: hidden;
        z-index: 1;
    }
    
    .intro-project-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }
    
    .intro-section.intro-with-project .intro-container {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
    
    .intro-section.intro-with-project .intro-content {
        max-width: 500px;
        padding-left: var(--spacing-xl);
        background-color: rgba(255, 255, 255, 0.95);
        padding: var(--spacing-xl);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.intro-content {
    max-width: 800px;
    position: relative;
    padding-left: var(--spacing-xl);
}

.intro-dot {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
}

.intro-headline {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.intro-text {
    font-size: var(--font-size-base);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.intro-link {
    display: inline-block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    transition: all var(--transition-base);
}

.intro-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* Slider altı - 3 sütun (koyu gri bg, logo renkleri: kırmızı/siyah ikonlar) */
.features-bar {
    background-color: #333;
    padding: var(--spacing-2xl) 0;
}

.features-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.features-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.features-bar-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    flex-shrink: 0;
}

.features-bar-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.features-bar-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.features-bar-text {
    font-size: var(--font-size-base);
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .features-bar-container {
        grid-template-columns: 1fr;
    }
}

/* Hakkımızda / About Us - 2 sütun, sol metin sağ görsel (projeler üstü) */
.about-intro-section {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
}

.about-intro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    min-height: 480px;
}

.about-intro-text {
    padding-right: var(--spacing-xl);
}

.about-intro-label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.about-intro-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0 0 var(--spacing-lg) 0;
}

.about-intro-desc,
.about-intro-desc-secondary {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0 0 var(--spacing-md) 0;
}

.about-intro-desc-secondary {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.about-intro-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    background-color: var(--text-dark);
    color: #fff;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.7s ease-in-out, color 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.about-intro-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.about-intro-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-intro-circle-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    flex-shrink: 0;
    z-index: 1;
}

.about-intro-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-intro-overlay-img {
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transition: transform 0.08s ease-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 2;
}

.about-intro-overlay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-letter {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    will-change: transform;
    transition: transform 0.08s ease-out;
    font-size: 280px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
    font-family: var(--font-primary);
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 1024px) {
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-intro-text {
        padding-right: 0;
    }
    
    .about-intro-visual {
        order: -1;
    }
    
    .about-intro-circle-wrap {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .about-intro-overlay-img {
        width: 140px;
        height: 95px;
        bottom: 30px;
        left: 10px;
    }
    
    .about-intro-letter {
        font-size: 180px;
        right: 0;
    }
}

@media (max-width: 600px) {
    .about-intro-section {
        padding: var(--spacing-xl) 0;
    }
    
    .about-intro-title {
        font-size: var(--font-size-xl);
    }
    
    .about-intro-circle-wrap {
        width: 260px;
        height: 260px;
    }
    
    .about-intro-overlay-img {
        width: 110px;
        height: 75px;
        bottom: 20px;
        left: 0;
    }
    
    .about-intro-letter {
        font-size: 120px;
    }
}

/* Latest Projects Section - sayfa arka plan rengi (beyaz), primary vurgu çizgileri */
.latest-projects-section {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.latest-projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.latest-projects-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.latest-projects-title-wrap {
    flex: 1;
    min-width: 280px;
}

.latest-projects-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.2;
}

.latest-projects-accent {
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.latest-projects-description {
    font-size: var(--font-size-base);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

.latest-projects-view-all {
    flex-shrink: 0;
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.7s ease-in-out, color 0.7s ease-in-out, transform 0.7s ease-in-out, border-color 0.7s ease-in-out;
}

.latest-projects-view-all:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.latest-projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.latest-projects-filter {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: var(--font-size-base);
    font-family: inherit;
    cursor: pointer;
    padding: 0 0 4px 0;
    position: relative;
    transition: color 0.5s ease;
}

.latest-projects-filter::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.latest-projects-filter:hover {
    color: var(--text-dark);
}

.latest-projects-filter.active {
    color: var(--text-dark);
}

.latest-projects-filter.active::after {
    transform: scaleX(1);
}

.latest-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.latest-project-card {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.latest-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    opacity: 0;
}

.latest-project-card img.loaded {
    opacity: 1;
}

.latest-project-card:hover img {
    transform: scale(1.05);
}

/* Proje kartı hover - siyah bg üzerinde beyaz proje adı, animasyonlu */
.latest-project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    padding: var(--spacing-md);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.latest-project-card:hover .latest-project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Home Section - 4 slaytlı slider, tam ekran (100vh); masaüstü: görsel tam alan, metin üstte saydam */
.hero-home {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    background-color: #1a1a1a;
}

.hero-home-container {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0;
    max-width: none;
}

.hero-home-left {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    padding: calc(var(--navbar-height) + var(--spacing-2xl)) var(--spacing-2xl) var(--spacing-2xl);
    height: 100%;
    min-height: 100%;
    min-width: 0;
    flex: 0 1 auto;
    max-width: min(560px, 52vw);
    background-color: rgba(0, 0, 0, 0.82);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-home-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.hero-home-nav-item {
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: var(--spacing-xs) 0;
    text-align: left;
    position: relative;
    transition: color 0.3s ease;
}

.hero-home-nav-item:hover {
    color: rgba(255, 255, 255, 0.75);
}

.hero-home-nav-item.active {
    color: #fff;
}

.hero-home-nav-item.active::after {
    content: '';
    position: absolute;
    left: calc(100% + var(--spacing-sm));
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background-color: #fff;
}

.hero-home-content {
    position: relative;
    flex: 1;
    min-height: 320px;
}

.hero-home-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-home-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Slider geçiş animasyonları - yazı ve butonlar */
.hero-home-slide .hero-home-tagline,
.hero-home-slide .hero-home-title,
.hero-home-slide .hero-home-desc,
.hero-home-slide .hero-home-buttons {
    opacity: 0;
    transform: translateY(20px);
}

.hero-home-slide.hero-slide-animate .hero-home-tagline {
    animation: heroSlideFadeUp 0.5s ease forwards;
}

.hero-home-slide.hero-slide-animate .hero-home-title {
    animation: heroSlideFadeUp 0.5s ease 0.08s forwards;
}

.hero-home-slide.hero-slide-animate .hero-home-desc {
    animation: heroSlideFadeUp 0.5s ease 0.16s forwards;
}

.hero-home-slide.hero-slide-animate .hero-home-buttons {
    animation: heroSlideFadeUp 0.5s ease 0.24s forwards;
}

@keyframes heroSlideFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-home-text {
    padding-right: var(--spacing-xl);
}

.hero-home-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 var(--spacing-md) 0;
}

.hero-home-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.hero-home-title-main {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.hero-home-title-sub {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.hero-home-desc {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    margin: 0 0 var(--spacing-xl) 0;
}

.hero-home-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-home-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.hero-home-btn-primary {
    background-color: #fff;
    color: #111;
    border: 2px solid #fff;
}

.hero-home-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #111;
    transform: translateY(-2px);
}

.hero-home-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero-home-btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-home-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.hero-home-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(0.95) saturate(0.85);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-home-img-wrap.hero-home-img-active {
    opacity: 1;
}

.hero-home-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 35%,
        rgba(0, 0, 0, 0.12) 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

/* Footer */
.footer {
    background-color: #f3f4f6;
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Footer Top Section */
.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-2xl);
    width: 100%;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
    text-align: center;
}

.footer-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-main {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.footer-logo-sub {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

.footer-link-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-xs) 0;
    text-align: center;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: center;
    text-align: center;
}

.footer-link-list li {
    margin: 0;
}

.footer-link-list a {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-base);
    display: block;
}

.footer-link-list a:hover {
    color: var(--primary-color);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background-color: var(--primary-color);
    margin: var(--spacing-xl) 0;
    width: 100%;
}

/* Footer Contact Grid */
.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-contact-grid .footer-contact-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.footer-contact-grid .footer-contact-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.footer-contact-grid .footer-contact-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.footer-contact-grid .footer-contact-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.footer-contact-grid .footer-contact-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.footer-contact-grid .footer-contact-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.footer-contact-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

.footer-contact-text {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.footer-map-link {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.footer-map-link:hover {
    color: var(--primary-dark);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    width: 100%;
}

.footer-social-icons {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color var(--transition-base), transform var(--transition-base);
}

.footer-social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-sahibinden-btn {
    background-color: #ffc107;
    color: var(--text-dark);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color var(--transition-base), transform var(--transition-base);
    display: inline-block;
}

.footer-sahibinden-btn:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-xl);
    gap: var(--spacing-sm);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-copyright {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin: 0;
}

.footer-design {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.footer-design-logo-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.footer-design-logo-link:hover {
    opacity: 0.8;
}

.footer-design-logo {
    height: 12px;
    width: auto;
    object-fit: contain;
}

/* Scroll to top - sol alt sabit yuvarlak buton */
.scroll-to-top {
    position: fixed;
    left: max(var(--spacing-lg), env(safe-area-inset-left, 0px));
    right: auto;
    bottom: max(var(--spacing-lg), env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-scroll-top);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
}

/* WhatsApp - sağ alt sabit */
.floating-whatsapp {
    position: fixed;
    right: max(var(--spacing-lg), env(safe-area-inset-right, 0px));
    bottom: max(var(--spacing-lg), env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-scroll-top);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-2xl) 0;
}

