/* =========================================
   LUXURY NOIR DESIGN SYSTEM
   ========================================= */

:root {
    --bg-main: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    
    --gold: #d4af37;
    --gold-hover: #b5952f;
    
    --text-white: #e5e5e5;
    --text-gray: #9ca3af;
    --text-dark: #000000;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dim: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s ease-in-out;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-sm {
    max-width: 800px;
}
.text-center { text-align: center; }
.position-relative { position: relative; z-index: 10; }

/* =========================================
   COMPONENTS
   ========================================= */

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dim);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.gold-dot {
    color: var(--gold);
}

.nav-links {
    display: none;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.nav-links a:hover {
    color: var(--gold);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.justify-center { justify-content: center; }

.btn {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Section Shared Styles */
.section {
    padding: 100px 0;
    border-top: 1px solid var(--border-dim);
}

.section:nth-child(even) {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 24px;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-gray);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 32px;
}

.hero-text {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.gold-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
    transition: opacity 0.7s ease;
}

.hero-image-wrapper:hover .gold-glow {
    opacity: 0.2;
}

.image-frame {
    position: relative;
    padding: 8px;
    border: 1px solid var(--border-light);
    background: var(--bg-main);
}

.profile-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s ease;
}

.hero-image-wrapper:hover .profile-img {
    filter: grayscale(0%);
}

/* Skills Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 40px;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 32px;
    transition: var(--transition);
}

.card:hover .icon-box {
    border-color: var(--gold);
}

.card-title {
    font-size: 24px;
    margin-bottom: 24px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    padding: 8px 16px;
    border: 1px solid var(--border-light);
}

/* Experience Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-item {
    text-align: center;
    padding: 20px 0;
}

.duration {
    color: var(--gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.role {
    font-size: 24px;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.timeline-item:hover .role {
    color: var(--gold);
}

.company {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.description {
    color: var(--text-gray);
    font-weight: 300;
}

.timeline-connector {
    width: 1px;
    height: 60px;
    background-color: var(--border-light);
    margin: 0 auto;
}

/* Contact / Footer */
.contact-section {
    position: relative;
    background-color: #050505;
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: var(--gold);
    opacity: 0.03;
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}

.footer {
    background-color: #000000;
    padding: 40px 0;
    border-top: 1px solid var(--border-dim);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-top: 40px;
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================= */

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 72px;
    }

    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}