/* ==========================================================================
   BENJAMIN SMITH - PORTFOLIO STYLESHEET
   Design inspired by high-end vCard / Studio Portfolio Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Brand Accent Colors (Vibrant Luxury Orange) */
    --accent-orange: #FF6B00;
    --accent-orange-hover: #E55800;
    --accent-orange-light: #FFF1E6;
    --accent-orange-glow: rgba(255, 107, 0, 0.35);
    
    /* Backwards compatibility aliases */
    --accent-yellow: var(--accent-orange);
    --accent-yellow-hover: var(--accent-orange-hover);
    --accent-yellow-light: var(--accent-orange-light);
    --accent-yellow-glow: var(--accent-orange-glow);
    
    /* Light Theme (Default) */
    --bg-page: #E7E9ED;
    --bg-page-gradient: radial-gradient(circle at 50% 20%, #f0f3f7 0%, #dce1ea 100%);
    --bg-card: #FFFFFF;
    --bg-card-inner: #F8F9FA;
    --bg-section-banner: #EAECEF;
    --bg-dark-card: #15161A;
    --bg-dark-card-hover: #1C1E24;
    
    /* Text Colors */
    --text-main: #141619;
    --text-heading: #0F1012;
    --text-muted: #6B7280;
    --text-light-muted: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Borders & Outlines */
    --border-subtle: #E2E6EC;
    --border-dashed: #CBD2DC;
    --border-dark: rgba(255, 255, 255, 0.1);
    
    /* Shadows */
    --shadow-main-card: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0,0,0,0.03);
    --shadow-hover: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
    --shadow-yellow: 0 10px 25px -5px rgba(255, 107, 0, 0.45);
    --shadow-dock: 0 8px 24px rgba(255, 107, 0, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    --bg-page: #0C0D11;
    --bg-page-gradient: radial-gradient(circle at 50% 20%, #161820 0%, #090A0D 100%);
    --bg-card: #14151B;
    --bg-card-inner: #191B22;
    --bg-section-banner: #1E2028;
    --bg-dark-card: #0E0F13;
    --bg-dark-card-hover: #181920;
    
    --text-main: #E5E7EB;
    --text-heading: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-light-muted: #6B7280;
    
    --border-subtle: #242732;
    --border-dashed: #323746;
    --border-dark: rgba(255, 255, 255, 0.08);
    
    --shadow-main-card: 0 30px 70px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    background-image: var(--bg-page-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    transition: background var(--transition-smooth), color var(--transition-smooth);
}

/* Background Texture/Pattern Overlay */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.04;
    background-image: radial-gradient(#111 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .bg-pattern {
    opacity: 0.07;
    background-image: radial-gradient(#fff 1px, transparent 1px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. TOP CONTROL BUTTONS (Theme, Sound, Mobile Menu)
   -------------------------------------------------------------------------- */
.top-controls {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 0.75rem;
    z-index: 100;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.control-btn:hover {
    transform: translateY(-2px);
    color: var(--accent-yellow);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.control-btn.mobile-only {
    display: none;
}

/* --------------------------------------------------------------------------
   4. MAIN PORTFOLIO CARD CONTAINER
   -------------------------------------------------------------------------- */
.portfolio-wrapper {
    width: 100%;
    max-width: 1220px;
    position: relative;
    z-index: 1;
    margin: auto;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main-card);
    display: flex;
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: background var(--transition-smooth), border var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. CARD SIDEBAR (Yellow Navigation Column)
   -------------------------------------------------------------------------- */
.card-sidebar {
    width: 250px;
    background: var(--accent-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 2rem 0;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    transition: transform var(--transition-smooth), width var(--transition-smooth);
}

/* Mode for Home vs Inner Page Sidebar */
.portfolio-card[data-current-page="home"] .card-sidebar {
    display: none;
}

.sidebar-avatar-box {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #111216;
}

.sidebar-avatar-img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    object-position: top center;
    filter: contrast(103%) brightness(102%);
    transition: filter var(--transition-smooth), transform var(--transition-smooth);
}

.sidebar-avatar-box:hover .sidebar-avatar-img {
    transform: scale(1.05);
}

.avatar-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sidebar-nav {
    width: 100%;
    margin-top: 1.8rem;
    flex-grow: 1;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 1rem;
}

.nav-item {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #2D2513;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    text-transform: uppercase;
}

.nav-item:hover {
    color: #000000;
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

.nav-item.active {
    color: #000000;
    background: #FFFFFF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-yellow);
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding: 0 1rem;
}

.social-links-mini {
    display: flex;
    gap: 0.85rem;
}

.social-links-mini a {
    color: #2D2513;
    font-size: 1.05rem;
    transition: all var(--transition-fast);
}

.social-links-mini a:hover {
    color: #000000;
    transform: translateY(-2px) scale(1.15);
}

.copyright-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(45, 37, 19, 0.7);
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   6. MAIN CONTENT PAGES
   -------------------------------------------------------------------------- */
.card-main-content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    max-height: 800px;
    padding-right: 50px; /* Space for the right dock */
    scroll-behavior: smooth;
}

/* Custom Scrollbar for inner card */
.card-main-content::-webkit-scrollbar {
    width: 6px;
}
.card-main-content::-webkit-scrollbar-track {
    background: transparent;
}
.card-main-content::-webkit-scrollbar-thumb {
    background: var(--border-dashed);
    border-radius: var(--radius-full);
}
.card-main-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* Page Section Transitions */
.page-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSection 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-inner-wrapper {
    padding: 2.5rem 3rem;
}

/* --------------------------------------------------------------------------
   7. DASHED SECTION BANNER (Signature Header from Screenshot)
   -------------------------------------------------------------------------- */
.section-banner {
    width: 100%;
    background: var(--bg-section-banner);
    border: 2px dashed var(--border-dashed);
    border-radius: var(--radius-md);
    padding: 1.4rem 2rem;
    text-align: center;
    margin-bottom: 2.2rem;
    position: relative;
    overflow: hidden;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-heading);
    text-transform: uppercase;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. SECTION: HOME / HERO (Split Layout)
   -------------------------------------------------------------------------- */
.hero-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 680px;
    align-items: stretch;
}

.hero-text-side {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-card);
}

.hero-content-inner {
    max-width: 480px;
}

.greeting-tag {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.highlight-name {
    color: var(--accent-yellow);
    display: inline-block;
    position: relative;
    -webkit-text-stroke: 1.5px var(--accent-yellow);
    letter-spacing: 2px;
}

.hero-role-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    margin-bottom: 1.6rem;
    text-transform: uppercase;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--accent-yellow);
    color: #121212;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    background: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(255, 107, 0, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 2px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--text-heading);
    background: var(--bg-card-inner);
    transform: translateY(-2px);
}

.hero-image-side {
    position: relative;
    background: radial-gradient(circle at 50% 30%, #2A2E3C 0%, #111217 85%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(103%) brightness(102%);
    transition: filter var(--transition-slow), transform var(--transition-slow);
}

.hero-image-side:hover .hero-portrait-img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(17,18,23,0.6) 100%);
    pointer-events: none;
}

.floating-stat-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(18, 19, 24, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.4rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.floating-stat-badge i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
}

.floating-stat-badge strong {
    display: block;
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.floating-stat-badge small {
    color: var(--text-light-muted);
    font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   9. SECTION: ABOUT ME
   -------------------------------------------------------------------------- */
.about-header {
    margin-bottom: 2.2rem;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.text-bold {
    font-weight: 800;
}

.text-accent {
    color: var(--accent-yellow);
    font-weight: 700;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* 4 Stat Boxes (Signature Dark Grid) */
.stats-dark-box {
    background: var(--bg-dark-card);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-dark);
    position: relative;
}

.stat-card {
    text-align: center;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-white);
    text-transform: uppercase;
}

/* What I Do Services */
.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-item {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.4rem;
    transition: all var(--transition-fast);
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-yellow);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-yellow-light);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .service-icon {
    background: rgba(255, 107, 0, 0.12);
}

.service-item:hover .service-icon {
    background: var(--accent-yellow);
    color: #121212;
    transform: scale(1.08);
}

.service-details h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.service-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.designer-quote-banner {
    background: var(--bg-card-inner);
    border-left: 4px solid var(--accent-yellow);
    padding: 1.2rem 1.8rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.designer-quote-banner blockquote {
    flex-grow: 1;
}

.designer-quote-banner cite {
    font-style: normal;
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. SECTION: RESUME
   -------------------------------------------------------------------------- */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    margin-bottom: 2.8rem;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
}

.header-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.column-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-heading);
}

.timeline-group {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.timeline-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.6rem;
    position: relative;
    transition: all var(--transition-fast);
}

.timeline-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-yellow);
    color: #121212;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.timeline-place {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 0.65rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Skills progress */
.skills-block {
    margin-bottom: 2.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-section-banner);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: var(--percent, 0%);
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.resume-download-bar {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.download-info i {
    font-size: 1.4rem;
    color: var(--accent-yellow);
}

/* --------------------------------------------------------------------------
   11. SECTION: PORTFOLIO
   -------------------------------------------------------------------------- */
.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.filter-btn {
    padding: 0.5rem 1.3rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    background: transparent;
    border: 1px solid transparent;
}

.filter-btn:hover {
    color: var(--text-heading);
    background: var(--bg-card-inner);
}

.filter-btn.active {
    background: var(--accent-yellow);
    color: #121212;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.portfolio-card-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), opacity 0.3s ease;
    cursor: pointer;
}

.portfolio-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-yellow);
}

