/* ==========================================
   ROOT VARIABLES & RESET
   ========================================== */
:root {
    /* Colors - Premium Dark Theme */
    --midnight-blue: #0a192f;
    --charcoal-black: #112240;
    --charcoal-dark: #0d1f33;
    --text-light: #ccd6f6;
    --text-gray: #8892b0;
    --gold-accent: #d4af37;
    --gold-hover: #c9a227;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
    /* Shadows */
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight-blue);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   LANGUAGE SWITCHER
   ========================================== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.lang-btn {
    background: var(--charcoal-black);
    border: 2px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.lang-btn:hover {
    background: var(--gold-accent);
    color: var(--charcoal-black);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.lang-icon {
    font-size: 18px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-subtle);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-accent);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--gold-accent);
    transition: var(--transition-fast);
    border-radius: 3px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-greeting {
    font-size: 18px;
    color: var(--gold-accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-name {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--gold-accent);
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold-accent);
    color: var(--charcoal-black);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 20px;
}

.hero-social a {
    color: var(--text-gray);
    font-size: 24px;
    transition: var(--transition-fast);
}

.hero-social a:hover {
    color: var(--gold-accent);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 300px;
    height: 300px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.3;
}

.hero-circle2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    animation: pulse 4s ease-in-out infinite 1s;
    opacity: 0.2;
}

.hero-circle3 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    animation: pulse 4s ease-in-out infinite 2s;
    opacity: 0.1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================
   SECTIONS GENERAL
   ========================================== */
section {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
    margin: 0 auto;
    border-radius: 3px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    background: var(--charcoal-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-item {
    background: var(--charcoal-dark);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--gold-accent);
    transition: var(--transition-fast);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.highlight-item i {
    font-size: 32px;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.highlight-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.highlight-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--charcoal-black);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-fast);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: var(--shadow-medium);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.skill-icon i {
    font-size: 28px;
    color: var(--gold-accent);
}

.skill-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.skill-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: var(--charcoal-dark);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gold-accent);
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-percentage {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-accent);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    background: var(--charcoal-black);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--charcoal-dark);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: var(--shadow-gold);
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gold-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon i {
    font-size: 32px;
    color: var(--charcoal-black);
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-gray);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-weight: 700;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--text-gray);
    color: var(--text-gray);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: var(--charcoal-black);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    display: block;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    background: var(--charcoal-black);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--charcoal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder i {
    font-size: 64px;
    color: var(--gold-accent);
    opacity: 0.5;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 22px;
    color: var(--gold-accent);
    margin-bottom: 15px;
    text-align: center;
}

.portfolio-overlay p {
    color: var(--text-gray);
    font-size: 16px;
    text-align: center;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--gold-accent);
    font-size: 14px;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.experience {
    background: var(--charcoal-black);
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-accent);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 24px;
    height: 24px;
    background: var(--gold-accent);
    border-radius: 50%;
    border: 4px solid var(--charcoal-black);
}

.timeline-date {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-accent);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 26px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.timeline-role {
    font-size: 16px;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-info > p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--gold-accent);
    margin-top: 5px;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--gold-accent);
}

.contact-form {
    background: var(--charcoal-black);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--charcoal-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--charcoal-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h2 {
    font-size: 36px;
    color: var(--gold-accent);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 16px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--charcoal-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-social a:hover {
    background: var(--gold-accent);
    color: var(--charcoal-black);
    border-color: var(--gold-accent);
}

.footer-social a i {
    font-size: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-name {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--charcoal-black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-name {
        font-size: 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid,
    .services-container,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}