/* Temel stiller */
:root {
    --primary-color: #fff;
    --bg-color: #000;
    --accent-color: #f0f0f0;
    --transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    
}
body {
    font-family: 'Helvetica Neue', sans-serif;
    background: var(--bg-color);
    color: var(--primary-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Canvas */
#webgl {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

.loader-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    overflow: hidden;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.menu {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.menu-item {
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity var(--transition);
    position: relative;
    text-decoration: none;
    color: #fff;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition);
}

.menu-item:hover::after,
.menu-item.active::after {
    width: 100%;
}

/* Sections */
.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.section.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.section.prev {
    transform: translateY(-30%) scale(0.9);
    opacity: 0;
}

.section.next {
    transform: translateY(30%) scale(0.9);
    opacity: 0;
}

/* Section overlay */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    backdrop-filter: blur(10px);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
}

.section.active::before {
    opacity: 1;
}

.hero-content {
    height: 100vh;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 5vw;
    line-height: 1.1;
    font-weight: 500;
    overflow: hidden;
}

.split-text {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-description {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: scroll-line 1.5s ease-in-out infinite;
}

/* Page Navigation */
.page-nav {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.page-number {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-line {
    width: 1px;
    height: 100px;
    background: var(--accent-color);
    position: relative;
}

.nav-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: height var(--transition);
}

/* Animations */
@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Arka plan için */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('img/bg1.gif') center/cover no-repeat;
    z-index: -2;
}

/* Projects Section Styles */
.section-content {
    padding: 100px 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 3vw;
    font-weight: 500;
    letter-spacing: 2px;
}

.section-year {
    font-size: 1.2rem;
    opacity: 0.7;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-details {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.project-number {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.5;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
 
}

.project-info p {
    font-size: 0.9rem;
    opacity: 0.7;

}
.load-more{
    background: transparent;
    color: #fff;
    border: 1px solid rgba(156, 95, 255, 0.3);
    padding: 15px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: auto;
    margin: 40px auto;
    display: block;
    box-shadow: 0 0 15px rgba(95, 247, 255, 0.1);
    text-decoration: none;
}
/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* About Styles */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10%;
}

.about-header {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text-header {
    flex: 1;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Skills kartı için yeni stiller */
.skills {
    margin-top: 50px;
    width: 100%;
}

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

/* Grid container */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Skill kartı stilleri */
.skills-card {
    background: linear-gradient(transparent, #000000, #1c004bf8);
    border-radius: 15px;
    padding: 30px;
    color: var(--primary-color);
    box-shadow: 
        0 0 30px rgba(92, 0, 241, 0.527),
        inset 0 0 30px rgba(54, 0, 179, 0.021);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 40px rgba(85, 10, 224, 0.671),
        inset 0 0 40px rgba(68, 0, 255, 0.08);
}

/* Neon efekti için ikon stili */
.skill-icon {
    color: #7b28ff;
    font-size: 2rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(71, 0, 202, 0.5));
}

/* Başlık stili */
.skill-header {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Açıklama metni stili */
.skill-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Progress bar container */
.skill-progress-item {
    margin-bottom: 15px;
}

/* Skill ismi */
.skill-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Progress bar stili */
.progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

/* Progress bar dolgu stili */
.progress {
    height: 100%;
    background: #4b00c4;
    box-shadow: 0 0 10px rgba(138, 95, 255, 0.5);
    transition: width 1s ease;
}

/* Hover efekti */
.skills-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 40px rgba(85, 10, 224, 0.671),
        inset 0 0 40px rgba(68, 0, 255, 0.08);
    transition: all 0.3s ease;
}

/* Arka plan glow efekti */
.skills-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(77, 0, 219, 0.08), transparent 70%);
    z-index: 0;
}

/* İçerik z-index */
.skills-card-item {
    position: relative;
    z-index: 1;
}

/* Contact Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-text {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    padding: 15px;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 80px; /* Alt menünün üzerinde konumlandırma */
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(75, 0, 196, 0.8);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(75, 0, 196, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: rgba(75, 0, 196, 1);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(75, 0, 196, 0.5);
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Genel düzenlemeler */
    body {
        overflow-y: auto; /* Mobilde dikey kaydırmayı etkinleştir */
		overflow-x: hidden;
    }

    /* Navbar düzenlemeleri */
    .navbar {
        padding: 15px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1rem;
    }

    .menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 5px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        justify-content: space-around;
        gap: 2px;
        z-index: 1000;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-item {
        font-size: 0.7rem;
        padding: 8px 4px;
        white-space: nowrap;
    }

    /* Section düzenlemeleri */
    .section {
        position: relative;
        min-height: 100vh;
        height: auto;
        padding-bottom: 70px; /* Alt menü için boşluk */
        visibility: visible;
        opacity: 1;
        transform: none;
		overflow-x: hidden;
    }

    .section-content {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 80px 10px 60px;
    }

    /* Hero bölümü düzenlemeleri */
    .hero-content {
        padding: 100px 15px 40px;
		
    }

    .hero-text h1 {
        font-size: 2rem; /* Sabit font boyutu */
        line-height: 1.3;
    }

    .hero-description {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    /* Grid düzenlemeleri */
    .projects-grid,
    .services-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Kartlar için düzenlemeler */
    .project-card,
    .service-card,
    .skills-card {
        margin-bottom: 15px;
    }

    .project-image {
        height: 200px;
    }

    /* İletişim formu düzenlemeleri */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 20px;
    }

    /* About bölümü düzenlemeleri */
    .about-header {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
        max-width: 300px;
        height: 250px;
        margin: 0 auto;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Page nav düzenlemesi */
    .page-nav {
        right: 10px;
        display: none;
    }

    .section::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.2) 80%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 15px 10px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .menu-item {
        font-size: 0.65rem;
        padding: 6px 3px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    /* Social links düzenlemesi */
    .social-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-link {
        font-size: 0.8rem;
    }
}

/* Responsive düzenlemeler */
@media (min-width: 769px) {
    .scroll-top {
        display: none; /* Desktop'ta gizle */
    }
}

/* Footer Styles */
footer {
    display: none; /* Varsayılan olarak gizle */
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* İletişim bölümünde footer'ı göster */
.section#contact footer {
    display: block;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 50px;
}

/* Contact section için ek düzenleme */
.section#contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section#contact .section-content {
    flex: 1;
}

/* Responsive düzenleme */
@media (max-width: 768px) {
    .section#contact {
        padding-bottom: 100px; /* Mobile menü için extra padding */
    }
}
