* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 0 5%;
    background-color: #0e0e0e;
    color: white;
    font-family: sans-serif;
    overflow-x: hidden;
}

@keyframes contentPopUp {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



.title {
    margin: 4rem 0 2rem 0;
    display: flex;
    justify-content: center;
    color: white;
}

.title h1 {
    font-size: 3rem;
    border-bottom: 3px solid #00B7FF; 
    padding-bottom: 10px;
}

.animated-title {
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.05s;
}



.highlight {
    color: #00B7FF;
}

.turkey {
    color: #d60909d7;
    font-size: 1.2em;
    font-weight: bolder;
}

.required{
    color: #FF4D4D;
}


.navbar {
    background-color: rgba(14, 36, 91, 0.65); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); 

    
    border-radius: 10px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    position: sticky; 
    top: 0;
    z-index: 1000;
    margin-top: 20px;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: monospace;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.logo a:hover {
    color: #00B7FF;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 1rem;
}

.nav-links a {
    color: #cccccc;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00B7FF;
}




.big-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem; 
    height: auto; 
}
.hero-content {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.1s;
}
.left {
    flex: 1;
    display: flex;
    justify-content: flex-end; 
    text-align: right;
    padding-right: 2.5rem;      
    max-width: 450px;           
    width: 100%;
}
.right {
    flex: 1;
    display: flex;
    justify-content: flex-start; 
    text-align: left;
    padding-left: 2.5rem;       
    border-left: 3px solid #00B7FF; 
    max-width: 450px;           
    width: 100%;
}
.first-message-h1 {
    font-size: 3.5rem;
    color: white;
    font-family: sans-serif;
}
.first-message-p {
    font-size: 1.8rem;
    color: white;
    font-family: sans-serif;
    line-height: 1.4;
    white-space: normal;
}
.button-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.25s; 
}
.home-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.8rem 2.2rem;
    border-radius: 30px;
    min-width: 160px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.home-button:first-of-type {
    background-color: #00B7FF;
    color: white;
    border: 2px solid #00B7FF;
}

.home-button:first-of-type:hover {
    background-color: #0086cc;
    border-color: #0086cc;
    transform: translateY(-3px);
}

.home-button:last-of-type {
    background-color: transparent;
    color: #00B7FF;
    border: 2px solid #00B7FF;
}

.home-button:last-of-type:hover {
    background-color: rgba(0, 183, 255, 0.1);
    transform: translateY(-3px);
}

.home-button:active {
    transform: translateY(-1px);
}






.about-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 1100px;
    margin: 0 auto 5rem auto;
}

.about-content-wrapper {
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.18s;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    font-size: 1.3rem; 
    line-height: 1.7;
    text-align: justify;
    flex: 1;
    color: white;
    font-family: sans-serif;
}

.start-img {
    border-radius: 20px;
    width: 250px;
    height: auto;
    object-fit: cover;
}


.about-skills-section {
    text-align: center;
    margin-top: 1rem;
}

