/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4a574;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4a574;
}

.nav-cta {
    background: #d4a574 !important;
    color: #0a0a0a !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #e0b88a !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 60px 60px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 80px;
}

.hero-text {
    flex: 1;
}

.hero-greeting {
    display: inline-block;
    font-size: 16px;
    color: #d4a574;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
}

.hero-name span {
    color: #d4a574;
}

.hero-tagline {
    font-size: 20px;
    color: #bbb;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-block;
    background: #d4a574;
    color: #0a0a0a;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e0b88a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d4a574;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #d4a574;
    background: rgba(212, 165, 116, 0.1);
}

.hero-contact-strip {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-contact-strip a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.hero-contact-strip a:hover {
    color: #d4a574;
}

.hero-contact-strip i {
    font-size: 14px;
    color: #d4a574;
}

.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-image-frame {
    width: 380px;
    height: 460px;
    border-radius: 200px 200px 30px 30px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border-radius: 200px 200px 30px 30px;
    border: 2px solid rgba(212, 165, 116, 0.3);
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #d4a574, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; width: 40px; }
    50% { opacity: 1; width: 60px; }
}

/* ===== SECTION COMMON ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
}

.section-label {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d4a574;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 60px;
    font-weight: 600;
    line-height: 1.2;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: #0f0f0f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 35px;
    line-height: 1.2;
}

.about-text h2 em {
    color: #d4a574;
    font-style: italic;
}

.about-text p {
    font-size: 16px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SKILLS / BENTO GRID ===== */
.skills {
    background: #0a0a0a;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bento-card {
    background: #141414;
    border: 1px solid #1e1e1e;
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover {
    border-color: rgba(212, 165, 116, 0.2);
    transform: translateY(-5px);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-icon i {
    font-size: 32px;
    color: #d4a574;
}

.bento-card h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.bento-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 20px;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bento-tags span {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== EXPERIENCE / TIMELINE ===== */
.experience {
    background: #0f0f0f;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, #d4a574, #333, transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 60px;
    display: flex;
    gap: 40px;
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 5px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0f0f0f;
    border: 2px solid #d4a574;
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a574;
}

.timeline-content {
    flex: 1;
    background: #141414;
    border: 1px solid #1e1e1e;
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    border-color: rgba(212, 165, 116, 0.2);
}

.timeline-date {
    font-size: 13px;
    color: #d4a574;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-company {
    font-size: 15px;
    color: #888;
    display: block;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 15px;
    color: #777;
    line-height: 1.8;
    margin-bottom: 20px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== EDUCATION ===== */
.education {
    background: #0a0a0a;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edu-card {
    background: #141414;
    border: 1px solid #1e1e1e;
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
}

.edu-card:hover {
    border-color: rgba(212, 165, 116, 0.2);
    transform: translateY(-5px);
}

.edu-primary {
    border-color: rgba(212, 165, 116, 0.3);
}

.edu-badge {
    display: inline-block;
    background: #d4a574;
    color: #0a0a0a;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.edu-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.edu-institution {
    display: block;
    font-size: 14px;
    color: #d4a574;
    margin-bottom: 6px;
    font-weight: 500;
}

.edu-date {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.edu-card p {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.edu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.edu-tags span {
    background: rgba(212, 165, 116, 0.08);
    color: #d4a574;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
    background: #0f0f0f;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    background: #141414;
    border: 1px solid #1e1e1e;
    border-radius: 24px;
    padding: 35px;
    text-decoration: none;
    display: block;
    transition: all 0.4s ease;
    position: relative;
}

.cert-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.1);
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(212, 165, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cert-icon i {
    font-size: 28px;
    color: #d4a574;
}

.cert-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.cert-card p {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.cert-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #d4a574;
    font-weight: 500;
}

.cert-action i {
    font-size: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f0f0f;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #d4a574;
    width: 50px;
    height: 50px;
    border: 2px solid #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand p {
    font-size: 16px;
    color: #888;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4a574;
}

.footer-links i {
    color: #d4a574;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    font-size: 13px;
    color: #444;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline-item.animate-in {
    transform: translateX(-30px);
}

.timeline-item.animate-in.visible {
    transform: translateX(0);
}

/* Stagger animation delays */
.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }

.bento-card:nth-child(1) { transition-delay: 0s; }
.bento-card:nth-child(2) { transition-delay: 0.1s; }
.bento-card:nth-child(3) { transition-delay: 0.2s; }
.bento-card:nth-child(4) { transition-delay: 0.3s; }

.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.15s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.45s; }

.edu-card:nth-child(1) { transition-delay: 0s; }
.edu-card:nth-child(2) { transition-delay: 0.1s; }
.edu-card:nth-child(3) { transition-delay: 0.2s; }

.cert-card:nth-child(1) { transition-delay: 0s; }
.cert-card:nth-child(2) { transition-delay: 0.1s; }
.cert-card:nth-child(3) { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-name {
        font-size: 56px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-contact-strip {
        justify-content: center;
    }

    .hero-image-frame {
        width: 280px;
        height: 340px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .section-heading {
        font-size: 36px;
    }

    .about-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 25px 60px;
    }

    .hero-name {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .section-container {
        padding: 80px 25px;
    }

    .section-heading {
        font-size: 30px;
    }

    .about-text h2 {
        font-size: 30px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 25px 20px;
    }

    .footer-bottom {
        padding: 15px 25px;
    }

    .hero-image-frame {
        width: 220px;
        height: 280px;
    }

    .hero-image-accent {
        top: 15px;
        left: 15px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a574;
}
