* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --dark-yellow: #FFA500;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #333;
    --white: white;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--primary-yellow);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark-gray);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-yellow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color;
    font-weight: 500;
    
}

 .nav-links a:hover {
    color: var(--white);

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-yellow);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-content {
    flex: 1;
    text-align: left;
    color: white;
    
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-yellow);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: slideDown 1s ease-out;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder if no image */
.profile-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--primary-yellow);
    background: linear-gradient(135deg, var(--primary-yellow), var(--dark-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: slideDown 1s ease-out;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideDown 1s ease-out;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--dark-yellow);
    margin-bottom: 2rem;
    animation: slideUp 1s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-yellow);
    background-color: transparent;
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
}

.btn:hover {
    background-color: var(--primary-yellow);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--dark-yellow);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-yellow);
}


/* About Section  right*/
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* LEFT SIDE (About Text) */
.about-text {
    flex: 1;
}

/* RIGHT SIDE (Education) */
.education {
    flex: 1;
}


.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.about-text p {
    margin-bottom: 1rem;
    color: #ddd;
    line-height: 1.8;
}

.about-section {
    background: #000;
    color: #fff;
    padding: 80px 10%;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}



/* Education Styling  left */
.edu-heading {
    color: #ffd700;
    margin-bottom: 30px;
    text-align: center;
 
}

.edu-track {
    border-left: 2px solid #ffd700;
    padding-left: 20px;
}

.edu-item {
    position: relative;
    margin-bottom: 30px;
}

.edu-circle {
    position: absolute;
    left: -31px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 50%;
}

.edu-card {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.edu-card:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-5px);
}

.edu-year {
    color: #ffd700;
    font-weight: bold;
}
.edu-item h3{
    color: white;
}

.cv-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid #ffd700;
    color: #ffd700;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.cv-btn:hover {
    background: #ffd700;
    color: #000;
}


/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-bar {
    background-color: var(--light-gray);
    height: 10px;
    border-radius: 5px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--primary-yellow), var(--dark-yellow));
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-gray), var(--dark-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-yellow);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-info p {
    color: #ddd;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background-color: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-yellow);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--dark-yellow);
}

/* Experience/Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-yellow);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background-color: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--dark-yellow);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #ddd;
}

/* Contact Section */
#contact {
    padding: 80px 20px;
}

.contact-content {
    display: flex;              /* grid hata do */
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    width: 50%;
}

.contact-info {
    width: 50%;
    margin-top: 5px;
}



.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    background-color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    color: var(--primary-yellow);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
   
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--dark-gray);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-yellow);
}

.contact-item h4 {
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #ddd;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-yellow);
    transition: fill 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-yellow);
    color: var(--black);
    transform: translateY(-5px);
}

.social-icon:hover svg {
    fill: var(--black);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-yellow);
}

footer p {
    color: #ddd;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-yellow);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--dark-yellow);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-gray);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text-content {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .profile-photo,
    .profile-photo-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-text {
        width: 100%;
    }

    .education {
        width: 100%;
        margin-top: 40px;
    }

}

   @media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .profile-photo,
    .profile-photo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}