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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000000;
    background: linear-gradient(135deg, #C19A6B 0%, #8B7355 50%, #654321 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
#header {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    color: #000000;
    padding: 60px 0;
    text-align: center;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #654321;
    text-shadow: 0 0 20px rgba(101, 67, 33, 0.5);
}

#header p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: #000000;
}

.contact-info p {
    display: inline-block;
    margin: 0 20px;
    font-size: 1.1rem;
    background: rgba(193, 154, 107, 0.2);
    padding: 10px 15px;
    border-radius: 25px;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.social-links a {
    color: #000000;
    font-size: 2.2rem;
    margin: 0 15px;
    transition: all 0.3s;
    background: rgba(193, 154, 107, 0.2);
    padding: 15px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.social-links a:hover {
    color: #fff;
    background: #654321;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

/* Navigation */
#navbar {
    background: rgba(193, 154, 107, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 20px 20px;
    margin: 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

#navbar li {
    margin: 0 20px;
}

#navbar a {
    color: #000000;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
    border-radius: 25px;
}

#navbar a:hover {
    color: #fff;
    background: #654321;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Sections */
.section {
    padding: 80px 0;
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
    border-radius: 20px;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
}

.section:nth-child(even) {
    background: rgba(193, 154, 107, 0.9);
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: #654321;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(101, 67, 33, 0.5);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    margin-bottom: 15px;
    color: #654321;
    text-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    background: rgba(193, 154, 107, 0.2);
    margin: 5px 0;
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #000000;
}

/* Experience */
.experience-item {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    border-left: 5px solid #654321;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.experience-item h3 {
    color: #654321;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: rgba(193, 154, 107, 0.98);
}

.project-card h3 {
    color: #654321;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
}

/* Certifications */
.certification-item {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.certification-item h3 {
    color: #654321;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
    font-weight: 600;
}

.cert-link {
    display: inline-block;
    background: rgba(193, 154, 107, 0.8);
    color: #654321;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.cert-link:hover {
    background: #654321;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

/* Activities */
.activity-item {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
}

.activity-item h3 {
    color: #654321;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
}

/* Contact */
#contact {
    text-align: center;
}

.cta-buttons {
    margin: 30px 0;
}

.btn {
    display: inline-block;
    background: rgba(193, 154, 107, 0.8);
    color: #654321;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background: #654321;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea {
    margin: 10px 0;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(193, 154, 107, 0.8);
    color: #000000;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #654321;
    box-shadow: 0 0 10px rgba(101, 67, 33, 0.3);
}

#contact-form button {
    align-self: flex-start;
    margin-top: 20px;
    background: rgba(193, 154, 107, 0.8);
    color: #654321;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

#contact-form button:hover {
    background: #654321;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

/* Footer */
footer {
    background: rgba(193, 154, 107, 0.95);
    backdrop-filter: blur(20px);
    color: #000000;
    text-align: center;
    padding: 30px 0;
    border-radius: 20px 20px 0 0;
    margin: 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    #header {
        padding: 40px 0;
        margin: 10px;
    }

    #header h1 {
        font-size: 2.5rem;
    }

    #header p {
        font-size: 1.1rem;
    }

    .contact-info p {
        display: block;
        margin: 5px 0;
        font-size: 1rem;
    }

    .social-links a {
        font-size: 1.8rem;
        padding: 12px;
        margin: 0 10px;
    }

    #navbar {
        margin: 0 10px;
    }

    #navbar ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(193, 154, 107, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-top: none;
        z-index: 1000;
    }

    #navbar li {
        margin: 0;
        width: 100%;
    }

    #navbar a {
        padding: 15px 20px;
        border-radius: 0;
    }

    .section {
        padding: 60px 0;
        margin-left: 10px;
        margin-right: 10px;
    }

    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

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

    .experience-item,
    .project-card,
    .certification-item,
    .activity-item {
        padding: 20px;
    }

    .experience-item h3,
    .project-card h3,
    .certification-item h3,
    .activity-item h3 {
        font-size: 1.2rem;
    }

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

    .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px 0;
        text-align: center;
    }

    #contact-form {
        max-width: 100%;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    #contact-form button {
        align-self: center;
        width: 100%;
        max-width: 300px;
    }

    footer {
        margin: 0 10px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    #header h1 {
        font-size: 2rem;
    }

    #header p {
        font-size: 1rem;
    }

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

    .experience-item,
    .project-card,
    .certification-item,
    .activity-item {
        padding: 15px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

.project-card:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.project-card:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}
