/* ==========================================================================
   modern.css — clean / elegant design layer
   Loaded after style.css + responsive.css; overrides the legacy theme.
   Palette: ink #0e1116 · surface #ffffff · gold #ffd501 · muted #6b7684
   Type:    'Space Grotesk' (headings) · 'Inter' (body)
   ========================================================================== */

:root {
    --ink: #0e1116;
    --ink-2: #171b22;
    --gold: #ffd501;
    --gold-deep: #f0a500;
    --text: #333c48;
    --muted: #6b7684;
    --line: #e9edf2;
    --soft: #f6f8fa;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(14, 17, 22, .05);
    --shadow-md: 0 10px 30px -12px rgba(14, 17, 22, .18);
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Raleway', sans-serif;
    letter-spacing: -0.01em;
    color: var(--ink);
}

::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb { background: #c6ccd4; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* --------------------------------------------------------------------------
   Loading screen
   -------------------------------------------------------------------------- */
#loading {
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.div-loading {
    position: static !important;
    top: auto !important;
    width: auto !important;
    text-align: center;
}
.div-loading img {
    width: 120px;
    height: 120px;
    animation: pulse-logo 1.4s ease-in-out infinite;
}
@keyframes pulse-logo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.94); }
}

/* --------------------------------------------------------------------------
   Sidebar / navigation
   -------------------------------------------------------------------------- */
.header {
    background: linear-gradient(180deg, #0e1116 0%, #14181f 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, .06);
}
.navbar-brand { padding: 34px 15px 10px; text-align: center; width: 100%; }
.navbar-brand > img { height: 96px; margin: 0 auto; }

.brand-wordmark {
    display: block;
    text-align: center;
    margin: 2px 0 26px;
}
.brand-wordmark .brand-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .22em;
    color: #ffffff;
    text-transform: uppercase;
}
.brand-wordmark .brand-role {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .3em;
    color: var(--muted);
    text-transform: uppercase;
}

.navbar-default .navbar-nav > li > a {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    color: #aab3bf;
    padding: 12px 15px 12px 34px;
    border-left: 2px solid transparent;
    transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a.active,
.navbar-default .navbar-nav > li > a:hover {
    background: linear-gradient(90deg, rgba(255, 213, 1, .10), transparent 70%) !important;
    background-image: linear-gradient(90deg, rgba(255, 213, 1, .10), transparent 70%) !important;
    color: var(--gold) !important;
    box-shadow: none !important;
    border-right: 0 !important;
    border-left: 2px solid var(--gold);
}

/* sidebar nav: only scroll when needed, with a slim dark scrollbar */
.navbar {
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.navbar::-webkit-scrollbar { width: 4px; }
.navbar::-webkit-scrollbar-track { background: transparent; }
.navbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 2px; }
.navbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .32); }

.menu-footer .social ul li a i {
    color: #aab3bf;
    transition: color .25s ease, transform .25s ease;
}
.menu-footer .social ul li a:hover i { color: var(--gold); transform: translateY(-2px); }
.menu-footer .copyright p {
    color: #5c6672;
    font-size: 11.5px;
    letter-spacing: .04em;
}

