* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fef3e2 0%, #fae8d0 100%);
    position: relative;
}

/* Fall leaves animation */
body::before {
    content: '🍂';
    position: fixed;
    top: -50px;
    left: 10%;
    font-size: 2rem;
    animation: fall 15s infinite;
    opacity: 0.3;
    z-index: -1;
}

body::after {
    content: '🍁';
    position: fixed;
    top: -50px;
    right: 10%;
    font-size: 2rem;
    animation: fall 18s infinite 3s;
    opacity: 0.3;
    z-index: -1;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

header {
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.header-links {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #8b5a3c 0%, #6b4423 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 90, 60, 0.4);
}

nav {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #f4ddc4;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: #b85c3f;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #d97757;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #8b5a3c;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    border-radius: 2px;
}

/* About section */
.about {
    background: rgba(255, 248, 240, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
    border: 2px solid #f4ddc4;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '🍂';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    opacity: 0.1;
}

.about p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    text-align: left;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.skill-tag {
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(139, 90, 60, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(139, 90, 60, 0.4);
}

/* Easter egg button */
.easter-egg-btn {
    margin-top: 2rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #fff8f0 0%, #fae8d0 100%);
    border: 2px dashed #d97757;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8b5a3c;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.easter-egg-btn:hover {
    background: linear-gradient(135deg, #fae8d0 0%, #f4ddc4 100%);
    border-color: #b85c3f;
    transform: scale(1.05);
}

/* Currently Seeking section */
.seeking-section {
    margin: 4rem 0;
}

.seeking-card {
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, rgba(184, 92, 63, 0.1) 100%);
    border: 3px solid #d97757;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(139, 90, 60, 0.2);
    position: relative;
    overflow: hidden;
}

.seeking-card::before {
    content: '🎯';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
}

.seeking-card h2 {
    color: #b85c3f;
    margin-bottom: 1.5rem;
}

.seeking-card h2::after {
    background: #d97757;
}

.seeking-card p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.seeking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: white;
    color: #b85c3f;
    text-decoration: none;
    border: 2px solid #d97757;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(139, 90, 60, 0.3);
}

/* Experience section */
#experience {
    margin: 4rem 0;
}

.experience-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.experience-card {
    background: rgba(255, 248, 240, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid #f4ddc4;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
}

.experience-card:hover {
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transform: translateY(-5px);
    border-color: #d97757;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-header h3 {
    margin: 0;
    color: #8b5a3c;
    font-size: 1.5rem;
}

.date {
    color: #d97757;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(217, 119, 87, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.company {
    color: #666;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.description {
    color: #555;
    line-height: 1.7;
}

/* Projects section */
/* .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
} */

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

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

.project-card {
    background: rgba(255, 248, 240, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid #f4ddc4;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(217, 119, 87, 0.05) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.project-card:hover::before {
    top: -60%;
    right: -60%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
    border-color: #d97757;
}

.project-card.featured {
    border: 3px solid #d97757;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.95) 0%, rgba(250, 232, 208, 0.95) 100%);
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #b85c3f;
    position: relative;
    z-index: 1;
}

.badge {
    font-size: 0.75rem;
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    margin-left: 0.5rem;
}

.project-card p {
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.tech-stack {
    font-size: 0.95rem;
    color: #8b5a3c;
    font-weight: 600;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #f4ddc4;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.project-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #d97757 0%, #b85c3f 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 90, 60, 0.3);
    flex: 1;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 60, 0.4);
}

.project-link-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #b85c3f;
    text-decoration: none;
    border: 2px solid #d97757;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.project-link-secondary:hover {
    background: #f4ddc4;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #6b4423 0%, #4a2f1a 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}

footer h2 {
    color: #fae8d0;
}

footer h2::after {
    background: #d97757;
}

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

.contact-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
}

.contact-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1.1rem;
    }

    nav ul {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.9rem;
    }

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

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

    .project-links {
        flex-direction: column;
    }

    h2 {
        font-size: 2rem;
    }

    .about {
        padding: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #d97757;
    color: white;
}