@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

::selection {
    background-color: #e8d08d;
    color: #050505;
}

/* --- SAĞ TARAFTAKİ KAYDIRMA ŞERİDİNİ GİZLEME (KAYDIRMA AKICI DEVAM EDER) --- */
html {
    overflow-y: scroll; /* Kaydırma işlevini zorunlu tutar */
    scrollbar-width: none; /* Firefox için şeridi gizler */
}

body {
    -ms-overflow-style: none; /* IE ve Edge için şeridi gizler */
    color: white;
    background-color: #050505;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Chrome, Safari ve Opera için sağ şeridi görünmez yapar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
/* -------------------------------------------------------- */
body {
    color: white;
    background-color: #050505;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-media {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    color: #e8d08d;
    font-size: 1.8rem;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #e8d08d;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.dropdown-btn {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 15, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 170px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    z-index: 99999;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(232, 208, 141, 0.15);
    color: #e8d08d;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    flex: 1;
    padding-top: 100px;
    padding-bottom: 40px;
}

.content-right {
    justify-content: flex-end;
    padding-right: 80px;
}

/* Anasayfa Modüler Kart Tasarımı */
.hero-container {
    width: 650px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-card {
    background: rgba(8, 12, 20, 0.7);
    border: 1px solid rgba(232, 208, 141, 0.25);
    border-radius: 14px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.main-card {
    border-left: 4px solid #e8d08d;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(232, 208, 141, 0.15);
    color: #e8d08d;
    border: 1px solid rgba(232, 208, 141, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.main-card h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 12px;
}

.main-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-item {
    background: rgba(15, 22, 35, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.stat-item h4 {
    color: #e8d08d;
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-item span {
    font-size: 0.75rem;
    color: #aaa;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sub-card {
    padding: 20px;
}

.sub-card h3 {
    color: #e8d08d;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.sub-card p {
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Genel Cam Kutu */
.glass-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 45px;
    width: 700px;
    max-width: 90%;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glass-box h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    color: #e8d08d;
}

.glass-box p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hakkımızda Çoklu Kart Düzeni */
.scrollable-page {
    height: auto !important;
    min-height: 100vh;
    padding-top: 120px !important;
    padding-bottom: 60px !important;
}

.about-container {
    width: 900px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-section-card {
    background: rgba(8, 12, 20, 0.7);
    border: 1px solid rgba(232, 208, 141, 0.25);
    border-radius: 14px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-section-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 208, 141, 0.5);
}

.main-about-card {
    border-left: 4px solid #e8d08d;
    text-align: center;
}

.main-about-card h2 {
    font-size: 2.2rem;
    color: #e8d08d;
    margin-bottom: 15px;
}

.main-about-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.about-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-section-card h3 {
    color: #e8d08d;
    font-size: 1.15rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.about-section-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.full-card {
    width: 100%;
}

.capabilities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.capabilities-tags span {
    background: rgba(232, 208, 141, 0.12);
    color: #e8d08d;
    border: 1px solid rgba(232, 208, 141, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Projeler Grid */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(232, 208, 141, 0.1);
    border-color: #e8d08d;
    transform: translateX(5px);
}

.project-info h3 {
    color: #e8d08d;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.project-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
}

.project-card a {
    background: #e8d08d;
    color: #050505;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.project-card a:hover {
    background: #fff;
}

/* İletişim */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-box-narrow {
    width: 480px !important;
    max-width: 90% !important;
    padding: 35px 30px !important;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.contact-details span {
    font-size: 0.88rem;
    color: #e8d08d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #e8d08d;
}

button {
    width: 100%;
    padding: 14px;
    background: #e8d08d;
    color: #050505;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

button:hover {
    background: #fff;
}

/* --- HER SAYFANIN ALTINDA NORMAL AKIŞTA DURAN FOOTER --- */
/* --- FOOTER TASARIMI (SAYFA YAPISINA GÖRE DİNAMİK EN ALTTA) --- */
footer {
    position: fixed; /* Anasayfa ve kaydırılmayan sayfalarda ekranın en altına sabit tutar */
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: transparent; /* Şeffaf arka plan */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
    pointer-events: none; /* Arka plandaki tıklamaları engellemez */
}

/* Hakkımızda gibi kaydırılabilir sayfalarda footer'ın sayfanın en sonunda yer alması için */
.scrollable-page ~ footer,
body:has(.scrollable-page) footer {
    position: relative !important;
    padding: 25px 0;
    margin-top: 30px;
    background: transparent !important;
}
/* Mobil Responsive */
@media screen and (max-width: 768px) {
    header {
        padding: 15px 25px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    nav.active {
        display: flex;
    }

    .lang-switch {
        margin: 5px auto 0 auto;
        border-left: none;
        padding-left: 0;
        justify-content: center;
        width: 100%;
    }

    .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin: 5px auto 0 auto;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
        transform: none;
    }

    .content-wrapper, .content-right {
        padding: 110px 15px 40px 15px !important;
        justify-content: center !important;
    }

    .hero-container {
        width: 100%;
    }

    .hero-grid, .about-row-2 {
        grid-template-columns: 1fr;
    }

    .glass-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        margin-bottom: 20px;
    }
}