/* ===== VARIABLES ===== */
:root {
    --primary-color: #0f172a;
    --primary-color-light: #1e293b;
    --primary-color-dark: #020617;
    --accent-color: #3b82f6;
    --accent-color-hover: #2563eb;
    --text-color: #f8fafc;
    --text-color-muted: #94a3b8;
    --background-color: #020617;
    --card-background: rgba(30, 41, 59, 0.7);
    --border-color: #1e293b;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -15px rgba(2, 6, 23, 0.5);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --max-width: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: transparent;
    min-height: 100%;
}

/* Parallax Background Container */
.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%; /* Increased height to ensure coverage when scrolling */
    background-image: url('images/waterfall-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
}

/* Content wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, 
        rgba(2, 6, 23, 0.7) 0%,
        rgba(2, 6, 23, 0.65) 50%,
        rgba(2, 6, 23, 0.7) 100%);
}

/* Make cards more transparent to see background better */
.profile-card, 
.about-card, 
.experience-card, 
.skills-card, 
.interest-item, 
.language-item, 
.contact-info, 
.contact-form {
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(5px);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--accent-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--accent-color-hover);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.secondary-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Remove the section::before that was adding a background overlay */
section::before {
    content: none;
}

/* Add section background styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.about {
    position: relative;
}

.experience {
    position: relative;
}

.skills {
    position: relative;
}

.contact {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-color-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color-muted);
}

.nav-links a:hover {
    color: var(--text-color);
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-color-dark);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .menu-btn {
        display: block;
    }
}

/* ===== HERO SECTION ===== */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    color: var(--accent-color);
    display: block;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-color-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-text p {
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color-light);
    color: var(--text-color-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.profile-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.profile-info h3 {
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-item .label {
    color: var(--text-color-muted);
    width: 100px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.about-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-color-muted);
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-list li {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.education-list li:first-child {
    border-left-color: var(--accent-color);
}

.education-list h4 {
    margin-bottom: 0.25rem;
}

.education-list p {
    color: var(--text-color-muted);
    margin-bottom: 0.25rem;
}

.education-list .note {
    font-size: 0.875rem;
    opacity: 0.8;
}

.interests h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.interest-item {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

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

.interest-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.interest-item h4 {
    margin-bottom: 0.5rem;
}

.interest-item p {
    color: var(--text-color-muted);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ===== EXPERIENCE SECTION ===== */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color-muted);
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--accent-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.experience-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.experience-info {
    flex: 1;
}

.experience-info h3 {
    margin-bottom: 0.5rem;
}

.experience-info .company {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.experience-info .description {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.experience-meta {
    min-width: 180px;
    text-align: right;
}

.meta-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-muted);
}

/* ===== SKILLS SECTION ===== */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.skills-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.skills-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skills-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 8px;
    background-color: var(--primary-color-light);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    min-width: 0%;
    will-change: width;
}

.soft-skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.soft-skills li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color-muted);
}

.soft-skills li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

.languages h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.language-item {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
}

.language-item h4 {
    margin-bottom: 0.5rem;
}

.language-item p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item a, .info-item p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.connect {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.connect h4 {
    margin-bottom: 0.5rem;
}

.connect p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color-muted);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-color-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-color-muted);
    opacity: 0.7;
}

.contact-form .primary-btn {
    margin-top: 1rem;
}

.contact-form .primary-btn i {
    margin-left: 0.5rem;
}

/* Success message */
.success-message {
    padding: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
    text-align: center;
    color: #10b981;
}

.error-message {
    padding: 1rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius-sm);
    margin-top: 1rem;
    text-align: center;
    color: #ef4444;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

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

.footer-logo .logo {
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-color-muted);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.footer-links ul {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-color-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color-muted);
    font-size: 0.875rem;
}

/* Photo credit */
.photo-credit {
    text-align: center;
    padding: 1rem 0;
    background-color: rgba(2, 6, 23, 0.95);
    font-size: 0.75rem;
    color: var(--text-color-muted);
}

.photo-credit a {
    color: var(--accent-color);
}

.photo-credit a:hover {
    text-decoration: underline;
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .experience-card {
        flex-direction: column;
    }

    .experience-meta {
        text-align: left;
    }

    .meta-item {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .hero-content,
    .about-content,
    .skills-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

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

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-buttons {
        flex-direction: column;
    }
} 