.menu-responsive {
    background: rgba(14, 17, 22, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.menu-responsive a { color: #fff; letter-spacing: .08em; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.gradient-01b:before {
    background: linear-gradient(100deg, rgba(10, 12, 16, .97) 25%, rgba(10, 12, 16, .72) 60%, rgba(240, 165, 0, .38) 100%) !important;
    opacity: 1 !important;
}
.intro-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: none;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.span-hello {
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.span-name {
    text-shadow: none !important;
    font-size: clamp(44px, 7vw, 84px) !important;
    line-height: 1.05;
    color: #ffffff;
}
#typer h2 {
    font-family: 'Inter', sans-serif;
    text-transform: none;
    font-weight: 500;
    font-size: 22px;
    color: #c8cfd8;
    letter-spacing: .02em;
}
.scroll-down i { border-color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------------------
   Section titles
   -------------------------------------------------------------------------- */
.section-title { margin-bottom: 60px; }
.section-title-name span {
    background: transparent;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    padding: 0;
}
.section-title-name span:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 34px;
    height: 2px;
    background: var(--gold);
    margin-right: 12px;
}
.section-title-name h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 10px;
}
/* retire the huge watermark text */
.title-name-gray { display: none; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.about-social {
    background: var(--soft) !important;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
}
.about-social ul li a i {
    color: var(--muted);
    background: transparent;
    transition: color .25s ease, transform .25s ease;
}
.about-social ul li a:hover i { color: var(--gold-deep); transform: translateY(-2px); }

.my-contact {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.my-contact:hover { border-color: #dfe5ec; box-shadow: var(--shadow-sm); }
.my-contact .contact-icon span {
    color: var(--ink);
    background: var(--gold);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 10px;
    font-size: 17px;
    display: inline-block;
}
.my-contact .contact-info h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.my-contact .contact-info p { font-size: 14px; color: var(--ink); font-weight: 500; }

.about-block p { font-size: 16px; line-height: 1.85; color: var(--text); }

/* --------------------------------------------------------------------------
   Resume
   -------------------------------------------------------------------------- */
.resume .container-fluid h2 { font-size: 26px; margin-top: 50px; margin-bottom: 30px; }
.resume-block.clearfix { margin-bottom: 22px; }

.resume-block {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.resume-block:hover {
    box-shadow: var(--shadow-md);
    border-color: #e0e6ed;
    transform: translateY(-2px);
}
.resume-block .resume-icon span {
    font-size: 20px;
    color: var(--gold-deep);
    background: rgba(255, 213, 1, .12);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 12px;
    display: inline-block;
}
.resume-block .resume-name h3 {
    color: var(--ink);
    font-size: 19px;
    line-height: 1.35;
}
.resume-block .resume-name span {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 12px;
}
.resume-block .resume-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-deep);
    margin-bottom: 14px;
}
.ul-experience li {
    color: var(--text) !important;
    margin-bottom: 6px;
    font-size: 14.5px;
}
.resume-info a {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--ink);
    border-bottom: 2px solid var(--gold);
    transition: color .25s ease;
}
.resume-info a:hover { color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   Skills
   -------------------------------------------------------------------------- */
.skill li {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 42px;
}
.skill .bar_container {
    background: var(--line) !important;
    height: 8px;
    border-radius: 999px;
    top: 28px;
}
.skill .bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep)) !important;
}
.skill .pct {
    top: -40px;
    right: 0;
    background: var(--ink);
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.7;
    opacity: 1 !important;
    animation: bubble-bob 2.6s ease-in-out infinite;
}
.skill .pct:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    margin-left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--ink);
}
@keyframes bubble-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
/* retire the Newbie→Master legend */
.skill-chart { display: none; }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.isotope-filters button {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 20px;
    margin: 4px 6px 4px 0;
    transition: all .25s ease;
}
.isotope-filters button span { display: none; }
.isotope-filters button.active,
.isotope-filters button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold);
}

.portfolio-item .item-hover .item-inner {
    height: 200px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    background: #ffffff;
    padding: 24px !important;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.portfolio-item .item-hover:hover .item-inner {
    box-shadow: var(--shadow-md);
    border-color: #e0e6ed !important;
    transform: translateY(-3px);
}
.portfolio-item .item-hover img { max-height: 150px !important; object-fit: contain; }
.title-portfolio { font-weight: 600; letter-spacing: .01em; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
    background: rgba(14, 17, 22, .93) !important;
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.contact h2 { color: #ffffff; }
.contact .address ul li span {
    color: var(--gold);
}
.contact .address ul li p { color: #c8cfd8; }
.contact .social h4 { color: #ffffff; letter-spacing: .06em; }
.contact .social ul li a i { color: #aab3bf; transition: color .25s ease; }
.contact .social ul li a:hover i { color: var(--gold); }

.button-large a {
    font-family: 'Inter', sans-serif;
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 12px 32px;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.button-large a:hover {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 8px 24px -8px rgba(255, 213, 1, .55);
}

.contact-content { background: var(--ink) !important; border-radius: var(--radius); }
.contact-form h4 { color: #ffffff; letter-spacing: .04em; }
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8791a0; }
button.button-small {
    font-family: 'Inter', sans-serif;
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .08em;
    transition: background .25s ease, color .25s ease;
}
button.button-small:hover { background: #ffffff; color: var(--ink); }
.contact-toggle span { background: var(--ink); }

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
img { max-width: 100%; }



