/* Layout & Container */
body {
    max-width: 1920px; /* Ana layout genişliği */
    margin: 0 auto; /* Sayfayı ortala */
}

.container {
    max-width: 1420px; /* Content genişliği */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    height: 100px;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding-bottom: 20px; /* Nav itemları ile çizgi arasında 20px boşluk */
}

.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-links {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    padding-top: 120px;
}

.hero-content {
    max-width: 1420px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 170px; /* description + 120px boşluk için */
}

.hero-title {
    font-size: 90px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
    line-height: 120px;
}

.hero-subtitle {
    font-size: 90px;
    font-weight: 500;
    color: #000000;
    line-height: 120px;
    margin-bottom: 50px; /* Alt metin ile arasındaki mesafe için eklendi */
}

/* SplitText reveal — flash önleme (JS görünür yapar) */
.hero-title,
.hero-subtitle {
    visibility: hidden;
}

.hero-description,
.availability-badge {
    opacity: 0;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    max-width: 700px;
    position: absolute;
    right: 0;
    bottom: 120px; /* Work section'a olan mesafe */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 60px;
    }
}

/* Hero Section - Mobile Styles */
@media screen and (max-width: 767px) {
    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding-bottom: 60px; /* 170px'den 60px'e düşürdük */
    }

    .hero-title {
        font-size: 40px; /* 90px'den 40px'e */
        line-height: 50px; /* 120px'den 50px'e */
        margin-bottom: 4px; /* 8px'den 4px'e */
    }

    .hero-subtitle {
        font-size: 40px; /* 90px'den 40px'e */
        line-height: 50px; /* 120px'den 50px'e */
        margin-bottom: 30px; /* 50px'den 30px'a */
    }

    .hero-description {
        font-size: 16px; /* 18px'den 16px'e */
        line-height: 22px; /* 25px'den 22px'e */
        position: relative; /* absolute yerine relative */
        right: auto; /* right: 0 kaldırıldı */
        bottom: auto; /* bottom: 120px kaldırıldı */
        max-width: 100%; /* 700px yerine tam genişlik */
    }
}

/* Section Header Styles */
.section-header {
    margin-bottom: 0;
}

.section-title {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 65px;
    visibility: hidden;
}

