﻿body {
    color: #aaa;
    background-color: #333;
}

.phone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.real-phone {
    aspect-ratio: 390 / 844; /* Matches real iPhone shape */
    width: 100%;
    max-width: 390px;
    border: 12px solid #1e1e1e;
    border-radius: 60px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #1e1e1e;
    border-radius: 50%;
    margin-top: 8px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 48px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.parallax-section {
    height: 100vh;
    background: linear-gradient(90deg, rgba(21,48,69,1) 0%, rgba(127,50,198,1) 52%, rgba(95,67,121,1) 100%);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.project-number {
    font-size: 14rem;
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: #222;
    filter: blur(5px);
    z-index: -1000;
}

.overlay {
    z-index: 1;
}

.parallax-section .container {
    z-index: 2;
}

.project-container {
    transition: all 0.6s ease-in-out;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

    .project-container.animate {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }

.project-wrapper {
    padding: 20px;
    border-radius: 15px;
    margin: 20px auto;
    background: linear-gradient(135deg, rgba(33, 48, 56, 1) 0%, rgba(17, 59, 34, 1) 50%, rgba(86, 36, 99, 1) 100%);
    box-shadow: 0px 0px 20px 5px #000;
    max-width: 1200px;
}

.project-title {
    font-size: 2rem;
    text-align: center;
    color: #ccc;
}

.technologies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}

.technology-image {
    max-height: 30px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

    .technology-image:hover {
        filter: none;
        transform: scale(1.2);
    }

.project-description {
    font-size: 1.2rem;
    margin-top: 20px;
    background-color: #00000022;
    padding: 15px;
    border-radius: 10px;
}

.app-container {
    background-color: rgba(0, 0, 0, .2);
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
}

.project-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(1) blur(1px);
    transition: filter 0.3s ease;
}

    .project-image:hover {
        filter: none;
    }

.project-button {
    text-align: center;
    margin-top: 20px;
}

    .project-button a {
        width: 100%;
        max-width: 250px;
    }

@media (max-width: 768px) {
    .project-title {
        font-size: 1.5rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .technology-image {
        max-height: 25px;
    }
}
