/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --clr-navy: #0F172A;
    --clr-navy-light: #1E293B;
    --clr-gold: #C09B66;
    --clr-gold-light: #D4AF37;
    --clr-gold-hover: #A6804F;
    --clr-slate: #F8FAFC;
    --clr-text-main: #334155;
    --clr-text-light: #64748B;
    --clr-text-white: #F8FAFC;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed navbar */
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-main);
    background-color: var(--clr-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-serif);
    color: var(--clr-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

.bg-alt {
    background-color: #FFFFFF;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--clr-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 155, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--clr-gold);
    color: var(--clr-gold);
}

.btn-outline:hover {
    background-color: var(--clr-gold);
    color: white;
}

.btn-linkedin {
    background-color: #0A66C2;
    color: white;
}

.btn-linkedin:hover {
    background-color: #004182;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--clr-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.logo-dc {
    background: var(--clr-navy);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 1px;
}

.logo-text strong {
    color: var(--clr-gold);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-navy-light);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-light);
    font-weight: 600;
    transition: color 0.3s;
}

.lang-switch button.active {
    color: var(--clr-gold);
}

.separator {
    color: var(--clr-text-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-navy);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: white;
    border-top: 1px solid #eee;
}

.mobile-nav.open {
    display: flex;
    gap: 1rem;
}

.lang-switch-mobile {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.lang-switch-mobile button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-weight: 600;
}

.lang-switch-mobile button.active {
    background: var(--clr-gold);
    color: white;
    border-color: var(--clr-gold);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(192, 155, 102, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.greeting {
    color: var(--clr-gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease backwards;
}

.name {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--clr-text-light);
    font-family: var(--font-sans);
    font-weight: 400;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 1s ease 0.5s backwards;
}

.hero-image-bg {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 100%;
    height: 100%;
    background-color: var(--clr-navy);
    border-radius: 20px;
    z-index: -1;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image-bg {
    transform: rotate(5deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.experience-badge .highlight {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--clr-navy);
}

.quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--clr-gold);
    font-style: italic;
    border-left: 4px solid var(--clr-gold);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
}

.stat-card .icon {
    background-color: rgba(192, 155, 102, 0.1);
    color: var(--clr-gold);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 11px;
    width: 20px;
    height: 20px;
    background-color: var(--clr-gold);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(192, 155, 102, 0.3);
}

.timeline-date {
    font-weight: 600;
    color: var(--clr-gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.timeline-content .company {
    font-family: var(--font-sans);
    color: var(--clr-navy-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content .location {
    display: inline-block;
    background: rgba(15, 23, 42, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.duties {
    list-style: none;
}

.duties li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.duties li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-gold);
    font-weight: bold;
}

/* ==========================================================================
   Education Section
   ========================================================================== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.edu-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.edu-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--clr-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-icon i {
    width: 28px;
    height: 28px;
}

.edu-date {
    color: var(--clr-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.edu-card .company {
    font-family: var(--font-sans);
    color: var(--clr-text-light);
    font-size: 1rem;
    font-weight: 400;
}

.edu-card .grade {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(192, 155, 102, 0.1);
    color: var(--clr-gold-hover);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--clr-navy);
}

.category-title i {
    color: var(--clr-gold);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tags span {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tags span:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-color: var(--clr-gold);
    color: var(--clr-navy);
}

.skill-tags .lang-tag {
    background: var(--clr-navy);
    color: white;
    border: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-navy);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-dc {
    background: white;
    color: var(--clr-navy);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--clr-gold);
}

.contact-item:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tagline {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .experience-badge {
        left: -10px;
        bottom: -10px;
        padding: 0.8rem 1rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-dot {
        left: 6px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
}
