/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: rgba(40,40,40,255);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(40,40,40,0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: yellow;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: yellow;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(40,40,40,255);
    color: white;
    padding: 0 1rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    text-align: left;
}

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

.social-links-hero .social-icon {
    color: #c0c0c0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links-hero .social-icon:hover {
    transform: translateY(-5px);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-picture {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-content .hello-world {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: bold;
    white-space: nowrap;
}

.hero-content .name-line {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.4;
}

.hero-content p:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p:last-child {
    font-size: 1.8rem;
}

.hero-content p br {
    display: block;
    margin: 0.5rem 0;
}

.hero-content p br:last-child {
    font-size: 1.2rem;
}

.hero-content p br:last-child + br {
    font-size: 1.2rem;
}

.typing-text {
    font-size: 1.8rem;
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
    min-width: 200px;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #6c5ce7;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 5rem 10%;
    background-color: rgba(40,40,40,255);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skills li {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background-color: rgba(40,40,40,255);
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.project-card:first-child {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:first-child h3 {
    color: #c0c0c0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-card:first-child p {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-card a {
    text-decoration: none;
    color: white;
    display: block;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h3 {
    color: yellow !important;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 600;
}

.project-card p {
    color: white !important;
    margin-bottom: 0;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 1.1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(192, 192, 192, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: rgba(192, 192, 192, 0.3);
    transform: translateY(-2px);
}

/* Mobile Optimizations */
@media screen and (max-width: 768px) {
    .projects {
        padding: 3rem 5%;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .project-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .project-card img {
        height: 180px;
    }

    .project-card h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .project-card p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .project-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: rgba(40,40,40,255);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 30px;
        display: block;
        color: white;
        transition: color 0.3s ease;
        text-decoration: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: yellow;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .burger {
        display: block;
    }

    .nav-active {
        display: flex;
        right: 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        padding-right: 0;
        width: 100%;
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
        padding-right: 2rem;
    }

    .profile-picture {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about-content,
    .contact-content {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .projects {
        padding: 3rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .project-grid {
        padding: 0;
        width: 100%;
    }

    .project-card {
        margin: 0 1rem 1.5rem;
        width: calc(100% - 2rem);
    }
}

@media screen and (max-width: 480px) {
    .projects {
        padding: 2rem 3%;
    }

    .project-grid {
        gap: 1rem;
        padding: 0.5rem;
    }

    .project-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .project-card img {
        height: 160px;
    }

    .project-card h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .project-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .project-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .hero-image {
        padding-right: 1rem;
    }

    .profile-picture {
        width: 200px;
        height: 200px;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-links a {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    background-color: rgba(40,40,40,255);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

.submit-btn {
    padding: 1rem;
    background-color: rgba(60,60,60,255);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: rgba(80,80,80,255);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: yellow;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(40,40,40,255);
    color: white;
}

/* Mobile Navigation */
.burger {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

.burger.toggle div {
    background-color: yellow;
}

/* Animation Classes */
.nav-active {
    right: 0;
}

.journalism {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.journalism-content {
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.article-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.article-link:hover {
    background-color: #0056b3;
}

.about, footer {
    display: none;
}

.projects, .contact {
    background-color: rgba(40,40,40,255);
}

.project-detail {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(40,40,40,255);
}

.project-detail h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.project-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: yellow;
}

.project-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: white;
}

.project-description ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: white;
}

.project-description li {
    margin-bottom: 0.5rem;
    color: white;
}

.project-images {
    margin-top: 3rem;
}

.project-images h3 {
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.image-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.image-caption {
    padding: 1.5rem;
}

.image-caption h4 {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.image-caption p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.main-image {
    grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-container img {
        height: 300px;
    }

    .main-image img {
        height: 400px;
    }
}

.about-section {
    padding: 120px 20px 60px;
    background-color: rgba(40,40,40,255);
    min-height: 100vh;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    position: sticky;
    top: 100px;
}

.about-profile-picture {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-content {
    flex: 2;
    color: white;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
}

.about-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: yellow;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.skill-item span {
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

@media screen and (max-width: 968px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        position: static;
        margin-bottom: 2rem;
    }

    .about-profile-picture {
        width: 300px;
        height: 300px;
    }

    .about-content {
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.about-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.about-block:hover {
    transform: translateY(-5px);
}

.about-block p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
}

.development-status, .project-vision {
    background: rgba(40, 40, 40, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.development-status h3, .project-vision h3 {
    color: #4a90e2;
    margin-bottom: 15px;
}

.development-status ul, .project-vision ul {
    list-style-type: none;
    padding-left: 20px;
}

.development-status li, .project-vision li {
    margin: 10px 0;
    position: relative;
}

.development-status li:before, .project-vision li:before {
    content: "→";
    color: #4a90e2;
    position: absolute;
    left: -20px;
}

.image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay span {
    color: white;
    font-size: 1.1rem;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: auto;
}

.close-lightbox {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1200;
}

.close-lightbox:hover {
    color: #4a90e2;
}

.main-image img {
    height: 600px;
}

@media screen and (max-width: 768px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: 90vh;
    }
}

.hidden {
    display: none;
}

/* Contact Form Success Message */
.form-success {
    color: #4CAF50;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.form-success.show {
    display: block;
}

/* Player Profile Container Styles */
.player-profile-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.player-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.player-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.performance-analysis-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.analytics-container {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analytics-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.analytics-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .player-header {
        grid-template-columns: 1fr;
    }
    
    .analytics-container {
        width: 100%;
    }
    
    .analytics-content {
        grid-template-columns: 1fr;
    }

    .player-profile-container {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .performance-analysis-section {
        flex-direction: column;
        gap: 1rem;
    }
}

.social-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-radius: 30px;
    margin: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    color: #00feba;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 24px;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(40,40,40,255);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.menu-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-links a:hover,
.menu-links a.active {
    color: yellow;
}

.menu-active .menu-links {
    right: 0;
}

.menu-active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navbar {
        justify-content: space-between;
        padding: 1rem;
    }

    /* Hero section mobile styles */
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        padding-right: 0;
        width: 100%;
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
        padding-right: 2rem;
    }

    .profile-picture {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .menu-links {
        width: 80%;
    }

    .hero-image {
        padding-right: 1rem;
    }

    .profile-picture {
        width: 200px;
        height: 200px;
    }
} 