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

body {
    background: #1e1e2f;
    color: #e0e0e0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    scroll-behavior: smooth;
}

/*  Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: #2c2c3f;
    padding: 18px 0;
    text-align: center;
    z-index: 5;
}

nav a {
    color: #ff6f61;
    text-decoration: none;
    margin: 0 32px;
    font-size: 1.3em;
    font-weight: bold;
}

nav a:hover {
    color: #4fd1c5;
    text-decoration: underline;
}

/* Cover Section */
.cover {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #2c2c3f;
    padding: 20px;
}

.cover h1 {
    font-size: 3em;
    color: #ff6f61;
    margin-bottom: 10px;
}

.cover p {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.cover a.button {
    display: inline-block;
    padding: 12px 30px;
    background: #4fd1c5;
    color: #1e1e2f;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
}

.cover a.button:hover {
    background: #38b2ac;
}

/* Intro Section */
.intro-text {
    text-align: center;
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 40px;
    padding-top: 60px;
}

/* Section Titles */
section h2 {
    color: #ff6f61;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

section h3 {
    color: #ff6f61;
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 20px;
}

/* Project Slides */
.project-slide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    margin-bottom: 20px;
    background: #2c2c3f;
    border-radius: 10px;
}

.project-slide img {
    width: 40%;
    border-radius: 8px;
    margin: 10px;
    border: 2px solid #4fd1c5;
}

.project-slide .project-text {
    width: 45%;
    margin: 10px;
    background: #23233a;
    border-radius: 8px;
    padding: 1em;
}

.project-slide:nth-child(even) {
    flex-direction: row-reverse;
}

/* Responsive YouTube Video */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* */
.coming-soon-message {
    text-align: center;
    margin: 2em 0;

}

.coming-soon-message>h3 {
    color: #ff6f61;
    font-size: 1.5em;
}

/* About Me Section */
#about {
    text-align: center;
}

.about-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.about-profile-pic {
    width: 420px;
    height: 220px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.about-profile-text {
    max-width: 600px;
    text-align: center;
    color: #e0e0e0;
    background: #23233a;
    border-radius: 8px;
    padding: 1em;
}

/* Contact Section */
#contact {
    text-align: center;
}

.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-icons a {
    display: inline-block;
}

.contact-icons img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #23233a;
    padding: 4px;
}

#contact a {
    color: #4fd1c5;
    font-weight: 600;
    font-size: 1.08em;
    border-bottom: 2px solid #4fd1c5;
    padding-bottom: 2px;
}

#contact a:hover {
    color: #38b2ac;
    border-bottom: 2px solid #38b2ac;
}

a {
    color: #4fd1c5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #4fd1c5;
}

a:hover {
    color: #38b2ac;
    border-bottom: 1px solid #38b2ac;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #2c2c3f;
    margin-top: 40px;
    font-size: 0.95em;
    color: #e0e0e0;
}

/* animations */
@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.flashing {
    animation: flash 1s infinite;
}

/* Responsive */
@media (max-width: 900px) {
    .project-slide {
        flex-direction: column !important;
        padding: 20px 5px;
    }

    .project-slide img,
    .project-slide .project-text {
        width: 90%;
    }

    .cover h1 {
        font-size: 2em;
    }

    .cover p {
        font-size: 1em;
    }

    nav a {
        font-size: 1em;
        margin: 0 16px;
    }
}

.cover a.button:hover {
    background-color: #38b2ac;
    transform: translateY(-3px);
}

/* Intro */
.intro-text {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
    padding-top: 90px;
    color: #c0c0c0;
}

/* Section Titles */
section h2 {
    color: #ff6f61;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #4fd1c5;
    display: inline-block;
    padding-bottom: 5px;
}

section h3 {
    color: #ff6f61;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 30px;
}

/* Project Slides */
.project-slide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    margin-bottom: 30px;
    background-color: #2c2c3f;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.project-slide img {
    width: 40%;
    border-radius: 10px;
    margin: 10px;
    border: 2px solid #4fd1c5;
}

.project-slide .project-text {
    width: 45%;
    margin: 10px;
}

.project-slide h2 {
    color: #ff6f61;
    margin-bottom: 15px;
}

.project-slide p {
    margin-bottom: 10px;
    color: #c0c0c0;
}

.project-slide:nth-child(even) {
    flex-direction: row-reverse;
}

/* About & Contact */
#about p,
#contact p,
#contact a {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 15px auto;
    color: #c0c0c0;
}

#contact a {
    color: #4fd1c5;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.2s;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    font-size: 1.08em;
    border-bottom: 2px solid #4fd1c5;
    padding-bottom: 2px;
}

#contact a:hover {
    color: #38b2ac;
    text-shadow: 0 2px 12px #38b2ac99;
    border-bottom: 2px solid #38b2ac;
}

a {
    /* General anchor links in content */
    color: #4fd1c5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.2s;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    border-bottom: 1px dotted #4fd1c5;
}

a:hover {
    color: #38b2ac;
    text-shadow: 0 2px 12px #38b2ac99;
    border-bottom: 1px solid #38b2ac;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    background-color: #2c2c3f;
    margin-top: 50px;
    font-size: 0.9em;
    color: #c0c0c0;
}

/* Responsive */
@media (max-width: 900px) {
    .project-slide {
        flex-direction: column !important;
        padding: 30px 10px;
    }

    .project-slide img,
    .project-slide .project-text {
        width: 90%;
    }

    .cover h1 {
        font-size: 2.5em;
    }

    .cover p {
        font-size: 1.1em;
    }
}