/* Gothic Portfolio - Fixed Spacing */

:root {
    --stone-dark: #2a2a2a;
    --stone-medium: #4a4a4a;
    --gold-accent: #d4af37;
    --gold-light: #f4d03f;
    --blue-glass: #4a90e2;
    --purple-glass: #9b59b6;
    --parchment: #f5e6d3;
    --font-title: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(to bottom, #1a1a1a, #2a2a2a, #1a1a1a);
    color: var(--parchment);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Social Banner */
.social-banner {
    background: rgba(42, 42, 42, 0.9);
    border-bottom: 1px solid var(--gold-accent);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--parchment);
    transition: all 0.3s;
    opacity: 0.7;
}

.social-icon:hover {
    fill: var(--gold-accent);
    opacity: 1;
}

/* Hero Header */
.hero-header {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--stone-dark), var(--stone-medium));
    border-bottom: 4px solid var(--gold-accent);
    padding: 4rem 2rem;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(74, 144, 226, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(155, 89, 182, 0.3) 0%, transparent 40%);
    animation: glassShimmer 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glassShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.hero-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-text h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-text .tagline {
    font-size: 1.5rem;
    color: var(--parchment);
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(74, 144, 226, 0.1));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--gold-accent);
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--parchment);
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 0;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-accent);
    z-index: 100;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    color: var(--parchment);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: var(--gold-accent);
}

/* Social Proof Strip */
.proof-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(74, 144, 226, 0.1));
    border-top: 1px solid var(--gold-accent);
    border-bottom: 1px solid var(--gold-accent);
    padding: 2rem 0;
}

.proof-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.proof-item {
    color: var(--parchment);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-align: center;
}

.proof-item a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.proof-item a:hover {
    color: var(--gold-light);
}

/* Sections - ALL CENTERED WITH PADDING */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-section {
    background: rgba(42, 42, 42, 0.5);
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gold-accent);
    letter-spacing: 0.05em;
}

/* Split Section - CENTERED */
.split-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
}

.split-left, .split-right {
    padding: 2rem;
}

.split-left h3, .split-right h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
}

.split-left p, .split-right p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--parchment);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--gold-accent);
}

.education-card, .cert-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(74, 74, 74, 0.6));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.education-card:hover, .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.education-card h4, .cert-card h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

.education-card p, .cert-card p {
    font-size: 1.1rem;
    color: var(--parchment);
    opacity: 0.8;
}

/* Timeline - CENTERED IN CONTAINER */
.timeline-horizontal {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.timeline-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(74, 74, 74, 0.7));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.timeline-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.timeline-date {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--gold-accent);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--parchment);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--parchment);
    opacity: 0.85;
}

.timeline-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold-accent);
    padding: 0.75rem 1rem;
}

.metric strong {
    color: var(--gold-accent);
    font-family: var(--font-title);
}

/* Projects - CENTERED */
.project-alt {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 0 2rem;
    align-items: center;
}

.project-alt.reverse {
    grid-template-columns: 1fr 300px;
}

.project-alt.reverse .project-visual {
    order: 2;
}

.project-alt.reverse .project-content {
    order: 1;
}

.project-visual {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(155, 89, 182, 0.2));
    border: 3px solid var(--gold-accent);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s;
}

.project-visual:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.project-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-badge {
    background: var(--gold-accent);
    color: var(--stone-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.project-content h3 a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-content h3 a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.project-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--parchment);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-block;
    color: var(--gold-accent);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-accent);
    transition: all 0.3s;
}

.project-link:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.inline-link {
    color: var(--gold-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-accent);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.inline-link:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
    opacity: 1;
}

/* Content Grid - CENTERED */
.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
}

.content-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(74, 74, 74, 0.7));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.content-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.content-type {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.content-date {
    color: var(--parchment);
    opacity: 0.6;
}

.content-heading {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.content-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--parchment);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.content-link {
    color: var(--gold-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.content-link:hover {
    border-color: var(--gold-accent);
}

/* Podcast - CENTERED */
.podcast-embed {
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 3rem 2rem;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    border: 2px solid var(--gold-accent);
}

.section-subtitle {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    text-align: center;
}

.podcast-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--parchment);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Credentials - CENTERED */
.credentials-hall {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.credential-column {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(74, 74, 74, 0.6));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.credential-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.credential-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.credential-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 0.75rem;
}

.credential-institution {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.credential-date {
    font-size: 1rem;
    color: var(--parchment);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.credential-divider {
    height: 2px;
    background: var(--gold-accent);
    margin: 1.5rem 0;
    opacity: 0.3;
}

.credential-details {
    font-size: 1.05rem;
    color: var(--parchment);
    opacity: 0.85;
    line-height: 1.6;
}

/* Connect - CENTERED */
.pillar-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

.pillar-link {
    text-decoration: none;
}

.pillar {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(74, 74, 74, 0.7));
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.pillar-icon svg {
    fill: var(--gold-accent);
    transition: fill 0.3s;
}

.pillar:hover .pillar-icon svg {
    fill: var(--gold-light);
}

.pillar-text {
    color: var(--parchment);
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background: rgba(42, 42, 42, 0.95);
    border-top: 2px solid var(--gold-accent);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-arch {
    display: none;
}

.footer-text {
    color: var(--parchment);
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .proof-strip {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .split-section {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .timeline-horizontal {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-alt, .project-alt.reverse {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-alt.reverse .project-visual,
    .project-alt.reverse .project-content {
        order: unset;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .credentials-hall {
        padding: 0 1rem;
    }
    
    .pillar-grid {
        padding: 0 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--gold-accent);
    color: var(--stone-dark);
}
