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

:root {
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --accent-gold: #d4af37;
    --accent-light: #f1f5f9;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}


.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.15);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.5);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 12px 40px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.cta-button:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-light);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.about {
    background: var(--secondary-dark);
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.08);
}

.about-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.about-card li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.experience {
    background: var(--primary-dark);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.experience-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.12);
}

.experience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.experience-card:hover .experience-icon {
    transform: scale(1.05) rotate(2deg);
}

.experience-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.skills {
    background: var(--secondary-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-item:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-4px);
}

.skill-name {
    color: var(--text-light);
    font-weight: 600;
    display: block;
    font-size: 1rem;
}

.contact {
    background: var(--primary-dark);
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.1rem;
    }

    .nav-link {
        padding: 0.5rem 0;
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: none;
        margin-bottom: 2.5rem;
    }

    .profile-image {
        max-width: 280px;
        height: 280px;
        margin-bottom: 1rem;
        border-width: 3px;
        pointer-events: none;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .about-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .about-grid,
    .experience-grid {
        gap: 1.5rem;
    }

    .about-card,
    .experience-card {
        padding: 1.8rem;
    }

    .experience-card h3 {
        font-size: 1.1rem;
    }

    .experience-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.2rem;
    }

    .skill-item {
        padding: 1.2rem;
        font-size: 0.9rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }

    .contact-link {
        min-width: 200px;
        padding: 14px 30px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .profile-image {
        max-width: 220px;
        height: 220px;
        border-width: 3px;
        margin-bottom: 0.5rem;
        pointer-events: none;
    }

    .nav-menu {
        top: 65px;
        padding: 1.5rem 0;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 1rem;
    }

    .about-grid,
    .experience-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .about-card,
    .experience-card {
        padding: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .experience-card h3 {
        font-size: 1rem;
    }

    .experience-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }

    .experience-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 12px 35px;
        font-size: 0.95rem;
        min-width: 160px;
    }

    .contact-link {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-intro {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 1.3rem;
    }
}
