:root {
    --bg: #000000;
    --card: #121212;
    --text: #ffffff;
    --accent: #b8986e; /* Beige */
    --accent-hover: #a7865b;
    --border: rgba(255, 255, 255, 0.1);
}

/* Background Effect */
body {
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(214, 195, 165, 0.18), transparent 40%),
        linear-gradient(180deg, var(--bg) 0%, #050505 100%);
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-content p {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-name {
    color: var(--accent);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(184, 152, 110, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 152, 110, 0.3);
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.location-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nav-btn:hover {
    background: rgba(184, 152, 110, 0.3);
    color: var(--accent);
    transform: translateY(-2px);
    border-color: rgba(184, 152, 110, 0.5);
}

/* Profile Photo Frame */
.profile-photo-frame {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(184, 152, 110, 0.3);
    z-index: 100;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 30px 50px;
}

/* Spotlight Element */
.spotlight-element {
    position: relative;
    padding: 40px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.spotlight-element::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 152, 110, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.spotlight-element:hover::before {
    opacity: 1;
}

/* Sections */
.section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:last-child {
    margin-bottom: 0;
}

.name {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.location {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.section-content {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 10px 0;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.bullet-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.8;
}

.bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 20px;
}

/* Education */
.education-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ksu-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Certificate Buttons */
.certificates-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.certificate-btn {
    display: block;
    padding: 20px 25px;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent);
    border: 2px solid rgba(184, 152, 110, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.5;
    cursor: pointer;
    min-height: 44px;
}

.certificate-btn:hover {
    background: rgba(184, 152, 110, 0.2);
    color: var(--accent);
    transform: translateY(-3px);
    border-color: rgba(184, 152, 110, 0.5);
    box-shadow: 0 10px 30px rgba(184, 152, 110, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 20px;
    }

    .nav-name {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .nav-right {
        gap: 12px;
    }

    .location-badge {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .location-icon {
        width: 12px;
        height: 12px;
    }

    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
    }

    .profile-photo-frame {
        width: 80px;
        height: 80px;
        bottom: 20px;
        left: 20px;
    }

    .container {
        padding: 80px 20px 40px;
    }

    .spotlight-element {
        padding: 25px;
    }

    .name {
        font-size: 32px;
    }

    .section-title {
        font-size: 20px;
    }

    .education-item {
        flex-direction: column;
    }

    .ksu-logo {
        width: 90px;
        height: 90px;
    }

    .certificate-btn {
        font-size: 14px;
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .nav-name {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .nav-right {
        gap: 8px;
    }

    .location-badge {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .location-icon {
        width: 10px;
        height: 10px;
    }

    .nav-buttons {
        gap: 8px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }

    .profile-photo-frame {
        width: 60px;
        height: 60px;
        bottom: 15px;
        left: 15px;
    }

    .name {
        font-size: 28px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-content {
        font-size: 14px;
    }

    .ksu-logo {
        width: 80px;
        height: 80px;
    }

    .certificate-btn {
        font-size: 13px;
        padding: 16px 18px;
    }
}