.section-line {
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
    margin-bottom: 60px;
    transform-origin: left center;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.work-item {
    position: relative;
}

.work-item-featured {
    grid-column: 1 / -1; /* Tam genişlik için */
    margin-bottom: 20px;
}

.work-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image {
    transform: scale(1.02);
}

.work-title {
    margin-top: 16px;
    font-size: 38px;
    font-weight: 500;
    line-height: 50px;
}

.work-item-title {
    font-size: 28px;
    font-weight: 500;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .work {
        padding-top: 80px;
    }

    .section-title {
        font-size: 60px;
    }

    .work-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* Work Section Mobile Styles */
@media screen and (max-width: 767px) {
    .work {
        margin-top: 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px; /* Section line ile içerik arası mesafeyi 40px yaptık */
    }

    .work-item-featured {
        margin-bottom: 10px;
    }

    .work-title,
    .work-item-title {
        font-size: 20px;
        line-height: 28px;
        margin-top: 16px;
    }

    .work-image {
        border-radius: 4px;
    }
}

/* Blog Section */
.blog {
    margin-top: 120px;
}

.blog .container {
    display: flex;
    flex-direction: column; /* Section başlığı ve içeriği alt alta olması için */
}

.blog-list {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-self: flex-end; /* Blog listesini sağa hizala */
}

.blog-post {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 30px 0; /* Her blog yazısı için üst ve alttan 30px padding */
}

.blog-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
    text-align: left; /* Başlık metnini sola hizala */
}

.read-time {
    font-size: 18px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-time::before {
    content: "■";
    font-size: 8px;
}

.blog-line {
    width: 700px;
    height: 1px;
    background-color: #D9D9D9;
    margin-top: 30px; /* Başlık ile çizgi arasındaki mesafe */
}

/* Son blog yazısının altındaki çizgiyi kaldır */
.blog-post:last-child .blog-line {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-grid {
        gap: 20px;
    }
    
    .blog-title {
        font-size: 28px;
        line-height: 38px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Section Mobile Styles */
@media screen and (max-width: 767px) {
    .blog {
        margin-top: 60px; /* 120px'den 60px'e */
    }

    .blog-post {
        padding: 0; /* Üst padding'i kaldırdık, böylece section line ile ilk blog post arası 30px olacak */
        margin-top: 30px; /* İlk blog post için üstten margin ekledik */
    }

    .blog-post:first-child {
        margin-top: 0; /* İlk blog post için margin'i kaldırdık */
    }

    .blog-title {
        font-size: 20px;
        line-height: 28px;
    }

    .read-time {
        font-size: 16px; /* 18px'den 16px'e */
    }

    .blog-line {
        margin-top: 20px; /* 30px'den 20px'e */
    }
}

/* About Section */
.about {
    margin-top: 120px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Görsele göre ortalamak için */
    gap: 60px;
}

.about-text {
    font-size: 28px;
    font-weight: 400; /* medium'dan regular'a değiştirildi */
    line-height: 38px;
    max-width: 700px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Experience Section */
.experience {
    margin-top: 120px;
}

.experience .container {
    display: flex;
    flex-direction: column;
}

.experience-list {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.experience-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
}

.experience-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
}

.experience-role {
    font-size: 22px;
    font-weight: 400;
    line-height: 38px;
    margin-top: 8px;
}

.experience-date {
    font-size: 18px;
    color: #666666;
    margin-top: 8px;
}

.experience-line {
    width: 700px;
    height: 1px;
    background-color: #D9D9D9;
    margin-top: 30px;
}

/* Son deneyimin altındaki çizgiyi kaldır */
.experience-item:last-child .experience-line {
    display: none;
}

/* Skills Section */
.skills {
    margin-top: 120px;
}

.skills .container {
    display: flex;
    flex-direction: column;
}

.skills-list {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0; /* 50px'den 30px'e güncellendi */
}

.skill-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 50px;
}

/* skill-line class'ını tamamen kaldırıyoruz */
/* .skill-line {
    width: 700px;
    height: 1px;
    background-color: #D9D9D9;
    margin-top: 30px;
} */

/* Son skill'in altındaki çizgiyi kaldır */
.skill-item:last-child .skill-line {
    display: none;
}

/* Interests Section */
.interests {
    margin-top: 120px;
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.interest-item-large {
    grid-row: span 2;
    height: 890px; /* Yükseklik eklendi */
}

.interest-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interest-item-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interest-item-column .interest-item {
    height: 435px; /* Sağ kolondaki görseller için yükseklik eklendi */
}

.interest-item-column .interest-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .interests-grid {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .interest-item-large {
        grid-row: auto;
    }
    
    .interest-item-column {
        gap: 10px;
    }
}

/* Contact Section */
.contact {
    margin-top: 120px;
}

.contact .container {
    display: flex;
    flex-direction: column;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* padding-top: 60px; */ /* Bu padding'i kaldırıyoruz çünkü section-line zaten 60px margin-bottom veriyor */
}

.contact-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    max-width: 580px;
    padding-top: 15px;
}

.contact-content {
    width: 700px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-link {
    font-size: 38px;
    font-weight: 500;
    line-height: 50px;
    color: #000000;
    text-decoration: none;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 15px 0;
}

.contact-line {
    width: 700px;
    height: 1px;
    background-color: #D9D9D9;
}

/* Son contact item'ın altındaki çizgiyi kaldır */
.contact-item:last-child .contact-line {
    display: none;
}

/* Footer Styles */
.footer {
    margin-top: 120px;
    padding-bottom: 60px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
    margin-bottom: 60px;
    transform-origin: left center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
    gap: 120px;
    padding: 0 300px; /* Sağdan ve soldan 400px içeri almak için */
}

.footer-logo img {
    width: auto;
    height: 120px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
}

.footer-copyright {
    text-align: center;
    color: #949494; /* #666666'dan #949494'e güncellendi */
    font-size: 14px; /* 18px'den 14px'e güncellendi */
    font-weight: 500; /* regular'dan medium'a güncellendi */
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E8E8E8;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    width: 14px;
    height: 1.5px;
    background-color: #000;
    transition: transform 0.3s ease;
}

.hamburger-menu span:first-child,
.hamburger-menu span:last-child {
    display: none;
}

.hamburger-menu span:nth-child(2) {
    position: static;
    transform: none;
}

.hamburger-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    margin-top: -0.75px;
    margin-left: -7px;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamburger-menu.active span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger-menu.active::after {
    opacity: 1;
    transform: rotate(-45deg);
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 2rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(40, 40, 40, 0.45);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.active {
    visibility: visible;
}

.mobile-menu__panel {
    position: absolute;
    top: 24px;
    right: 24px;
    width: min(280px, calc(100vw - 48px));
    background-color: #F5F4F0;
    border-radius: 20px;
    padding: 24px 28px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.mobile-menu__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.mobile-menu__close span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background-color: #000;
}

.mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.mobile-menu__link {
    font-size: 28px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: #666;
}

/* Sadece mobile'da aktif olacak stiller */
@media screen and (max-width: 767px) {
    .desktop-menu {
        display: none; /* Desktop menüyü gizle */
    }

    .hamburger-menu {
        display: flex;
    }

    /* Menü açıkken scroll'u engelle */
    body.menu-open {
        overflow: hidden;
    }
}

/* Section Header Mobile Styles */
@media screen and (max-width: 767px) {
    .section-header {
        margin-bottom: 30px; /* 20px'den 30px'e */
    }

    .section-title {
        font-size: 32px; /* 68px'den 32px'e */
        line-height: 42px; /* 90px'den 42px'e */
        margin-bottom: 30px; /* 20px'den 30px'e */
    }

    .section-line {
        margin-bottom: 30px; /* 20px'den 30px'e */
    }

    /* Blog ve Experience section'larındaki sağa hizalı listeler için */
    .blog-list,
    .experience-list,
    .skills-list {
        width: 100%; /* 700px yerine tam genişlik */
        align-self: stretch; /* flex-end yerine tam genişlik */
    }

    /* Blog line ve Experience line için */
    .blog-line,
    .experience-line,
    .contact-line {
        width: 100%; /* 700px yerine tam genişlik */
    }
}

/* About Section Mobile Styles */
@media screen and (max-width: 767px) {
    /* About Section Mobile Fixes */
    .about {
        margin-top: 80px;
    }

    .about .section-line {
        margin-bottom: 40px; /* Section line ile içerik arası mesafeyi 40px yaptık */
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
    }

    .about-text {
        font-size: 20px;
        line-height: 28px;
        max-width: 100%;
    }

    .about-image img {
        border-radius: 4px;
    }
}

/* Mobile Responsive Fixes */
@media screen and (max-width: 767px) {
    /* Hero Section Mobile Fixes */
    .hero-title, .hero-subtitle {
        font-size: 32px;
        line-height: 42px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
        position: static;
        margin-top: 30px;
    }

    /* Work Section Mobile Fixes */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-item-title {
        font-size: 24px;
        line-height: 32px;
        margin-top: 12px;
    }

    /* Blog Section Mobile Fixes */
    .blog-list {
        width: 100%;
    }

    .blog-title {
        font-size: 20px;
        line-height: 28px;
    }

    /* Contact Section Mobile Fixes */
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-content {
        width: 100%;
        gap: 20px;
    }

    .contact-item {
        padding: 0;
        margin-top: 10px;
        gap: 20px;
    }

    .contact-item:first-child {
        margin-top: 0;
    }

    .contact-link {
        font-size: 24px;
        line-height: 32px;
    }

    .contact-line {
        margin-top: 5px;
    }

    .contact-text {
        padding-top: 0;
    }

    /* Footer Mobile Fixes */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0;
        margin-bottom: 60px;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-nav, .footer-social {
        align-items: center;
        gap: 20px;
    }

    .footer-link {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 767px) {
    /* Experience Section Mobile Fixes */
    .experience-item {
        padding: 0; /* Üst padding'i kaldırdık */
        margin-top: 30px; /* İlk experience item için üstten margin ekledik */
    }

    .experience-item:first-child {
        margin-top: 0; /* İlk experience item için margin'i kaldırdık */
    }

    .experience-title {
        font-size: 24px;
        line-height: 32px;
    }

    .experience-role {
        font-size: 18px;
        line-height: 26px;
        margin-top: 4px;
    }

    .experience-date {
        font-size: 16px;
        line-height: 24px;
        margin-top: 4px;
    }

    .experience-line {
        margin-top: 20px; /* 30px'den 20px'e */
    }

    .experience-list {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    /* Skills Section Mobile Fixes */
    .skill-item {
        padding: 0; /* Üst padding'i kaldırdık */
        margin-top: 30px; /* İlk skill item için üstten margin ekledik */
    }

    .skill-item:first-child {
        margin-top: 0; /* İlk skill item için margin'i kaldırdık */
    }

    .skill-title {
        font-size: 24px;
        line-height: 32px;
    }

    .skills-list {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    /* Interests Section Mobile Fixes */
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px; /* Section line ile içerik arası mesafeyi 40px yaptık */
    }

    .interest-item-large {
        grid-row: auto;
        height: 300px;
    }

    .interest-item-column {
        gap: 20px;
    }

    .interest-item-column .interest-item {
        height: 300px;
    }

    .interest-item img,
    .interest-item-large img,
    .interest-item-column .interest-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 4px;
    }
}

@media screen and (max-width: 767px) {
    /* Section Spacing Mobile Fixes */
    .hero {
        padding-top: 40px;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .work {
        margin-top: 0;
    }

    .blog, .about, .experience, .skills, .interests {
        margin-top: 80px; /* 60px'den 80px'e çıkardık */
    }

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

    .section-title {
        margin-bottom: 30px;
    }

    .section-line {
        margin-bottom: 30px;
    }
}

.availability-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #E2F9DC;
    padding: 12px 20px;
    border-radius: 100px;
    width: fit-content;
    margin-top: 40px;
    margin-bottom: 60px; /* Hero description ile arasındaki mesafeyi ekledik */
    isolation: isolate;
}

.availability-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    box-shadow: 0 0 0 0 rgba(23, 141, 0, 0.35);
    animation: badgeGlow 2.8s ease-in-out infinite;
    pointer-events: none;
}

.availability-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #178D00;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dotPulse 2.8s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(23, 141, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(23, 141, 0, 0);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .availability-badge::before,
    .availability-badge .dot {
        animation: none;
    }
}

.availability-badge .text {
    font-size: 18px;
    font-weight: 500;
    color: #178D00;
}

@media screen and (max-width: 767px) {
    .availability-badge {
        padding: 8px 16px;
        margin-top: 24px;
        margin-bottom: 40px; /* Mobile'da 40px olsun */
    }

    .availability-badge .text {
        font-size: 16px;
    }
} 