/* ============================================
   PORTFOLIO STYLESHEET
   Customizable color scheme and theme
   ============================================ */

/* CSS Variables - Colors from UI details */
:root {
    --color-dark: #33333f;
    --color-primary: #1c4ea7;
    --color-secondary: #486d83;
    --color-dark-teal: #024D60;
    --color-teal: #2CACAD;
    --color-light-teal: #75E2E0;
    --color-bg-light: #D9F5F0;
    --color-white:#ffffff;
    --font-family: 'Space Grotesk', 'Google Sans Code', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark);
    color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(51, 51, 63, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-teal);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-bg-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-light-teal);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-light-teal);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-bg-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-teal) 100%);
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 172, 173, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-teal);
    box-shadow: 0 10px 40px rgba(44, 172, 173, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-text {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-name ,.hero-greeting{
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: 2px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color:  var(--color-white);;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color:  var(--color-white);;
    max-width: 600px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 20px;
}
#about{
    background-color: var(--color-dark);

}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-light-teal);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-light-teal));
    border-radius: 2px;
}

/* Skills Section */
.skills {
    background-color: var(--color-dark-teal);
}

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

.skill-card {
    background: rgba(44, 172, 173, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(117, 226, 224, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-light-teal);
    box-shadow: 0 10px 30px rgba(117, 226, 224, 0.2);
}

.skill-category {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-light-teal);
    margin-bottom: 1rem;
}

.skill-items {
    color: var(--color-bg-light);
    line-height: 1.8;
}

/* Languages Section */
.languages {
    background-color: var(--color-dark);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.language-card {
    background: rgba(117, 226, 224, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(117, 226, 224, 0.1);
    transition: all 0.3s ease;
}

.language-card:hover {
    background: rgba(117, 226, 224, 0.1);
    transform: translateY(-3px);
}

.language-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.language-proficiency {
    color: var(--color-bg-light);
    font-size: 0.9rem;
}

/* Experience Section */
.experience {
    background-color: var(--color-dark-teal);
}

.experience-list {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background: rgba(44, 172, 173, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-teal);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.experience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(117, 226, 224, 0.2);
}

.experience-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-teal);
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.1rem;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.experience-duration {
    font-size: 0.9rem;
    color: var(--color-bg-light);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--color-bg-light);
    line-height: 1.8;
}

.experience-image-wrapper {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    max-height: 300px;
}

.experience-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.experience-item:hover .experience-image {
    transform: scale(1.05);
}

/* Projects Section */
.projects {
    background-color: var(--color-dark);
}

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

.project-card {
    background: rgba(117, 226, 224, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(117, 226, 224, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-light-teal);
    box-shadow: 0 10px 30px rgba(117, 226, 224, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-teal);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--color-bg-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(44, 172, 173, 0.2);
    color: var(--color-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(117, 226, 224, 0.3);
}

.project-link {
    display: inline-block;
    color: var(--color-light-teal);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.project-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: var(--color-teal);
}

.project-link:hover::after {
    transform: translateX(5px);
}


/* About Section */
.about {
    background-color: var(--color-dark);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-bg-light);
    text-align: center;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--color-dark);
    background-image: url('Resources/philosophy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 63, 0.85);
    z-index: 0;
}

.philosophy .container {
    position: relative;
    z-index: 1;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-item {
    background: rgba(117, 226, 224, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(117, 226, 224, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.philosophy-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-light-teal);
    box-shadow: 0 10px 30px rgba(117, 226, 224, 0.2);
    background: rgba(117, 226, 224, 0.1);
}

.philosophy-icon {
    font-size: 2rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.philosophy-text {
    color: var(--color-bg-light);
    line-height: 1.8;
    font-size: 1rem;
    flex: 1;
}

/* Resume Section */
.resume {
    background-color: var(--color-dark-teal);
}

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

.resume-download {
    background: rgba(44, 172, 173, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--color-teal);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resume-download:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(117, 226, 224, 0.2);
}

.resume-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.resume-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-teal);
    margin-bottom: 0.5rem;
}

.resume-description {
    font-size: 1rem;
    color: var(--color-bg-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.resume-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(44, 172, 173, 0.2);
    color: var(--color-light-teal);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--color-teal);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: flex-start;
}

.resume-download-button:hover {
    background: rgba(117, 226, 224, 0.3);
    border-color: var(--color-light-teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(117, 226, 224, 0.3);
}

.resume-download-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Contact Section */
.contact {
    background-color: var(--color-dark);
    background-image: url('Resources/photo-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 63, 0.7);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-bg-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-bg-light);
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(44, 172, 173, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(117, 226, 224, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    background: rgba(117, 226, 224, 0.2);
    transform: translateY(-3px);
    color: var(--color-light-teal);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer */
.footer {
    background-color: var(--color-dark);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 2rem 0;
    text-align: center;
    color: var(--color-bg-light);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 63, 0.7);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(51, 51, 63, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-image {
        max-width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-item {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
