:root {
    --bg-color: #0f1115;
    --card-bg: #1c1f26;
    --text-color: #e0e0e0;
    --accent-color: #d4af37; /* Metallic Gold */
    --secondary-accent: #8b7d6b;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #232830 0%, #0f1115 100%);
    padding: 0 20px;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

#hero .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

#hero .tagline {
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.alt-bg {
    background-color: #16191f;
}

/* About Section */
.content-wrapper {
    display: flex;
    justify-content: center;
}

.text-content {
    max-width: 800px;
    text-align: center;
    font-size: 1.1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 5px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.card h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
}

.skill-list {
    list-style: none;
    margin-top: 20px;
}

.skill-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.skill-list li::before {
    content: '▹';
    color: var(--accent-color);
    margin-right: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(left) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

.timeline .date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary-accent);
    font-weight: bold;
}

/* Sports */
.center-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.sports-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.sport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sport i {
    font-size: 3rem;
    color: var(--accent-color);
}

.sport span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

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

/* Responsive */
@media screen and (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 3px solid var(--accent-color);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.95);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Project Showcase Specifics */
.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-content p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-link {
    align-self: flex-start;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: bold;
    border-bottom: 1px solid transparent;
}

.project-link:hover {
    border-bottom: 1px solid var(--accent-color);
}

/* Mobile Nav Toggle (Simple) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* simple hide for now, or column */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--accent-color);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
