:root {
    --bg-main: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1c1c1c;
    --gold-primary: #D4AF37;
    --gold-dim: #997b20;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-main);
}

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

::selection {
    background-color: var(--gold-primary);
    color: var(--bg-main);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-primary);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-dim);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.gold-text {
    color: var(--gold-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 2px;
}
.logo span {
    color: var(--gold-primary);
}

.nav-img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 4px;
    mix-blend-mode: screen;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-main) 100%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 30px var(--gold-glow);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
}

.subtitle {
    color: var(--gold-primary);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
}

.role {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

.contact-badges a, .contact-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-badges a:hover {
    background: var(--gold-glow);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.contact-badges i {
    color: var(--gold-primary);
}

/* Mouse Scroll */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.5s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold-dim);
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
}
.section-title span {
    color: var(--gold-primary);
}
.subsection-title {
    font-size: 2rem;
    margin: 60px 0 30px;
    text-align: center;
    color: var(--gold-primary);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About */
.content-box {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.content-box p {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.content-box p:last-child {
    margin-bottom: 0;
}
.content-box::after {
    content: '"';
    position: absolute;
    font-family: var(--font-heading);
    font-size: 20rem;
    color: rgba(212, 175, 55, 0.05);
    right: -20px;
    bottom: -80px;
    line-height: 1;
    z-index: 1;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gold-dim);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    left: 13px;
    top: 5px;
    box-shadow: 0 0 10px var(--gold-glow);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--gold-primary);
}

.timeline-date {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}
.timeline-item:hover .timeline-content {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.timeline-content h4 {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.timeline-content ul {
    list-style-position: outside;
    margin-left: 20px;
    color: var(--text-secondary);
}
.timeline-content li {
    margin-bottom: 10px;
}
.timeline-content li::marker {
    color: var(--gold-primary);
}

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

.skill-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.skill-card:hover {
    border-top-color: var(--gold-primary);
    transform: translateY(-10px);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05) 0%, var(--bg-card) 100%);
}

.skill-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.tag {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.tag:hover {
    color: var(--bg-main);
    border-color: var(--gold-primary);
}

.tag:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dual Columns */
.dual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.column h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ed-item {
    background: var(--bg-card);
    padding: 25px 90px 25px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.ed-item:hover {
    border-left-color: var(--gold-primary);
    background: rgba(28, 28, 28, 0.8);
}

.ed-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.ed-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ed-date {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--gold-primary);
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

/* Languages and Hobbies */
.language-list {
    list-style: none;
}
.language-list li {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1.2rem;
}
.language-list li:last-child {
    border-bottom: none;
}

.hobbies-grid {
    display: grid;
    gap: 20px;
}
.hobby-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}
.hobby-item i {
    font-size: 2rem;
}
.hobby-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 0 var(--gold-primary);
}

/* Mobile Menu Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
    border-radius: 3px;
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--gold-primary);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--gold-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .title { font-size: 4rem; }
    .dual-columns { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        justify-content: center;
        z-index: 1000;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        margin: 25px 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .title { font-size: 3rem; }
    .role { font-size: 1.4rem; }
    .section { padding: 70px 0; }
    .section-title { font-size: 2.5rem; }
    .timeline::before { left: 15px; }
    .timeline-dot { left: 8px; width: 14px; height: 14px; }
    .timeline-item { padding-left: 45px; }
    .content-box { padding: 30px; }
}

@media (max-width: 480px) {
    .title { font-size: 2.5rem; }
    .contact-badges { flex-direction: column; width: 100%; }
    .contact-badges a, .contact-badges span { width: 100%; justify-content: center; }
    .ed-date { position: static; display: block; margin-top: 10px; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gold-primary);
    color: var(--bg-main);
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--gold-dim);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: translateY(0);
}

#form-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.success-msg { color: #4CAF50; }
.error-msg { color: #f44336; }

/* Contact Me specific button */
.btn-primary {
    background: var(--gold-glow) !important;
    border-color: var(--gold-primary) !important;
    font-weight: bold;
}
.btn-primary:hover {
    background: var(--gold-primary) !important;
    color: var(--bg-main) !important;
}
.btn-primary:hover i, .btn-primary:active i {
    color: #ffffff !important;
}

