/*
Theme Name: Personal Portfolio FSE
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A modern WordPress FSE block theme converted from a personal portfolio design
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portfolio-fse
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ========================================
   CUSTOM PROPERTIES & RESET
======================================== */

:root {
    --bg-gradient-onyx: linear-gradient(to bottom right, hsl(240, 1%, 25%) 3%, hsl(0, 0%, 19%) 97%);
    --bg-gradient-jet: linear-gradient(to bottom right, hsla(240, 1%, 18%, .251) 3%, hsla(240, 2%, 11%, 0) 100%), hsl(240, 2%, 13%);
    --bg-gradient-yellow1: linear-gradient(to bottom right, hsl(45, 100%, 71%) 0%, hsla(36, 100%, 69%, 0) 50%);
    --bg-gradient-yellow2: linear-gradient(135deg, hsla(45, 100%, 71%, .251) 0%, hsla(35, 100%, 68%, 0) 59.86%), hsl(240, 2%, 13%);
    --border-gradient-onyx: linear-gradient(to bottom right, hsl(0, 0%, 25%) 0%, hsla(0, 0%, 25%, 0) 50%);
    --text-gradient-yellow: linear-gradient(to right, hsl(45, 100%, 72%), hsl(35, 100%, 68%));

    --jet: hsl(0, 0%, 22%);
    --onyx: hsl(240, 1%, 17%);
    --eerie-black1: hsl(240, 2%, 13%);
    --eerie-black2: hsl(240, 2%, 12%);
    --smoky-black: hsl(0, 0%, 7%);
    --white1: hsl(0, 0%, 100%);
    --white2: hsl(0, 0%, 98%);
    --orange-yellow-crayola: hsl(45, 100%, 72%);
    --vegas-gold: hsl(45, 54%, 58%);
    --light-gray: hsl(0, 0%, 84%);
    --light-gray70: hsla(0, 0%, 84%, .7);

    --shadow1: -4px 8px 24px hsla(0, 0%, 0%, .25);
    --shadow2: 0px 16px 30px hsla(0, 0%, 0%, .25);
    --shadow3: 0px 16px 40px hsla(0, 0%, 0%, .25);
    --shadow4: 0px 25px 50px hsla(0, 0%, 0%, .15);
    --shadow5: 0px 24px 80px hsla(0, 0%, 0%, .25);
}

/* ========================================
   SIDEBAR STYLES
======================================== */

.portfolio-sidebar {
    background: var(--eerie-black2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    box-shadow: var(--shadow1);
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-avatar {
    background: var(--bg-gradient-onyx);
    border-radius: 20px;
    overflow: hidden;
}

.sidebar-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.sidebar-title {
    color: var(--white2);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.25px;
    margin: 0 0 10px 0;
}

.sidebar-subtitle {
    color: var(--white1);
    background: var(--onyx);
    font-size: 12px;
    font-weight: 300;
    padding: 3px 12px;
    border-radius: 8px;
    display: inline-block;
}

.sidebar-separator {
    width: 100%;
    height: 1px;
    background: var(--jet);
    margin: 16px 0;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sidebar-icon-box {
    background: var(--border-gradient-onyx);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--orange-yellow-crayola);
    box-shadow: var(--shadow1);
    position: relative;
    flex-shrink: 0;
}

.sidebar-icon-box::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--eerie-black1);
    border-radius: inherit;
    z-index: -1;
}

.sidebar-contact-title {
    color: var(--light-gray70);
    font-size: 12px;
    text-transform: uppercase;
    margin: 0 0 2px 0;
}

.sidebar-contact-link {
    color: var(--white2);
    font-size: 13px;
}

.sidebar-social-list {
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-social-link {
    color: var(--light-gray70);
    font-size: 18px;
    transition: color 0.25s ease;
}

.sidebar-social-link:hover {
    color: var(--light-gray);
}

/* ========================================
   MAIN NAVIGATION
======================================== */

.portfolio-navigation {
    background: var(--eerie-black2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    box-shadow: var(--shadow1);
    padding: 15px;
    margin-bottom: 20px;
}

.portfolio-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-nav-link {
    color: var(--light-gray);
    font-size: 14px;
    padding: 10px 20px;
    transition: color 0.25s ease;
    text-decoration: none;
    display: block;
}

.portfolio-nav-link:hover {
    color: var(--orange-yellow-crayola);
}

/* Mobile Navigation Hamburger */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
    background: var(--border-gradient-onyx);
    color: var(--orange-yellow-crayola);
    border-radius: 8px;
    padding: 8px;
    border: 1px solid var(--jet);
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
    background: var(--bg-gradient-yellow1);
}

.wp-block-navigation__responsive-container.is-menu-open {
    background: var(--eerie-black1);
    padding: 20px;
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
    padding: 0;
}

.wp-block-navigation__responsive-container .wp-block-navigation__container {
    gap: 15px;
}

.wp-block-navigation__responsive-container .wp-block-navigation-item a {
    color: var(--light-gray);
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--jet);
}

.wp-block-navigation__responsive-container .wp-block-navigation-item a:hover {
    color: var(--orange-yellow-crayola);
}

