/* ===== FINAL THEME - FIXED NAME VISIBILITY ===== */

:root {
    --bg: #000000;
    --text: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.15);
    --diamond-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
}

/* ===== NEW HEXAGONAL TECH BACKGROUND ===== */
body {
    background: #000000;
    color: #ffffff;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(60deg, transparent 45%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.02) 55%, transparent 55%),
        linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.02) 55%, transparent 55%),
        linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.02) 55%, transparent 55%),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 255, 255, 0.01) 50px, rgba(255, 255, 255, 0.01) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 255, 255, 0.01) 50px, rgba(255, 255, 255, 0.01) 51px);
    background-size: 100px 173px, 100px 173px, 100px 173px, 100% 100%, 100% 100%;
    background-position: 0 0, 50px 87px, 0 0, 0 0, 0 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Add tech circuit pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

/* ===== HIDE INTRO - NO LAG ===== */
.intro-screen {
    display: none !important;
}

/* ===== HERO TITLE - VISIBLE WHITE TEXT, NO BLUE BACKGROUND ===== */
.hero-title {
    /* Remove any background - this is what's hiding your name! */
    background: none !important;
    /* Make text pure white */
    color: #ffffff !important;
    /* Override any text-fill */
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    /* Ensure visibility */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    /* Add elegant glow */
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.6),
                 0 0 20px rgba(255, 255, 255, 0.4) !important;
    /* Fade in animation */
    transition: opacity 1.5s ease, transform 1.5s ease !important;
}

/* Make sure words and lines are visible */
.hero-title .title-line {
    opacity: 1 !important;
}

.hero-title .word {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
    color: #ffffff !important;
    background: none !important;
}

/* ===== BADGE & SUBTITLE - NO FADE, ALWAYS VISIBLE ===== */
.hero-badge {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-badge::before {
    background: #ffffff !important;
    box-shadow: 0 0 10px #ffffff !important;
}

.hero-subtitle {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5em;
    font-weight: 300;
}

/* ===== CURSOR ===== */
.cursor {
    border-color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ===== NAVIGATION ===== */
.nav {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-logo {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.nav-links a {
    color: #b0b0b0 !important;
}

.nav-links a::before,
.nav-links a::after {
    color: #ffffff !important;
}

.nav-links a:hover {
    color: #ffffff !important;
}

/* ===== BUTTONS ===== */
.btn {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-primary {
    background: var(--diamond-gradient) !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ===== SECTIONS ===== */
.section-title {
    color: #ffffff !important;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.section-title::before {
    background: var(--diamond-gradient) !important;
}

/* ===== STATS ===== */
.stat {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.stat:hover {
    border-color: #ffffff !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2) !important;
}

.stat-number {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.stat-number::after {
    color: #ffffff !important;
}

/* ===== STACK ===== */
.stack-category {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.stack-category:hover {
    border-color: #ffffff !important;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15) !important;
}

.stack-category h3 {
    color: #ffffff !important;
}

.stack-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.stack-item::before {
    color: #ffffff !important;
}

.stack-item:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

.bubble-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.bubble-icon i {
    color: #ffffff !important;
}

/* ===== SERVICES ===== */
.service-card {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.service-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2) !important;
}

.service-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #ffffff !important;
}

.service-icon i {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ===== CERTIFICATES ===== */
.certificate-card {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.certificate-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2) !important;
}

.cert-badge-top {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.cert-icon i {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.highlight-point i {
    color: #ffffff !important;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
}

.cert-link {
    background: var(--diamond-gradient) !important;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cert-link:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5) !important;
}

/* ===== EXPERIENCE ===== */
.timeline-item {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.timeline-item::before {
    background: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 20px #ffffff !important;
}

.timeline-present-full {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-present-full:hover {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2) !important;
}

.timeline-period {
    color: #ffffff !important;
}

.skill {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.highlight-item i {
    color: #ffffff !important;
}

/* ===== PROJECTS ===== */
.project-card {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: #000000 !important;
}

.project-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15) !important;
}

.project-year {
    color: #ffffff !important;
}

.tag {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.detail-item i {
    color: #ffffff !important;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card-simple {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.testimonial-card-simple:hover {
    border-color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15) !important;
}

.testimonial-icon {
    color: #ffffff !important;
}

.testimonial-source {
    color: #ffffff !important;
}

.testimonial-rating i {
    color: #ffffff !important;
}

/* ===== CONTACT ===== */
.contact-link {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.contact-link:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) !important;
}

.contact-link i {
    color: #ffffff !important;
}

/* ===== FOOTER ===== */
.footer {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-social a {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-social a:hover {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* ===== MODAL ===== */
.modal-overlay {
    background: rgba(0, 0, 0, 0.95) !important;
}

.modal-container {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.modal-close {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: #000000 !important;
}

.modal-close:hover {
    border-color: #ffffff !important;
}

.modal-project-details {
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.modal-year,
.modal-role,
.modal-duration {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.gallery-main {
    background: #0a0a0a !important;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.gallery-btn:hover:not(:disabled) {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

.thumb {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.thumb:hover {
    border-color: #ffffff !important;
}

.thumb.active {
    border-color: #ffffff !important;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    background: linear-gradient(to bottom, #ffffff, transparent) !important;
}

/* ===== PRELOADER - FAST ===== */
.preloader {
    background: #000000 !important;
}

.preloader-name span {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ===== STARS BACKGROUND ===== */
.stars-bg {
    background: 
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.03), transparent),
        radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.02), transparent) !important;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    background: rgba(0, 0, 0, 0.98) !important;
}

.mobile-nav-link {
    color: #ffffff !important;
}

.nav-toggle span {
    background: #ffffff !important;
}

/* ===== TEXT COLORS ===== */
.about-text p {
    color: #b0b0b0 !important;
}

.hero-description {
    color: #b0b0b0 !important;
}

.nav-main-name {
    background: var(--diamond-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.nav-title {
    color: #b0b0b0 !important;
}

/* ===== OPTIMIZE PERFORMANCE ===== */
* {
    will-change: auto;
}

.project-card,
.service-card,
.certificate-card,
.stack-category {
    transform: translateZ(0);
    backface-visibility: hidden;
}