.about-skills-section h2,
.current-focus h2,
.project-cta-block h2 {
    color: #00B7FF;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: sans-serif;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.skill-card {
    background-color: #1e2226;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius:15px;
    padding: 1.8rem;
    max-width: 340px;
    flex: 1;
    min-width: 260px;
    text-align:  left;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.skill-card:hover{
    border-color: #00B7FF;
    background-color: rgba(0, 183, 255, 0.02);
}

.skill-card h3 {

    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: white;
}

.skill-card p {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.6;
}






.current-focus {
    background-color: #1e2226;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.focus-text p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #eeeeee;
    text-align: center;
}

/* About Me CTA Block styling */
.project-cta-block {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.project-cta-block h2 {
    color: white;
}






.feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-form-wrapper {
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.15s;
}

.fback {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: #1e2226;
    width: 100%;
    max-width: 550px;
}

.fback h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
}

.feedback label {
    font-size: 1.1rem;
    font-weight: 500;
}

.feedback input[type="text"], 
.feedback input[type="email"], 
.feedback textarea {
    padding: 12px;
    border: 2px solid #444; 
    background-color: #2a2e33;
    font-size: 1.1rem;
    color: white;
    border-radius: 8px;
    width: 100%; 
    transition: border-color 0.2s;
}


.feedback input:focus, 
.feedback textarea:focus {
    outline: none;
    border-color: #00B7FF;
}

.feedback textarea {
    height: 6rem;
    min-height: 3rem;
    
    resize: vertical;
}

.feedback input[type="submit"] {
    margin-top: 15px;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.feedback input[type="submit"]:hover {
    background-color: #0056b3;
}

.feedback input[type="submit"]:active {
    transform: scale(0.98);
}


.counter-container{
    text-align: right; 
    font-size: 0.85rem; color: #666; 
    margin-top: -5px; 
    margin-bottom: 15px;
}

.social-footer-wrapper {
    opacity: 0;
    animation: contentPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
}

.random {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}
.tiktok {
    border-radius: 20px;
}
.socials {
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.socials:hover {
    border-color: #00B7FF;
    background-color: rgba(0, 183, 255, 0.05);
    transform: translateY(-4px);
}

.socials img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
}






@media (max-width: 768px) {
    body {
        padding: 0 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem;
        border-radius: 10px;
    }

    .nav-links {
        gap: 1.5rem; 
        justify-content: center;
        width: 100%;
        flex-wrap: wrap; 
    }

    .title h1 {
        font-size: 2.2rem;
    }

    .container {
        height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .left, .right {
        text-align: center;
        justify-content: center;
        padding: 0;
        max-width: 100%;
    }

    .right {
        border-left: none;
        border-top: 3px solid #00B7FF; 
        padding-top: 1.5rem;
    }

    .first-message-h1 { font-size: 2.5rem; }
    .first-message-p { font-size: 1.4rem; }

    .button-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .home-button {
        width: 100%;
        max-width: 280px;
    }






    .about-block {
        flex-direction: column;
        text-align: center;
    }

    .start-img {
        width: 180px;
    }
    
    .about-text {
        font-size: 1.15rem;
        text-align: normal;
    }

    .skills-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .skill-card {
        width: 100%;
        max-width: 100%;
    }
    
    .current-focus {
        padding: 1.5rem;
    }
    
    .focus-text p {
        font-size: 1.1rem;
        text-align: justify;
    }
}





.project-teaser-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    margin: 1.5rem 0 3rem 0;
}

.teaser-card {
    background-color: #1e2226;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.8rem;
    
    flex: 1 1 calc(50% - 1.5rem); 
    max-width: 440px;
    min-width: 280px;
    
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.teaser-card:hover {
    transform: translateY(-5px);
    border-color: #00B7FF;
    background-color: rgba(0, 183, 255, 0.02);
}

.teaser-card h3 {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 0.6rem;
    font-family: sans-serif;
}

.teaser-card p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-link-text {
    color: #00B7FF;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.teaser-card:hover .card-link-text {
    color: #0086cc;
}

@media (max-width: 768px) {
    .project-teaser-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .teaser-card {
        width: 100%;
        max-width: 100%;
    }
}

.projects-master-container {
    max-width: 1100px;
    margin: 4rem auto 6rem auto;
    width: 100%;
}

.projects-list-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.project-row-wrapper {
    width: 100%;
}

.project-list-row {
    background-color: #1e2226;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    gap: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-list-row:hover {
    transform: translateX(6px);
    border-color: #00B7FF;
}

.row-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 320px;       
    min-width: 320px;
    flex-shrink: 0;     
}

.row-tag {
    background-color: rgba(0, 183, 255, 0.15);
    color: #00B7FF;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-list-row h3 {
    font-size: 1.2rem;
    white-space: nowrap;
    margin: 0;
}

.row-short-desc {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.row-arrow {
    color: #00B7FF;
    font-weight: bold;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-overlay-modal:target {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modal-content-box {
    background-color: #1e2226;
    border: 2px solid #00B7FF;
    border-radius: 24px;
    padding: 3.5rem; /* Slightly more inside padding for longer text layouts */
    width: 90%;
    max-width: 850px; /* Made bigger to fit the deep-dive paragraphs */
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-overlay-modal:target .modal-content-box {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.2rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: #ff4a4a;
}

.modal-tag {
    color: #00B7FF;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modal-content-box h2 {
    font-size: 2.4rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    color: white;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.8rem;
}

.modal-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #dddddd;
    margin-bottom: 2.2rem;
    text-align: justify;
}

.tech-spec-list {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    border-left: 4px solid #00B7FF;
    color: #eee;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .project-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.5rem;
    }

    .row-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        min-width: 100%;
        width: 100%;
    }

    .row-short-desc {
        white-space: normal;
        display: -webkit-box;
        line-clamp: auto;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .modal-content-box {
        padding: 2.5rem 1.5rem;
    }

    .modal-content-box h2 {
        font-size: 1.8rem;
    }

    .modal-desc {
        font-size: 1.05rem;
        text-align: left;
    }
}

.repo-button{
    border-style: solid;
    border-color: #007bff;
    border-radius: 20px;
    margin-right:5px;
    padding:5px;
    text-decoration: none;
    color:white;
    background-color: #007bff;
    padding-left:10px; padding-right:10px;
}

.site-button {
    border-style: solid;
    border-color: #007bff;
    border-radius: 20px;
    margin-right:5px;
    padding:5px;
    text-decoration: none;
    color:#007bff;
    background-color: #ffffff00;
    padding-left:10px; padding-right:10px;
}



.banner {
    max-width: 900px;
    display: flex;
    height: 300px;       
    margin: 2.5rem auto 4rem auto;
    overflow: hidden;    
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.banner img {
    min-height:80%;
    width:95%;
    border-radius: 20px;
}
@media (max-width: 768px) {
    .banner {
        height: 175px;
        margin: 2rem 1rem;
    }
}