.portfolio-card-item.hide {
    display: none;
}

.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card-item:hover .card-media img {
    transform: scale(1.08);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 19, 24, 0.2) 0%, rgba(18, 19, 24, 0.92) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
    transition: opacity var(--transition-smooth);
}

.portfolio-card-item:hover .media-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(15px);
    transition: transform var(--transition-smooth);
}

.portfolio-card-item:hover .overlay-content {
    transform: translateY(0);
}

.project-tag {
    display: inline-block;
    background: var(--accent-yellow);
    color: #121212;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.project-subtitle {
    font-size: 0.82rem;
    color: var(--text-light-muted);
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.view-project-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #121212;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.view-project-btn:hover {
    background: var(--accent-yellow);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   12. SECTION: TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-lead-text {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-bottom: 2.8rem;
}

.testimonial-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: var(--bg-dark-card-hover);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #E55800 100%);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.15rem;
}

.client-role {
    font-size: 0.8rem;
    color: var(--accent-yellow);
    font-weight: 600;
}

.testimonial-quote {
    font-size: 0.88rem;
    color: #D1D5DB;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    color: var(--accent-yellow);
    font-size: 0.85rem;
}

.clients-trust-bar {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.brand-names {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--text-heading);
    opacity: 0.75;
}

.brand-names span:nth-child(even) {
    color: var(--accent-yellow);
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   13. SECTION: CONTACT
   -------------------------------------------------------------------------- */
.contact-intro {
    margin-bottom: 2.2rem;
}

.contact-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.contact-intro p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.info-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.4rem;
    display: flex;
    gap: 1.2rem;
    transition: all var(--transition-fast);
}

