/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #1A2A40;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

/* Görsellerin sürüklenmesini ve seçilmesini engelle */
img, svg {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Main Container */
.main-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Logo */
.background-logo {
    position: absolute;
    left: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.01;
    filter: brightness(0) invert(1);
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

/* Top Logo */
.top-logo {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.small-logo {
    width: 360px;
    height: 360px;
    animation: floatLogo 7s ease-in-out infinite;
}

.small-logo.paused {
    animation-play-state: paused;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
    }
    50% {
        transform: translateY(-6px) scale(1.01);
        filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
    }
}

@media (prefers-reduced-motion: reduce) {
    .small-logo {
        animation: none;
    }
}

/* Projects Section */
.projects-section {
    position: absolute;
    top: 50%;
    right: 9%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.projects-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    padding: 30px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.projects-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 18px;
    backdrop-filter: blur(22px) saturate(1.04);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #4D4FE4, #623BCE, #B154AB);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}

.project-item::after {
    content: '';
    position: absolute;
    right: -20%;
    top: -40%;
    width: 60%;
    height: 180%;
    background: radial-gradient(60% 50% at 50% 50%, rgba(98, 59, 206, 0.25), rgba(77, 79, 228, 0.12) 40%, transparent 70%);
    filter: blur(12px);
    transform: rotate(8deg);
    pointer-events: none;
}

.project-item:hover::after {
    transform: translateX(120%);
}


.project-item:hover {
    transform: translateY(-5px) scale(1.012) rotate(-0.2deg);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), 0 14px 42px rgba(77, 79, 228, 0.18);
}

.project-item:hover::before {
    filter: brightness(1.08);
}

.project-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.18);
}

.project-logo img {
    width: 56%;
    height: 56%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.06);
}

.project-item:hover .project-logo {
    transform: scale(1.06);
}

.project-item:hover .project-logo img {
    filter: brightness(1.22) contrast(1.1);
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.project-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.project-item:hover .project-info h3 {
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transform: translateX(2px);
}

.project-item:hover .project-info p {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Screenshots Section */
.screenshots-section {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.close-btn i {
    font-size: 20px;
    color: #ffffff;
}

.google-play-btn {
    position: absolute;
    top: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.google-play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.google-play-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.google-play-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    margin-left: 3px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    font-size: 18px;
    color: #ffffff;
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.screenshot-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.screenshot-frame {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    background: #007BFF;
    transition: all 0.3s ease;
}

.screenshot-frame:hover {
    box-shadow: 0 15px 40px rgba(157, 151, 255, 0.3);
}

.screenshot-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Copyright */
.copyright {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.copyright p:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .background-logo {
        left: -20%;
        width: 80%;
        height: 100%;
    }
    
    .large-logo {
        opacity: 0.05;
    }
    
    .small-logo {
        width: 60px;
        height: 60px;
    }
    
    .project-item {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .project-logo {
        width: 40px;
        height: 40px;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .background-logo {
        left: -30%;
        width: 100%;
    }
    
    .top-logo {
        margin-bottom: 40px;
    }
    
    .small-logo {
        width: 50px;
        height: 50px;
    }
    
    .projects-container {
        padding: 20px 25px;
    }
    
    .projects-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .project-item {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .project-logo {
        width: 35px;
        height: 35px;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    .project-info p {
        font-size: 0.8rem;
    }
    
    .carousel-container {
        max-width: 400px;
    }
    
    .prev-btn {
        left: -50px;
    }
    
    .next-btn {
        right: -50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 14px;
    }
    
    .close-btn {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .close-btn i {
        font-size: 16px;
    }
    
    .copyright {
        bottom: 15px;
    }
    
    .copyright p {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .google-play-btn {
        top: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .google-play-btn svg {
        width: 20px;
        height: 20px;
        margin-left: 2px;
    }
    
}