:root {
    --bg-dark: #111827;
    /* Very dark navy/black */
    --bg-card: #1f2937;
    /* Slightly lighter for cards */
    --accent: #FCA311;
    /* Gold/Orange accent */
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    /* Optional for elegance, or use Inter for modern */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #e5940e;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background-color: rgba(17, 24, 39, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.9)), url('../images/portrait.png') no-repeat center 25%/cover;
    /* Try to use a good portrait if available as bg, or just dark gradient */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-muted);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--accent);
    margin: 10px auto 0;
}

/* Biography */
.biography {
    background-color: var(--bg-dark);
}

.bio-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.bio-block.reverse {
    flex-direction: row-reverse;
}

.bio-text {
    flex: 1;
}

.bio-heading {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.bio-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.highlight {
    color: white;
    font-weight: 600;
}

.bio-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    /* max-height: 400px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bio-image:hover img {
    transform: scale(1.03);
}

/* Championships */
.championships {
    background-color: #0d1117;
    /* Even darker */
}

.subsection-title {
    color: var(--accent);
    margin: 60px 0 30px;
    font-size: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.records-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.record-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.record-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.record-details-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.record-item {
    flex: 1;
    min-width: 200px;
}

.record-item .year {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.record-item .location {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.record-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.medals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.medal-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.medal-header h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.medal-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.medal {
    padding: 4px 10px;
    background-color: #555;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.medal.bronze {
    background-color: #cd7f32;
    color: white;
}

.medal.silver {
    background-color: #c0c0c0;
    color: black;
}

.medal.gold {
    background-color: #ffd700;
    color: black;
}

.medal-info {
    display: flex;
    flex-direction: column;
}

.medal-info .year {
    font-weight: bold;
}

.medal-info .detail {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.medal-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 4px;
}

.silver-bg {
    color: #c0c0c0;
    font-weight: bold;
}

.bronze-bg {
    color: #cd7f32;
    font-weight: bold;
}

.trophy-image-container {
    margin-top: 50px;
    text-align: center;
}

.feature-img {
    max-height: 400px;
    margin: 0 auto;
    border-radius: 10px;
}


/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    z-index: 10;
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Contact */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #374151;
    border: 1px solid transparent;
    border-radius: 5px;
    color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 10px;
}

.social-links a:hover {
    color: var(--accent);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-dark);
        transition: 0.3s;
        padding: 40px;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .bio-block,
    .bio-block.reverse {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }
}