.info-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-yellow);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.info-content h5 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.info-link {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
    transition: color var(--transition-fast);
}

.info-link:hover {
    color: var(--accent-yellow);
}

.info-content p {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
}

.availability-tag {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text-heading);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px var(--accent-yellow-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
}

/* Contact Thanks Banner (Yellow Banner at bottom of Contact section) */
.contact-thanks-banner {
    background: var(--accent-yellow);
    border-radius: var(--radius-md);
    padding: 1.2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-yellow);
}

.contact-thanks-banner span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #121212;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   14. FLOATING VERTICAL RIGHT DOCK (Matching Reference Image)
   -------------------------------------------------------------------------- */
.right-icon-dock {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.dock-container {
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
    padding: 0.6rem 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-dock);
}

.dock-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #2D2513;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.dock-btn:hover {
    color: #000000;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.dock-btn.active {
    background: #000000;
    color: var(--accent-yellow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   15. PROJECT MODAL / LIGHTBOX
   -------------------------------------------------------------------------- */
.project-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.project-modal[open] {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop-close {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.modal-dialog-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    width: 90%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    transform: scale(0.95);
    transition: transform var(--transition-smooth);
}

.project-modal[open] .modal-dialog-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-subtle);
    color: var(--text-heading);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--accent-yellow);
    color: #121212;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow-y: auto;
    max-height: 85vh;
}

.modal-image-col {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-col {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-tag {
    display: inline-block;
    background: var(--accent-yellow);
    color: #121212;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: 0.85rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.modal-specs {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.spec-row {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.spec-row strong {
    color: var(--text-heading);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* --------------------------------------------------------------------------
   16. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.toast {
    background: var(--bg-dark-card);
    color: #FFFFFF;
    border-left: 4px solid var(--accent-yellow);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    animation: toastSlideIn 0.35s ease forwards;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-image-side {
        height: 380px;
    }
    
    .stats-dark-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-card:nth-child(2)::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image-col {
        height: 280px;
    }
}

@media (max-width: 860px) {
    body {
        padding: 1rem;
    }
    
    .portfolio-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .portfolio-card[data-current-page="home"] .card-sidebar {
        display: none;
    }
    
    .card-sidebar {
        width: 100%;
        padding-bottom: 1rem;
    }
    
    .sidebar-avatar-box {
        display: none;
    }
    
    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-item {
        width: auto;
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .card-main-content {
        padding-right: 0;
        max-height: none;
    }
    
    .right-icon-dock {
        display: none;
    }
    
    .section-inner-wrapper {
        padding: 1.8rem 1.4rem;
    }
    
    .hero-text-side {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
