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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f3f3f3;
    background: #2d202a;
    background-color: #2d202a;
    background-image:
        linear-gradient(120deg, rgba(56,38,44,0.22) 40%, transparent 40%),
        linear-gradient(240deg, rgba(44,30,36,0.18) 40%, transparent 40%),
        linear-gradient(60deg, rgba(70,50,60,0.13) 40%, transparent 40%),
        linear-gradient(180deg, rgba(38,28,40,0.13) 40%, transparent 40%),
        linear-gradient(135deg, rgba(70,50,60,0.10) 60%, transparent 60%),
        linear-gradient(-135deg, rgba(56,38,44,0.10) 60%, transparent 60%);
    background-size: 340px 340px;
    background-repeat: repeat;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1f2937;
    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 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e3b873;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #1d4ed8;
}

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

.nav-link {
    color: #f3f3f3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #e3b873;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    color: #f3f3f3;
    padding: 120px 0 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
}

.hero-content {
    flex: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e0b97d;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: #e3b873;
    border: 2px solid #e3b873;
}

.btn-primary:hover {
    background: #e3b873;
    color: #2d202a;
}

.btn-secondary {
    background: transparent;
    color: #e3b873;
    border: 2px solid #e3b873;
}

.btn-secondary:hover {
    background: #e3b873;
    color: #2d202a;
}

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

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e3b873;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    background: #3a2a3d;
}

.profile-placeholder {
    display: none;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

section:not(:last-of-type)::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e3b873 50%, transparent);
    opacity: 0.8;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #e3b873;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Lighter geometric background for sections */
.section-bg-light {
    background: #4a3a4d;
    background-image:
        linear-gradient(120deg, rgba(100,80,100,0.08) 40%, transparent 40%),
        linear-gradient(240deg, rgba(90,70,80,0.06) 40%, transparent 40%),
        linear-gradient(60deg, rgba(120,100,120,0.05) 40%, transparent 40%),
        linear-gradient(180deg, rgba(80,70,90,0.05) 40%, transparent 40%),
        linear-gradient(135deg, rgba(120,100,120,0.04) 60%, transparent 60%),
        linear-gradient(-135deg, rgba(100,80,100,0.04) 60%, transparent 60%);
    background-size: 340px 340px;
    background-repeat: repeat;
}

/* Remove white backgrounds from sections */
.about,
.projects,
.contact {
    background: none;
}

/* Remove white backgrounds from cards and forms */
.stat,
.timeline-content,
.project-card,
.contact-form {
    background: #4a3a4d;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid rgba(227,184,115,0.1);
}

/* Section padding and border tweaks for visual separation */
section {
    padding: 80px 0;
    position: relative;
    /* Use lighter geometric background for alternate sections */
}

section.section-bg-light:not(:last-of-type)::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e3b873 50%, transparent);
    opacity: 0.8;
}

/* About Section */

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #5a4a5d;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(31, 41, 55);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #d0d0d0;
    font-weight: 500;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
}

.timeline-content {
    background: #5a4a5d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: rgb(31, 41, 55);
    border-radius: 50%;
    border: 4px solid #5a4a5d;
    box-shadow: 0 0 0 4px #4a3a4d;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f3f3f3;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: rgb(31, 41, 55);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgb(31, 41, 55);
}

/* Projects Section */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: #5a4a5d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f3f3f3;
    margin-bottom: 1rem;
}

.project-content p {
    color: #d0d0d0;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

.tech-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}


/* Skills Section */
.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.tech-skill-btn {
    background: #5a4a5d;
    color: #f3f3f3;
    border: 2px solid #e3b873;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.tech-skill-btn:hover {
    background: #e3b873;
    color: #2d202a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(227, 184, 115, 0.3);
}

/* Contact Section */

.contact-content-simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-centered h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e3b873;
    margin-bottom: 1.5rem;
}

.contact-info-centered p {
    color: #d0d0d0;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

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

.social-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: #5a4a5d;
    border: 2px solid rgba(227, 184, 115, 0.3);
    border-radius: 16px;
    text-decoration: none;
    color: #f3f3f3;
    transition: all 0.3s ease;
    min-width: 140px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: inherit;
}

.social-link-large:hover {
    background: rgba(227, 184, 115, 0.1);
    border-color: #e3b873;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(227, 184, 115, 0.2);
}

.social-link-large i {
    font-size: 2.5rem;
    color: #e3b873;
    transition: all 0.3s ease;
}

.social-link-large:hover i {
    color: #f3f3f3;
    transform: scale(1.1);
}

.social-link-large span {
    font-size: 1rem;
    font-weight: 600;
    color: #d0d0d0;
    transition: color 0.3s ease;
}

.social-link-large:hover span {
    color: #e3b873;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding: 1.5rem;
        background: #5a4a5d;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }

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

    .tech-skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .tech-skill-btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 10px 16px;
    }

    .social-links-large {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .social-link-large {
        min-width: 200px;
        padding: 1.5rem;
    }

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

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.8rem;
    }

    .tech-skill-btn {
        min-width: 80px;
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    
    .social-links-large {
        gap: 1rem;
    }
    
    .social-link-large {
        min-width: 120px;
        padding: 1.2rem 1rem;
    }
    
    .social-link-large i {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Accent color update for gold-like highlights */
.section-title,
.nav-logo a,
.btn-primary,
.btn-secondary,
.nav-link.active,
.nav-link:hover {
    color: #e3b873 !important;
    border-color: #e3b873 !important;
}

.profile-image {
    border: 3px solid #e3b873;
} 