* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    user-select: none;
    height: auto;
    overflow-x: hidden;
    width: 100%;
    background: #000000;
    font-family: 'Poppins', sans-serif;
}

#header {
    background: #000000;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    animation: scale 1.5s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Tablet ve Desktop için yatay düzen */
@media only screen and (min-width: 769px) {
    #header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 2rem;
    }
    
    .header-content {
        order: 1;
        width: 50%;
    }
    
    .header-image {
        order: 2;
        width: 50%;
    }
}

#navigation-content {
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 5;
    background-color: #020202;
    transform: translateY(-200%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#navigation-content.active {
    transform: translateY(0);
}

#navigation-bar {
    position: fixed;
    height: 100px;
    width: 100%;
    z-index: 3;
    padding: 10px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menubar {
    position: relative;
    right: 4%;
    cursor: pointer;
    opacity: .8;
    transition: all .4s ease;
    padding: 10px;
}

.menubar span {
    position: relative;
    background-color: transparent;
    height: 2px;
    width: 20px;
    display: block;
    margin: 6px;
    border-radius: 20px;
}

.menubar .first-span {
    width: 35px;
}

.menubar .first-span::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
    right: 0;
    background-color: whitesmoke;
    transition: all .5s ease;
}

.menubar .second-span {
    width: 35px;
}

.menubar .second-span::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 75%;
    top: 0;
    right: 0;
    background-color: whitesmoke;
    transition: all .3s ease;
}

.menubar .third-span {
    width: 35px;
}

.menubar .third-span::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    background-color: whitesmoke;
    transition: all .3s ease;
}

.menubar:hover .second-span::before,
.menubar:hover .first-span::before {
    width: 100%;
}

.menubar:hover {
    opacity: 1;
}

.close-first,
.close-second {
    height: 2px;
    width: 35px;
    background-color: whitesmoke;
    display: block;
    margin: 4px;
    cursor: pointer;
    padding: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.close-first {
    transform: rotate(45deg) translate(4px, 4px);
}

.close-second {
    transform: rotate(-45deg) translate(4px, -4px);
}

.navigation-close {
    position: absolute;
    top: 6%;
    right: 4%;
    padding: 10px;
    cursor: pointer;
    transition: all .3s ease;
    opacity: .8;
}

.navigation-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.logo img {
    height: 60px;
    position: absolute;
    top: 3%;
    left: 2.5%;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
    transition: all .4s ease;
}

.logo img:hover {
    opacity: 1;
    transform: rotate(-45deg);
}

#navigation-bar img {
    height: 60px;
    opacity: .8;
    transition: all .4s ease;
    margin-left: 2.5%;
}

#navigation-bar img:hover {
    opacity: 1;
    transform: rotate(-45deg);
}

/* Header Image - Tam responsive */
.header-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    order: 2;
}

.header-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.header-image img:hover {
    transform: scale(1.02);
}

/* Header Content */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
    width: 100%;
    padding: 2rem;
    order: 1;
    text-align: center;
}

.header-content-box {
    z-index: 2;
    text-align: center;
    height: auto;
    width: 100%;
    max-width: 800px;
}

