:root {
    /* Color Palette from User */
    --bg-dark: #1A0A04; /* Darker tone of Beauty Brass for deep background */
    --beauty-brass: #441004;
    --ancient-bronze: #79380B;
    --cobre: #AD6D15;
    --gilded-bronze: #C97E3C;
    --golden-glamor: #EFBB55;
    --lustrous-gold: #F3C17D;
    --light-scatter: #FEE39F;
    --shining-side: #FBF5D2;
    --beige-radiance: #FAE2C8;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--beige-radiance);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Lighting (Glows) */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.light-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--ancient-bronze), transparent 70%);
    top: -100px;
    left: -100px;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cobre), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--shining-side);
    letter-spacing: 2px;
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--golden-glamor), var(--gilded-bronze));
    color: var(--bg-dark);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 187, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 187, 85, 0.5);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Main Container & Hero */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(239, 187, 85, 0.1);
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(18, 7, 2, 0.6) 0%, rgba(18, 7, 2, 0.95) 100%);
    z-index: 0;
}

.hero-wrapper > * {
    position: relative;
    z-index: 1;
}

.hero {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* balanced padding */
    padding-bottom: 80px;
}

/* Glassmorphism Card */
.glass-card {
    background: transparent;
    border: none;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.glass-card-sm::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 0) var(--mouse-y, 0), 
        rgba(239, 187, 85, 0.1),
        transparent 40%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-card-sm:hover::before {
    opacity: 1;
}

.glass-card-sm:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 187, 85, 0.3);
}

/* Profile Placeholder */
.profile-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ancient-bronze), var(--beauty-brass));
    border: 3px solid var(--golden-glamor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--shining-side);
    box-shadow: 0 10px 25px rgba(239, 187, 85, 0.2);
}

/* Typography elements */
.glow-text {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--shining-side), var(--lustrous-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--light-scatter);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.bio {
    font-size: 1.05rem;
    color: var(--beige-radiance);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.bio p {
    margin-bottom: 1rem;
}

/* Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.tag {
    background: rgba(121, 56, 11, 0.3); /* Ancient Bronze with opacity */
    border: 1px solid rgba(239, 187, 85, 0.3);
    color: var(--light-scatter);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(121, 56, 11, 0.6);
    border-color: var(--golden-glamor);
    transform: translateY(-2px);
}

/* Bottom Navigation */
.bottom-nav {
    text-align: center;
    padding-bottom: 4rem;
}

.bottom-nav p {
    margin-bottom: 1rem;
    color: var(--gilded-bronze);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
    100% { transform: translate(-20px, 50px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

/* Contact Info */
.contact-info {
    font-size: 0.95rem;
    color: var(--light-scatter);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Resume Layout */
.resume-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.resume-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resume-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.glass-card-sm {
    background: rgba(26, 10, 4, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 227, 159, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

/* Background grain */
.bg-grain {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--shining-side);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(239, 187, 85, 0.2);
    padding-bottom: 0.8rem;
}

/* Experience */
.experience-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--golden-glamor);
    margin-bottom: 0.2rem;
}

.experience-card h5 {
    font-size: 1rem;
    color: var(--beige-radiance);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exp-date {
    font-size: 0.85rem;
    color: var(--gilded-bronze);
    text-align: right;
}

.exp-list {
    list-style-type: none;
}

.exp-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--beige-radiance);
    opacity: 0.85;
}

.exp-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--cobre);
    font-weight: bold;
}

/* Skills, Edu, Lang */
.sidebar-section {
    margin-bottom: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--golden-glamor);
    margin-bottom: 0.3rem;
}

.edu-degree {
    font-size: 0.95rem;
    color: var(--beige-radiance);
    margin-bottom: 0.3rem;
}

.edu-date {
    font-size: 0.85rem;
    color: var(--gilded-bronze);
}

.lang-list {
    list-style: none;
}

.lang-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.lang-list strong {
    color: var(--beige-radiance);
    font-weight: 500;
}

.lang-list span {
    color: var(--gilded-bronze);
    font-size: 0.85rem;
}


/* Responsive */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
    
    .profile-placeholder {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    .resume-grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        flex-direction: column;
    }

    .exp-date {
        text-align: left;
        margin-top: 0.5rem;
    }
}