/* Active navigation link */
.wp-block-navigation-item__content.active-nav-link,
.portfolio-nav-link.active {
    color: var(--orange-yellow-crayola) !important;
}

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    background: var(--eerie-black2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    box-shadow: var(--shadow2);
}

/* Hamburger icon customization */
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
    fill: var(--orange-yellow-crayola);
    width: 24px;
    height: 24px;
}

/* Mobile menu animation */
.wp-block-navigation__responsive-container {
    transition: opacity 0.3s ease-in-out;
}

/* Close button positioning */
.wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

/* ========================================
   CONTENT CARD SYSTEM
======================================== */

.content-card {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 15px;
    border-radius: 14px;
    box-shadow: var(--shadow2);
    z-index: 1;
}

.content-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

.section-title {
    color: var(--white2);
    font-size: 24px;
    font-weight: 500;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 7px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--text-gradient-yellow);
    border-radius: 3px;
}

/* ========================================
   SERVICE ITEMS
======================================== */

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-item {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow2);
    z-index: 1;
    text-align: center;
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}

.service-icon {
    margin: 0 auto 10px;
    width: 40px;
}

.service-title {
    color: var(--white2);
    font-size: 16px;
    margin-bottom: 7px;
}

.service-text {
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

/* ========================================
   TIMELINE (RESUME)
======================================== */

.timeline-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.timeline-icon {
    background: var(--border-gradient-onyx);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--orange-yellow-crayola);
    position: relative;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--eerie-black1);
    border-radius: inherit;
    z-index: -1;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin-left: 45px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -33px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: var(--text-gradient-yellow);
    box-shadow: 0 0 0 4px var(--jet);
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -30px;
    width: 1px;
    height: calc(100% + 50px);
    background: var(--jet);
}

.timeline-title {
    color: var(--white2);
    font-size: 14px;
    margin-bottom: 7px;
}

.timeline-date {
    color: var(--vegas-gold);
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
}

.timeline-text {
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
}

/* ========================================
   SKILLS PROGRESS BARS
======================================== */

.skills-list {
    padding: 20px;
    list-style: none;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-title {
    color: var(--white2);
    font-size: 13px;
}

.skill-value {
    color: var(--light-gray);
    font-size: 13px;
    font-weight: 300;
}

.skill-progress-bg {
    background: var(--jet);
    width: 100%;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress-fill {
    background: var(--text-gradient-yellow);
    height: 100%;
    border-radius: inherit;
}

/* ========================================
   PROJECT GRID
======================================== */

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.project-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 15px;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.1);
}

.project-title {
    color: var(--white2);
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 5px 10px;
}

.project-category {
    color: var(--light-gray70);
    font-size: 14px;
    font-weight: 300;
    margin-left: 10px;
}

/* ========================================
   BLOG POSTS
======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
}

.blog-card {
    position: relative;
    background: var(--border-gradient-onyx);
    border-radius: 16px;
    box-shadow: var(--shadow4);
    overflow: hidden;
    z-index: 1;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--eerie-black1);
    z-index: -1;
}

.blog-image-wrapper {
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.blog-category {
    color: var(--light-gray70);
    font-size: 14px;
    font-weight: 300;
}

.blog-date {
    color: var(--light-gray70);
    font-size: 14px;
    font-weight: 300;
}

.blog-dot {
    width: 4px;
    height: 4px;
    background: var(--light-gray70);
    border-radius: 50%;
}

.blog-title {
    color: var(--white2);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

/* ========================================
   CONTACT FORM
======================================== */

.contact-form-wrapper {
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-input {
    color: var(--white2);
    font-size: 14px;
    padding: 13px 20px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    background: transparent;
    outline: none;
}

.form-input:focus {
    border-color: var(--orange-yellow-crayola);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-button {
    position: relative;
    width: 100%;
    background: var(--border-gradient-onyx);
    color: var(--orange-yellow-crayola);
    padding: 13px 20px;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    text-transform: capitalize;
    box-shadow: var(--shadow3);
    cursor: pointer;
    transition: background 0.25s ease;
    z-index: 1;
}

.form-button::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
    transition: background 0.25s ease;
}

.form-button:hover {
    background: var(--bg-gradient-yellow1);
}

.form-button:hover::before {
    background: var(--bg-gradient-yellow2);
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (min-width: 580px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        display: flex;
        text-align: left;
        gap: 18px;
        padding: 30px;
    }
    
    .service-icon {
        margin: 5px 0 0 0;
    }
    
    /* Show regular navigation on larger screens */
    .wp-block-navigation__responsive-container-open {
        display: none;
    }
}

@media (min-width: 768px) {
    .project-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1250px) {
    .portfolio-main-wrapper {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 25px;
        max-width: 1200px;
        margin: 60px auto;
    }
    
    .portfolio-sidebar {
        position: sticky;
        top: 60px;
        height: fit-content;
    }
}

/* Hide default cursor */
body {
    cursor: none;
}

/* Dot cursor */
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #ffd60a;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* Follower circle */
.custom-cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover state */
.custom-cursor-circle.cursor-hover {
    transform: scale(1.6);
    border-color: rgb(255, 255, 255);
}


.ios-app-menu {
    gap: 24px;
}

.ios-app-item img {
    transition: transform 0.2s ease;
}

.ios-app-item img:hover {
    transform: scale(1.05);
}