.header-content .firstline {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.header-content .secondline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.slash {
    animation-name: animateslash;
    animation-duration: .8s;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: steps(1);
}

@keyframes animateslash {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Navigation Links - Geliştirilmiş hover efektleri */
.navigation-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    margin: 1.5rem 0;
    position: relative;
}

.navigation-links a {
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    opacity: .7;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
    border: 2px solid transparent;
    border-radius: 10px;
}

.navigation-links a:hover {
    opacity: 1;
    color: #d4af37;
    font-size: 2.8rem;
    transform: translateY(-5px) scale(1.05);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}

.navigation-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: rgba(212, 175, 55, 0.1);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    letter-spacing: 20px;
    transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.navigation-links a:hover::before {
    opacity: 1;
    letter-spacing: 8px;
    transform: translate(-50%, -50%) scale(1.1);
}

.navigation-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.navigation-links a:hover::after {
    width: 100%;
}

.color {
    color: #d4af37;
    transition: all .4s ease;
}

@keyframes scale {
    0% { 
        transform: scale(.6);
        opacity: 0;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.cursor {
    height: 50px;
    width: 50px;
    display: block;
    border-radius: 50%;
    border: 1px solid whitesmoke;
    background: transparent;
    pointer-events: none;
    position: fixed;
    top: -25px;
    left: -25px;
    z-index: 10;
    opacity: .6;
    transition: transform .3s ease, opacity .3s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: scale(1.5);
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

/* Mobile First - Küçük ekranlar (DEĞİŞMEDİ) */
@media only screen and (max-width: 768px) {
    #header {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .header-content {
        padding: 1rem;
        order: 1;
        min-height: 50vh;
    }
    
    .header-image {
        order: 2;
        padding: 1rem;
        min-height: 50vh;
    }
    
    .header-image img {
        max-width: 100%;
        max-height: 400px;
    }
    
    .header-content .firstline {
        font-size: clamp(1.8rem, 10vw, 3rem);
        margin-bottom: 1rem;
        white-space: normal;
    }
    
    .header-content .secondline {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }
    
    .navigation-links a {
        font-size: 2rem;
        padding: 12px 20px;
    }
    
    .navigation-links a:hover {
        font-size: 2.2rem;
        transform: translateY(-3px) scale(1.03);
    }
    
    .navigation-links a::before {
        font-size: 3rem;
    }
    
    .logo img,
    #navigation-bar img {
        height: 50px;
    }
    
    .cursor {
        display: none;
    }
}

/* Tablet - Orta boy ekranlar (768px - 1024px) */
@media all and (max-width: 1024px) and (min-width: 769px) {
    #header {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .header-content {
        width: 50%;
        padding: 1rem;
        order: 1;
    }
    
    .header-image {
        width: 50%;
        padding: 1rem;
        order: 2;
    }
    
    .header-image img {
        max-width: 100%;
        max-height: 500px;
    }
    
    /* Tablet'de yazı boyutunu optimize et */
    .header-content .firstline {
        font-size: clamp(2rem, 5vw, 2.8rem);
        line-height: 1.3;
        white-space: normal; /* Tablet'de iki satıra izin ver */
    }
    
    .header-content .secondline {
        font-size: clamp(1.1rem, 3vw, 1.6rem);
    }
    
    .cursor {
        display: block;
    }
}

/* Küçük Desktop (1025px - 1366px) */
@media all and (max-width: 1366px) and (min-width: 1025px) {
    #header {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .header-content {
        width: 50%;
        padding: 2rem;
    }
    
    .header-image {
        width: 50%;
        padding: 2rem;
    }
    
    .header-image img {
        max-width: 90%;
        max-height: 600px;
    }
    
    .header-content .firstline {
        font-size: clamp(2.5rem, 4vw, 3.2rem);
        white-space: nowrap; /* Küçük desktop'ta tek satır */
    }
    
    .header-content .secondline {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

/* Büyük Desktop (1367px - 1920px) */
@media all and (max-width: 1920px) and (min-width: 1367px) {
    #header {
        padding: 3rem;
        gap: 2rem;
    }
    
    .header-content {
        width: 50%;
        padding: 3rem;
    }
    
    .header-image {
        width: 50%;
        padding: 3rem;
    }
    
    .header-image img {
        max-width: 85%;
        max-height: 700px;
    }
    
    .header-content .firstline {
        font-size: clamp(3rem, 4vw, 4rem);
        white-space: nowrap; /* Büyük desktop'ta tek satır */
    }
    
    .header-content .secondline {
        font-size: clamp(1.5rem, 2vw, 2rem);
    }
}

/* Çok Büyük Ekranlar (1921px+) */
@media only screen and (min-width: 1921px) {
    #header {
        padding: 4rem;
        gap: 3rem;
        max-width: 2000px;
        margin: 0 auto;
    }
    
    .header-content {
        width: 50%;
        padding: 4rem;
    }
    
    .header-image {
        width: 50%;
        padding: 4rem;
    }
    
    .header-image img {
        max-width: 80%;
        max-height: 800px;
    }
    
    .header-content .firstline {
        font-size: 4.5rem;
        white-space: nowrap; /* Çok büyük ekranlarda tek satır */
    }
    
    .header-content .secondline {
        font-size: 2.2rem;
    }
}

/* Özel çözünürlük için ince ayarlar */
@media all and (max-width: 900px) and (min-width: 769px) {
    /* Dar tabletler için ek optimizasyon */
    .header-content .firstline {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        white-space: normal; /* Dar tabletlerde iki satır */
    }
    
    .header-image img {
        max-width: 95%;
        max-height: 450px;
    }
}

@media all and (max-width: 1200px) and (min-width: 1025px) {
    /* Orta boy desktop için optimizasyon */
    .header-content .firstline {
        font-size: clamp(2.2rem, 3.5vw, 3rem);
    }
}

/* Çok küçük ekranlar için ek önlemler */
@media only screen and (max-width: 380px) {
    .header-content-box {
        padding: 0.5rem;
    }
    
    .header-content .firstline {
        font-size: clamp(1.5rem, 12vw, 2.5rem);
        white-space: normal;
    }
    
    .header-content .secondline {
        font-size: clamp(0.9rem, 6vw, 1.3rem);
    }
    
    .navigation-links a {
        font-size: 1.8rem;
        padding: 10px 15px;
    }
    
    .navigation-links a:hover {
        font-size: 2rem;
    }
}
