/* Custom Font Import */
@font-face {
    font-family: 'WideAwakeBlack';
    src: url('../fonts/WIDEAWAKEBLACK.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ── Global Custom Scrollbar ─────────────────────────────── */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 204, 102, 0.55) rgba(255, 255, 255, 0.04);
}

/* Webkit — Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 204, 102, 0.50);
    border-radius: 10px;
    transition: background 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 204, 102, 0.85);
    box-shadow: 0 0 8px rgba(0, 204, 102, 0.6);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Color Variables - Bazq Green Theme */
:root {
    --primary-h: 130;
    --primary-s: 80%;
    --primary-l: 6%;
    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l)); /* Deep rich forest green background */
    
    --accent-h: 142;
    --accent-s: 76%;
    --accent-l: 45%;
    --accent-color: hsl(var(--accent-h), var(--accent-s), var(--accent-l)); /* Neon signature green */
    --accent-glow: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.35);
    
    --secondary-color: #ffffff;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    
    --border-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.3);
    --border-glow: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.15);
    
    --dark-green: hsl(var(--primary-h), var(--primary-s), 3%);
    --bg-overlay: rgba(2, 10, 4, 0.95);
    
    --shadow-neon: 0 0 20px var(--accent-glow);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
    --transition-premium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Legacy compatibility mappings */
    --light-green: #1c6e2f;
    --pixel-green: var(--accent-color);
}

/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Non-selectable text for main pages (except kaynak) */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection on kaynak page */
body.selectable-content {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Custom text selection colors using theme accent colors */
::selection {
    background-color: var(--accent-color, #00cc66);
    color: var(--text-color, #ffffff);
}

::-moz-selection {
    background-color: var(--accent-color, #00cc66);
    color: var(--text-color, #ffffff);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('../images/bg.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: repeat;
    background-attachment: fixed;
    filter: blur(3px) saturate(1.2) contrast(1.1) brightness(1.0);
    animation: petrolLeak 12s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
    transform-origin: center center;
}



@keyframes radioactiveGrain {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-2px, 2px) rotate(90deg); }
    50% { transform: translate(2px, -2px) rotate(180deg); }
    75% { transform: translate(-2px, -2px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes petrolLeak {
    0% { 
        filter: blur(3px) saturate(1.2) contrast(1.1) brightness(1.0);
        transform: scale(1) rotate(0deg) translate(0, 0);
    }
    25% { 
        filter: blur(3px) saturate(1.8) contrast(1.3) brightness(1.1);
        transform: scale(1.02) rotate(0.5deg) translate(-1px, 1px);
    }
    50% { 
        filter: blur(3px) saturate(2.5) contrast(1.4) brightness(1.2);
        transform: scale(1.01) rotate(-0.5deg) translate(1px, -0.5px);
    }
    75% { 
        filter: blur(3px) saturate(3.0) contrast(1.5) brightness(1.3);
        transform: scale(1.03) rotate(0.25deg) translate(-0.5px, -1px);
    }
    100% { 
        filter: blur(3px) saturate(1.2) contrast(1.1) brightness(1.0);
        transform: scale(1) rotate(0deg) translate(0, 0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 30, 4, 0.3) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid #22c55e !important;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 30, 4, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-weight: normal;
    font-size: 2.5rem;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-decoration: none !important;
    opacity: 0;
    animation: fadeInFont 0.3s ease-in-out 0.1s forwards;
}

.nav-logo:hover {
    text-decoration: none !important;
}

@keyframes fadeInFont {
    to {
        opacity: 1;
    }
}



.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff !important;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-weight: normal;
    font-size: 1.4rem;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInFont 0.3s ease-in-out 0.2s forwards;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-link.active {
    color: var(--accent-color) !important;
    border-bottom: 2px solid var(--accent-color) !important;
    box-shadow: 0 4px 10px -4px var(--accent-glow);
}

.admin-link {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ff4444 !important;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Enhanced Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 50%, var(--primary-color) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero2.png') center/cover repeat;
    background-size: 120% 120%;
    animation: none;
    opacity: 0.3;
}

/* Artistic Portfolio Hero Section */
.portfolio-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 50%, var(--primary-color) 100%);
}

.portfolio-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg.png') center/cover repeat;
    background-size: 120% 120%;
    animation: none;
    opacity: 0.3;
}




.portfolio-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: logoFloat 6s infinite ease-in-out;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-mascot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 204, 102, 0.3);
}

.artistic-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.title-line {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 5rem;
    font-weight: normal;
    text-shadow: 0 0 20px rgba(0, 204, 102, 0.5);
    letter-spacing: 8px;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    animation: titleGlow 3s infinite ease-in-out;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 204, 102, 0.5); }
    50% { text-shadow: 0 0 40px rgba(0, 204, 102, 0.8); }
}

.title-subtitle {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 4px;
    opacity: 0.8;
    text-transform: lowercase;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.7; transform: translateY(0px); }
    50% { opacity: 1; transform: translateY(-5px); }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--accent-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Category Navigation */
.category-nav {
    padding: 1.5rem 0;
    background: var(--dark-green);
    border-bottom: 1px solid var(--accent-color);
    position: sticky;
    top: 70px;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: -1px;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.2);
}

.category-btn.active {
    border-color: var(--accent-color);
    background: rgba(0, 204, 102, 0.1);
    box-shadow: 0 0 20px rgba(0, 204, 102, 0.3);
}

.btn-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.btn-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Portfolio Showcase */
.portfolio-showcase {
    padding: 4rem 0;
    background: var(--primary-color);
    min-height: 100vh;
}

/* Masonry layout using columns */
.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    grid-auto-rows: minmax(200px, auto);
}

@media (max-width: 1024px) {
    .portfolio-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .portfolio-masonry {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-green);
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 0;
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 204, 102, 0.3);
    border-color: var(--accent-color);
}

/* Mathematical sizing system */
.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 400px;
}

.portfolio-item.medium {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 350px;
}

.portfolio-item.small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .portfolio-item.medium {
        grid-column: span 1;
        grid-row: span 2;
    }
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }
}

.item-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .item-image img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,30,4,0.3) 40%, rgba(0,30,4,0.7) 70%, rgba(0,30,4,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 480px) {
    .item-overlay {
        padding: 1rem;
        background: radial-gradient(ellipse at center, transparent 0%, rgba(0,30,4,0.3) 40%, rgba(0,30,4,0.7) 70%, rgba(0,30,4,0.9) 100%);
        z-index: 10;
    }
}

.overlay-content {
    z-index: 20;
    position: relative;
    background: none !important;
    pointer-events: none;
}

.overlay-content h3 {
    color: white;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    z-index: 21;
    position: relative;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    z-index: 21;
    position: relative;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}



.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 204, 102, 0.1) 0%, rgba(0, 30, 4, 0.2) 50%, rgba(0, 204, 102, 0.05) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 204, 102, 0.5);
    letter-spacing: 2px;
    color: var(--text-color);
    animation: titleGlow 3s infinite ease-in-out;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    width: 100%;
    max-width: 100vw;
}

/* Ensure hero title content is visible on PC */
@media (min-width: 481px) {
    .hero-title::before,
    .hero-title::after {
        content: none;
    }
}

.hero-cta {
    margin-top: 3rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s ease;
    display: block;
}

.kick-img {
    object-fit: contain;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0;
    background: transparent;
    display: block;
    transition: all 0.3s ease;
}

.kick-link:hover .kick-img {
    transform: scale(1.2);
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

.kick-link:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.youtube-link:hover {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
    
    .social-link {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .social-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 102, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.3);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--accent-color);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Featured Preview Section */
.featured-preview {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Middle Layer - Green Background with 30% opacity */
.featured-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 50%, var(--primary-color) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 204, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 204, 102, 0.05) 0%, transparent 50%);
    opacity: 0.3;
    z-index: 1;
}

.featured-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 204, 102, 0.02) 2px,
            rgba(0, 204, 102, 0.02) 4px
        );
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Featured Container */
.featured-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.custom-project-card {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--dark-green) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-premium);
    box-shadow: 
        0 8px 32px var(--border-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: block;
    text-decoration: none;
    color: inherit;
}

.custom-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    transition: left 0.6s ease;
}

.custom-project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 
        0 20px 40px var(--accent-glow),
        0 0 20px var(--border-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.custom-project-card:hover::before {
    left: 100%;
}

.custom-project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.custom-project-card:hover img {
    filter: brightness(1.1) contrast(1.05);
    transform: scale(1.03);
}

.project-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 30, 4, 0.95) 0%, rgba(0, 204, 102, 0.3) 100%);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0 0 12px 12px;
}

.custom-project-card:hover .project-text-overlay {
    transform: translateY(0);
}

.project-text-overlay h3 {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}







/* Sliding Background Text */
.featured-preview .sliding-text-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
}

.featured-preview .sliding-text-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    white-space: nowrap;
    animation: slideText 20s linear infinite;
}

.featured-preview .sliding-text {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 12rem;
    font-weight: normal;
    color: rgba(0, 204, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 8rem;
    white-space: nowrap;
    user-select: none;
    text-shadow: 
        0 0 10px rgba(0, 204, 102, 0.5),
        0 0 20px rgba(0, 204, 102, 0.3),
        0 0 30px rgba(0, 204, 102, 0.2),
        0 0 40px rgba(0, 204, 102, 0.1);
}

@keyframes slideText {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-33.33%);
    }
}

.preview-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}

.preview-header h2 {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 204, 102, 0.3);
}

.preview-header p {
    font-size: 1.2rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.preview-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    cursor: pointer;
}

.preview-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 204, 102, 0.3);
}

.preview-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 30, 4, 0.9) 0%, rgba(0, 204, 102, 0.2) 100%);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.preview-item:hover .preview-overlay {
    transform: translateY(0);
}

.preview-overlay h3 {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.preview-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.preview-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 3;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.view-all-btn:hover {
    background: transparent;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 204, 102, 0.3);
}

/* Portfolio Section - Green Theme */
.portfolio {
    padding: 60px 0 100px;
    background: rgba(0, 30, 4, 0.6);
    margin: 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--accent-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0.05rem;
    width: 85vw;
    margin: 0 auto;
    padding: 0;
}

.portfolio-item {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
}





.portfolio-image {
    overflow: hidden;
    margin-bottom: 1rem;
}

.portfolio-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.02);
}

.portfolio-title {
    text-align: center;
    padding: 1rem 0;
}

.portfolio-title h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.2;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Placeholder Cards */
.portfolio-item.placeholder .portfolio-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.placeholder-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.upload-hint {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.portfolio-cta {
    text-align: center;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
}

/* Tools & Software Section */
.tools-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.tools-section .container {
    max-width: none;
    width: 100%;
}

.tools-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.brands-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.software-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.brands-section h3,
.software-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.brands-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* PC'de brands grid için orijinal görünüm */
@media (min-width: 481px) {
    .brands-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .brands-grid .tool-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        flex-shrink: 0;
        min-width: 80px;
    }
    
    .brands-grid .tool-item img {
        width: 48px;
        height: 48px;
        filter: brightness(0) invert(1);
        transition: filter 0.3s ease;
    }
    
    .brands-grid .tool-item img:hover {
        filter: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(5000%) hue-rotate(115deg) brightness(95%) contrast(105%);
    }
}

.software-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* PC'de software grid için orijinal görünüm */
@media (min-width: 481px) {
    .software-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.05rem;
        width: 100%;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .software-grid .tool-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        flex-shrink: 0;
        min-width: 80px;
    }
    
    .software-grid .tool-item img {
        width: 48px;
        height: 48px;
        filter: brightness(0) invert(1);
        transition: filter 0.3s ease;
    }
    
    .software-grid .tool-item img:hover {
        filter: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(5000%) hue-rotate(115deg) brightness(95%) contrast(105%);
    }
}



.brands-grid::-webkit-scrollbar,
.software-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 80px;
}

.tool-item img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.tool-item img:hover {
    filter: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(5000%) hue-rotate(115deg) brightness(95%) contrast(105%);
}

/* Contact Section - Green Theme */
.contact {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.contact-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

.contact-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border: 1px solid var(--accent-color);
    padding: 8px 24px;
    border-radius: 6px;
    background: rgba(0, 255, 136, 0.1);
    white-space: nowrap;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 36px;
}

.contact-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
}

.contact-footer p {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}


/* DMCA Badge */
.dmca-badge {
    position: absolute;
    bottom: 20px; /* Heartmade in yazısının altında */
    left: 50%;
    transform: translateX(-50%); /* Yatayda ortala */
    text-decoration: none;
    z-index: 10;
}
/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.5rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .featured-container {
        gap: 2rem;
    }
    
    .tools-container {
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .featured-container {
        padding: 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .featured-preview .sliding-text {
        font-size: 10rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-overlay);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 255, 136, 0.2);
        padding: 2rem 0;
        border-top: 1px solid var(--accent-color);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        width: 100%;
        max-width: 100vw;
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preview-header h2 {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .portfolio-masonry {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .portfolio-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .contact-links a {
        padding: 6px 24px;
        font-size: 0.9rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tools-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation improvements */
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-logo {
        font-size: 2rem;
    }
    
    /* Hero section mobile optimization */
    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-container {
        padding: 0 15px;
        text-align: center;
    }
    
    .hero-logo img {
        width: 80px;
        height: 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        white-space: pre-line;
        max-width: 100%;
    }
    
    .hero-title::before {
        content: "";
    }
    
    .hero-title::after {
        content: "";
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Featured section mobile */
    .featured-container {
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .project-overlay h3 {
        font-size: 1.1rem;
    }
    
    .project-category {
        font-size: 0.8rem;
    }
    
    .featured-preview .sliding-text {
        font-size: 4rem;
    }
    
    /* Tools section mobile */
    .tools-section {
        padding: 3rem 0;
    }
    
    .tools-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brands-section h3,
    .software-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Brands and Software grid mobile fix */
    .brands-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .software-grid {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 0.05rem;
        width: 100%;
        white-space: nowrap;
    }
    .brands-grid .tool-item {
        min-width: unset !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
    }
    .brands-grid .tool-item img {
        width: 30px !important;
        height: 30px !important;
        object-fit: contain !important;
    }
    
    .software-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0;
        width: 100%;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .software-grid .tool-item {
        min-width: unset !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .software-grid .tool-item img {
        width: 30px !important;
        height: 30px !important;
        object-fit: contain !important;
    }

    /* Featured Work: 3 in a row, text overlay */
    .featured-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
        align-items: stretch;
        padding: 0.5rem 0;
    }
    
    .custom-project-card {
        padding: 8px;
        border-radius: 12px;
        border-width: 1px;
    }
    
    .custom-project-card img {
        height: 180px;
        border-radius: 8px;
    }
    
    .custom-project-card:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 
            0 12px 24px rgba(0, 204, 102, 0.25),
            0 0 12px rgba(0, 204, 102, 0.15);
    }
    
    .project-text-overlay {
        padding: 1rem;
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(0, 30, 4, 0.9) 0%, rgba(0, 204, 102, 0.2) 100%);
    }
    
    .project-text-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    




    /* Contact section mobile */
    .contact {
        padding: 3rem 0;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-links a {
        padding: 10px 20px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .contact-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .contact-footer p {
        font-size: 0.8rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links a {
        padding: 8px 0;
    }
    
    /* General mobile improvements */
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .preview-header h2 {
        font-size: 1.8rem;
    }
    
    .title-line {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .category-filters {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .portfolio-masonry {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .portfolio-image img {
        height: 200px;
    }
    
    .portfolio-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Lightbox mobile improvements */
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 10px;
    }
    
    .lightbox-header {
        padding: 15px 20px 10px;
    }
    
    .lightbox-header h3 {
        font-size: 1.2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-thumbnails {
        padding: 10px;
        gap: 8px;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 50px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Portfolio Filter Animation */
.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: blur(2px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.portfolio-item.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* --- Lightbox Styles - Premium Fullscreen Layout --- */
.lightbox {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    background: rgba(0, 10, 2, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-wrapper {
    display: flex;
    width: 100vw;
    height: calc(100vh - 70px);
    background: #001202;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    animation: lightbox-fadein 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightbox-fadein {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Lightbox Controls Bar */
.lightbox-controls-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 120;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.lightbox-back-btn,
.lightbox-layout-toggles {
    pointer-events: auto;
}

.lightbox-back-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-back-btn:hover {
    background: #22c55e;
    color: #001a03;
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

.lightbox-back-btn svg {
    transition: transform 0.2s ease;
}

.lightbox-back-btn:hover svg {
    transform: translateX(-3px);
}

/* Left Media Pane styling */
.lightbox-left-pane {
    flex: 1;
    height: 100%;
    position: relative;
    background: #000000;
    display: flex;
    flex-direction: column;
}

.lightbox-layout-toggles {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.lightbox-layout-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-layout-toggle-btn:hover {
    color: #ffffff;
}

.lightbox-layout-toggle-btn.active {
    background: #22c55e;
    color: #001a03;
}

.lightbox-images-container {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lightbox-images-container::-webkit-scrollbar {
    display: none;
}

/* Mode 1: Vertical scroll mode */
.lightbox-images-container.layout-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 95px 30px 40px 30px;
}

.lightbox-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.lightbox-images-container.layout-scroll .lightbox-image-wrapper img {
    max-width: 92%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.lightbox-image-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #888888;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Mode 2: Grid view (flows row-by-row) */
.lightbox-images-container.layout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: max-content;
    align-items: start;
    gap: 30px;
    padding: 95px 30px 40px 30px;
}

.lightbox-images-container.layout-grid .lightbox-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.lightbox-images-container.layout-grid .lightbox-image-wrapper img:hover {
    transform: translateY(-4px);
    border-color: #22c55e;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

/* Right Sidebar Pane styling */
.lightbox-sidebar {
    width: 380px;
    height: 100%;
    background: #020b03;
    border-left: 2px solid #22c55e;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lightbox-sidebar::-webkit-scrollbar {
    display: none;
}

.lightbox-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 6px;
    color: #22c55e;
    text-decoration: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.lightbox-edit-btn:hover {
    background: #22c55e;
    color: #001a03;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

#lightbox-title {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    line-height: 1.3;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    padding-bottom: 15px;
}

.lightbox-description {
    color: #c8c8c8;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Custom styled markdown components inside the lightbox description sidebar */
.lightbox-description p {
    margin-bottom: 18px;
}

.lightbox-description strong {
    color: #ffffff;
    font-weight: 600;
}

.lightbox-description h1, 
.lightbox-description h2, 
.lightbox-description h3, 
.lightbox-description h4 {
    color: #22c55e;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.lightbox-description h1 { font-size: 1.3rem; }
.lightbox-description h2 { font-size: 1.2rem; }
.lightbox-description h3 { font-size: 1.1rem; }

.lightbox-description ul, 
.lightbox-description ol {
    margin-bottom: 18px;
    padding-left: 20px;
}

.lightbox-description li {
    margin-bottom: 6px;
}

/* Responsive adjustments for lightbox */
@media (max-width: 1024px) {
    .lightbox-wrapper {
        flex-direction: column;
        width: 100vw;
        height: calc(100vh - 70px);
    }
    
    .lightbox-left-pane {
        height: 55%;
        flex: none;
    }
    
    .lightbox-sidebar {
        width: 100%;
        height: 45%;
        border-left: none;
        border-top: 2px solid #22c55e;
    }
    
    .lightbox-controls-bar {
        padding: 0 15px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .lightbox-images-container.layout-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-images-container.layout-scroll {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 80px;
    }
    
    .lightbox-images-container.layout-scroll img {
        max-width: 100%;
    }
}

/* New Portfolio Layout Styles */
.portfolio-layout {
    display: flex;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.portfolio-sidebar {
    width: 280px;
    background: rgba(0, 30, 4, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(34, 197, 94, 0.2);
    padding: 2rem 1.5rem;
    position: fixed;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.sidebar-header h3 {
    color: var(--accent-color);
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 0;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
}

.filter-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateX(5px);
}

.filter-btn.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 204, 102, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

.portfolio-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: var(--primary-bg);
}

.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
    width: 100%;
}

/* Portfolio Item Sizes */
.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-premium);
    border: 1px solid var(--border-color);
    background: var(--dark-green);
    cursor: pointer;
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px var(--accent-glow);
    border-color: var(--accent-color);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 400px;
}

.portfolio-item.medium {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 350px;
}

.portfolio-item.small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
}

.item-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .item-image img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(0, 30, 4, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

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

.overlay-content h3 {
    color: white;
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.category-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-sidebar {
        width: 240px;
    }
    
    .portfolio-main {
        margin-left: 240px;
    }
    
    .portfolio-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .portfolio-layout {
        flex-direction: column;
    }
    
    .portfolio-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1rem;
    }
    
    .portfolio-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .portfolio-masonry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }
    
    .filter-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        width: auto;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .portfolio-sidebar {
        padding: 0.5rem;
    }
    
    .portfolio-main {
        padding: 0.5rem;
    }
    
    .portfolio-masonry {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 10px;
    }
    
    .portfolio-item {
        break-inside: avoid;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .portfolio-item.medium {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .item-image img {
        height: 120px;
        object-fit: cover;
    }
    
    .portfolio-item.large .item-image img {
        height: 200px;
    }
    
    .portfolio-item.medium .item-image img {
        height: 150px;
    }
    
    .item-overlay {
        padding: 1rem;
    }
    
    .overlay-content h3 {
        font-size: 1rem;
    }
    
    .overlay-content p {
        font-size: 0.8rem;
    }
}

/* Custom Scrollbar for Portfolio Sidebar and Main Grid */
.portfolio-sidebar,
.portfolio-main,
.portfolio-masonry {
    scrollbar-width: thin;
    scrollbar-color: #22c55e #001a03;
}

.portfolio-sidebar::-webkit-scrollbar,
.portfolio-main::-webkit-scrollbar,
.portfolio-masonry::-webkit-scrollbar {
    width: 10px;
    background: #001a03;
    border-radius: 8px;
}

.portfolio-sidebar::-webkit-scrollbar-thumb,
.portfolio-main::-webkit-scrollbar-thumb,
.portfolio-masonry::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-green) 100%);
    border-radius: 8px;
    box-shadow: 0 0 8px 2px var(--border-glow);
}

.portfolio-sidebar::-webkit-scrollbar-thumb:hover,
.portfolio-main::-webkit-scrollbar-thumb:hover,
.portfolio-masonry::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 110;
    transition: background 0.2s;
}

/* Floating Sidebar Toggle Button (visible when sidebar is collapsed) */
.floating-sidebar-toggle {
    position: fixed;
    top: 100px;
    left: 20px;
    background: rgba(0, 30, 4, 0.95);
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 120;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 204, 102, 0.2);
    color: var(--text-color);
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.floating-sidebar-toggle:hover {
    background: rgba(0, 204, 102, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 204, 102, 0.3);
}

.floating-toggle-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.floating-toggle-text {
    font-weight: 600;
    text-transform: uppercase;
}

/* Floating toggle visibility logic */
.floating-sidebar-toggle {
    display: none; /* Hidden by default, controlled by JavaScript */
}
.sidebar-toggle:hover {
    background: rgba(34, 197, 94, 0.3);
}
.sidebar-toggle-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s;
}

/* Collapsed Sidebar */
.portfolio-sidebar.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    transition: width 0.3s, padding 0.3s;
}
.portfolio-sidebar.collapsed .sidebar-header,
.portfolio-sidebar.collapsed .filter-section {
    display: none;
}

/* Main content expands when sidebar is collapsed */
.portfolio-main.sidebar-collapsed {
    margin-left: 0 !important;
    transition: margin 0.3s;
}

@media (max-width: 1024px) {
    .portfolio-sidebar {
        position: fixed;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        z-index: 100;
        transition: width 0.3s, padding 0.3s;
    }
    .portfolio-main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .portfolio-sidebar {
        width: 0;
        min-width: 0;
        padding: 0;
        border: none;
        overflow: hidden;
    }
    .portfolio-sidebar:not(.collapsed) {
        width: 240px;
        min-width: 240px;
        padding: 2rem 1.5rem;
        border-right: 1px solid rgba(34, 197, 94, 0.2);
        background: rgba(0, 30, 4, 0.95);
        transition: width 0.3s, padding 0.3s;
    }
    .portfolio-main {
        margin-left: 0;
    }
    .sidebar-toggle {
        left: 1rem;
        right: auto;
    }
    
    /* Mobile floating toggle adjustments */
    .floating-sidebar-toggle {
        top: 80px;
        left: 15px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .floating-toggle-text {
        display: none; /* Hide text on mobile, show only icon */
    }
}

.featured-container {
    gap: 0.4rem;
    padding: 0.05rem 0;
}
.featured-project-wrapper {
    padding: 0;
}
.project-item img {
    height: 35px;
}
.featured-preview {
    padding: 0.3rem 0;
}

.filter-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(54%) sepia(98%) saturate(749%) hue-rotate(88deg) brightness(1.2);
    /* This filter tints to #00cc66 (bazq green) */
    margin-right: 0.5rem;
    transition: filter 0.3s;
}
.filter-btn.active .filter-img,
.filter-btn:hover .filter-img {
    filter: brightness(0) saturate(100%) invert(54%) sepia(98%) saturate(749%) hue-rotate(88deg) brightness(1.6) drop-shadow(0 0 8px #00cc66);
}

/* Force overlay to appear on hover */
.portfolio-item:hover .item-overlay {
    opacity: 1 !important;
}

.kick-link .kick-img {
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}
.kick-link .kick-img path {
  fill: currentColor;
  transition: fill 0.3s;
}
.kick-link:hover .kick-img {
  color: #00ff00;
  transform: scale(1.2);
}
.kick-link:hover .kick-img path {
  fill: currentColor;
}

/* Among Good Company Page Styles */
.company-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 50%, var(--primary-color) 100%);
    padding: 40px 20px 30px;
}

.company-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-title h1 {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 204, 102, 0.5);
    letter-spacing: 2px;
}

.company-quote {
    margin-top: 1.5rem;
}

.company-quote blockquote {
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.company-section {
    padding: 40px 0;
    background: var(--primary-color);
}

.empty-company {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.empty-company h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.empty-company p {
    color: #888888;
    font-size: 1rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.company-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 204, 102, 0.2);
}

.person-info {
    width: 100%;
}

.person-name {
    font-family: 'WideAwakeBlack', Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.person-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.personal-message-section {
    padding: 40px 0;
    background: var(--dark-green);
}

.personal-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.personal-message blockquote {
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.7;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-hero {
        min-height: 25vh;
        padding: 30px 20px 20px;
    }
    
    .company-title h1 {
        font-size: 2rem;
    }
    
    .company-quote blockquote {
        font-size: 0.95rem;
        padding: 1.2rem;
    }
    
    .company-section {
        padding: 30px 0;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .company-card {
        padding: 1.2rem;
    }
    
    .personal-message-section {
        padding: 30px 0;
    }
    
    .personal-message blockquote {
        font-size: 0.9rem;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .company-hero {
        min-height: 20vh;
        padding: 20px 15px 15px;
    }
    
    .company-title h1 {
        font-size: 1.8rem;
    }
    
    .company-quote blockquote {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .company-section {
        padding: 25px 0;
    }
    
    .company-card {
        padding: 1rem;
    }
    
    .person-name {
        font-size: 1.2rem;
    }
    
    .personal-message-section {
        padding: 25px 0;
    }
    
    .personal-message blockquote {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

/* Hero Social Links - Clean SVG Only */
.hero-social-links {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}

.hero-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.15s ease;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    filter: drop-shadow(0 0 10px rgba(0, 204, 102, 0.3));
}

.hero-social-icon .social-icon,
.hero-social-icon .kick-img,
.hero-social-icon svg {
    width: 32px !important;
    height: 32px !important;
    fill: currentColor !important;
    color: inherit;
    transition: all 0.15s ease;
}

/* Ensure custom SVG content inherits color properly */
.hero-social-icon svg path,
.hero-social-icon svg rect,
.hero-social-icon svg circle,
.hero-social-icon svg polygon {
    fill: currentColor !important;
    transition: all 0.15s ease;
}

.hero-social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--accent-color);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero-social-icon:hover .social-icon {
    transform: scale(1.1);
}

/* Fixed size for all SVG icons - including kick-img and custom SVGs */
.hero-social-icon .social-icon,
.hero-social-icon .kick-img,
.hero-social-icon svg {
    width: 32px !important;
    height: 32px !important;
    fill: currentColor !important;
    color: inherit;
    transition: all 0.15s ease;
}

/* Ensure custom SVG content inherits color properly */
.hero-social-icon svg path,
.hero-social-icon svg rect,
.hero-social-icon svg circle,
.hero-social-icon svg polygon {
    fill: currentColor !important;
    transition: all 0.15s ease;
}

/* Custom link hover color */
.hero-social-icon.custom-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero-social-icon.custom-link:hover svg,
.hero-social-icon.custom-link:hover svg path,
.hero-social-icon.custom-link:hover svg rect,
.hero-social-icon.custom-link:hover svg circle,
.hero-social-icon.custom-link:hover svg polygon {
    fill: var(--accent-color) !important;
}

.hero-social-icon.custom-link:hover svg {
    transform: scale(1.1);
}

/* Custom link with specific hover colors */
.hero-social-icon.custom-link.hover-red:hover {
    color: #ef4444 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
}

.hero-social-icon.custom-link.hover-red:hover svg,
.hero-social-icon.custom-link.hover-red:hover svg path,
.hero-social-icon.custom-link.hover-red:hover svg rect,
.hero-social-icon.custom-link.hover-red:hover svg circle,
.hero-social-icon.custom-link.hover-red:hover svg polygon {
    fill: #ef4444 !important;
}

.hero-social-icon.custom-link.hover-red:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-blue:hover {
    color: #3b82f6 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.hero-social-icon.custom-link.hover-blue:hover svg,
.hero-social-icon.custom-link.hover-blue:hover svg path,
.hero-social-icon.custom-link.hover-blue:hover svg rect,
.hero-social-icon.custom-link.hover-blue:hover svg circle,
.hero-social-icon.custom-link.hover-blue:hover svg polygon {
    fill: #3b82f6 !important;
}

.hero-social-icon.custom-link.hover-blue:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-purple:hover {
    color: #8b5cf6 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.hero-social-icon.custom-link.hover-purple:hover svg,
.hero-social-icon.custom-link.hover-purple:hover svg path,
.hero-social-icon.custom-link.hover-purple:hover svg rect,
.hero-social-icon.custom-link.hover-purple:hover svg circle,
.hero-social-icon.custom-link.hover-purple:hover svg polygon {
    fill: #8b5cf6 !important;
}

.hero-social-icon.custom-link.hover-purple:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-orange:hover {
    color: #f97316 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6));
}

.hero-social-icon.custom-link.hover-orange:hover svg,
.hero-social-icon.custom-link.hover-orange:hover svg path,
.hero-social-icon.custom-link.hover-orange:hover svg rect,
.hero-social-icon.custom-link.hover-orange:hover svg circle,
.hero-social-icon.custom-link.hover-orange:hover svg polygon {
    fill: #f97316 !important;
}

.hero-social-icon.custom-link.hover-orange:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-pink:hover {
    color: #ec4899 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6));
}

.hero-social-icon.custom-link.hover-pink:hover svg,
.hero-social-icon.custom-link.hover-pink:hover svg path,
.hero-social-icon.custom-link.hover-pink:hover svg rect,
.hero-social-icon.custom-link.hover-pink:hover svg circle,
.hero-social-icon.custom-link.hover-pink:hover svg polygon {
    fill: #ec4899 !important;
}

.hero-social-icon.custom-link.hover-pink:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-yellow:hover {
    color: #eab308 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.6));
}

.hero-social-icon.custom-link.hover-yellow:hover svg,
.hero-social-icon.custom-link.hover-yellow:hover svg path,
.hero-social-icon.custom-link.hover-yellow:hover svg rect,
.hero-social-icon.custom-link.hover-yellow:hover svg circle,
.hero-social-icon.custom-link.hover-yellow:hover svg polygon {
    fill: #eab308 !important;
}

.hero-social-icon.custom-link.hover-yellow:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-cyan:hover {
    color: #06b6d4 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.hero-social-icon.custom-link.hover-cyan:hover svg,
.hero-social-icon.custom-link.hover-cyan:hover svg path,
.hero-social-icon.custom-link.hover-cyan:hover svg rect,
.hero-social-icon.custom-link.hover-cyan:hover svg circle,
.hero-social-icon.custom-link.hover-cyan:hover svg polygon {
    fill: #06b6d4 !important;
}

.hero-social-icon.custom-link.hover-cyan:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-white:hover {
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.hero-social-icon.custom-link.hover-white:hover svg,
.hero-social-icon.custom-link.hover-white:hover svg path,
.hero-social-icon.custom-link.hover-white:hover svg rect,
.hero-social-icon.custom-link.hover-white:hover svg circle,
.hero-social-icon.custom-link.hover-white:hover svg polygon {
    fill: #ffffff !important;
}

.hero-social-icon.custom-link.hover-white:hover svg {
    transform: scale(1.1);
}

.hero-social-icon.custom-link.hover-black:hover {
    color: #000000 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}

.hero-social-icon.custom-link.hover-black:hover svg,
.hero-social-icon.custom-link.hover-black:hover svg path,
.hero-social-icon.custom-link.hover-black:hover svg rect,
.hero-social-icon.custom-link.hover-black:hover svg circle,
.hero-social-icon.custom-link.hover-black:hover svg polygon {
    fill: #000000 !important;
}

.hero-social-icon.custom-link.hover-black:hover svg {
    transform: scale(1.1);
}

/* Hover Color Classes for all icons */
.hero-social-icon.hover-red:hover {
    color: #ef4444 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
}

.hero-social-icon.hover-blue:hover {
    color: #3b82f6 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.hero-social-icon.hover-purple:hover {
    color: #8b5cf6 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.hero-social-icon.hover-orange:hover {
    color: #f97316 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6));
}

.hero-social-icon.hover-pink:hover {
    color: #ec4899 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6));
}

.hero-social-icon.hover-yellow:hover {
    color: #eab308 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.6));
}

.hero-social-icon.hover-cyan:hover {
    color: #06b6d4 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.hero-social-icon.hover-white:hover {
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.hero-social-icon.hover-black:hover {
    color: #000000 !important;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}

/* Platform-specific hover colors (when no custom hover color is set) */
.discord-link:hover {
    color: #5865f2;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.6));
}

.twitter-link:hover {
    color: #1da1f2;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(29, 161, 242, 0.6));
}

.instagram-link:hover {
    color: #e4405f;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(228, 64, 95, 0.6));
}

.github-link:hover {
    color: #333;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(51, 51, 51, 0.6));
}

.linkedin-link:hover {
    color: #0077b5;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 119, 181, 0.6));
}

.facebook-link:hover {
    color: #1877f2;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(24, 119, 242, 0.6));
}

.twitch-link:hover {
    color: #9146ff;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(145, 70, 255, 0.6));
}

.tiktok-link:hover {
    color: #000000;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}

.telegram-link:hover {
    color: #0088cc;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 136, 204, 0.6));
}

.whatsapp-link:hover {
    color: #25d366;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(37, 211, 102, 0.6));
}

.kick-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.kick-link:hover svg path {
    fill: var(--accent-color) !important;
}

.kick-link:hover .kick-img {
    fill: var(--accent-color) !important;
}

.kick-link:hover svg {
    fill: var(--accent-color) !important;
}

.youtube-link:hover {
    color: #ff0000;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
}

/* Hero Animations */
@keyframes hero-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes hero-slide {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}

@keyframes hero-zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes hero-rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes hero-ken-burns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-5%, -5%); }
}

/* Disable animations when set to none */
.hero-bg[style*="animation: none"] {
    animation: none !important;
}

/* Ensure no default zoom animation on hero background */
.hero-bg {
    animation: none;
}

/* --- unified markdown code block styling & copy button --- */
.code-block-container {
    position: relative;
    margin: 20px 0;
    background: #001a03;
    border: 2px solid #22c55e;
    border-radius: 8px;
    overflow: hidden;
}

.code-block-container pre {
    margin: 0 !important;
    padding: 20px 15px 15px 15px !important;
    background: transparent !important;
    border: none !important;
}

.copy-code-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.copy-code-btn:hover {
    background: #22c55e;
    color: #001e04;
}

.copy-code-btn.copied {
    background: var(--accent-color);
    color: #001e04;
    border-color: var(--accent-color);
}

/* --- github style alert panels --- */
.github-alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid;
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.02);
}

.github-alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.github-alert-title svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.github-alert-note {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}
.github-alert-note .github-alert-title {
    color: #3b82f6;
}

.github-alert-tip {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}
.github-alert-tip .github-alert-title {
    color: #10b981;
}

.github-alert-important {
    border-left-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}
.github-alert-important .github-alert-title {
    color: #8b5cf6;
}

.github-alert-warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}
.github-alert-warning .github-alert-title {
    color: #f59e0b;
}

.github-alert-caution {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}
.github-alert-caution .github-alert-title {
    color: #ef4444;
}

/* --- markdown images --- */
.markdown-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.markdown-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 0 10px 0 !important;
    border: 1px solid #22c55e;
    display: block;
}

.markdown-image-caption {
    display: block;
    font-size: 0.85rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: center;
    font-style: italic;
}

/* --- custom premium tooltips --- */
.custom-tooltip {
    position: relative;
}

.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 10, 2, 0.95);
    border: 1px solid #22c55e;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.custom-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVE OVERHAUL
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .navbar {
        padding: 0;
    }
    .nav-container {
        padding: 0 16px;
        height: 60px;
    }
    .nav-logo {
        font-size: 1.8rem;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(2, 8, 4, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        width: 100%;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 204, 102, 0.15);
        padding: 1.5rem 0 2rem;
        border-top: 1px solid rgba(0, 204, 102, 0.25);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
    }

    /* --- General page containers --- */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    section {
        padding: 3rem 0;
    }

    /* --- Hero --- */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 16px;
    }
    .hero-logo img {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        white-space: normal;
        max-width: 100%;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* --- Portfolio grid (main page preview) --- */
    .portfolio-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 0 8px;
    }
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 220px !important;
    }

    /* --- Featured preview --- */
    .featured-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .preview-header h2 {
        font-size: 2rem;
    }
    .sliding-text {
        font-size: 8rem !important;
    }

    /* --- About / Stats --- */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* --- Tools / Contact --- */
    .tools-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* --- Footer --- */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* --- Portfolio page modal --- */
    .project-modal-inner {
        flex-direction: column !important;
    }
    .modal-images-pane {
        width: 100% !important;
        height: 50vh !important;
        max-height: 50vh !important;
    }
    .modal-desc-pane {
        width: 100% !important;
        max-height: 50vh;
        overflow-y: auto;
        padding: 20px !important;
    }
    .modal-controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* --- Company page --- */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .company-hero-title {
        font-size: 2.5rem;
    }
}

/* ── Mobile (≤480px) ─────────────────────────────────────────── */
@media (max-width: 480px) {

    /* --- Navbar --- */
    .nav-container {
        padding: 0 12px;
        height: 56px;
    }
    .nav-logo {
        font-size: 1.5rem;
    }
    .nav-menu {
        top: 56px;
        padding: 1rem 0 1.5rem;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* --- Portfolio grid (1 column) --- */
    .portfolio-masonry {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px !important;
    }

    /* --- Featured / Preview --- */
    .preview-grid {
        grid-template-columns: 1fr;
    }
    .sliding-text {
        font-size: 5rem !important;
    }

    /* --- Stats --- */
    .stats {
        grid-template-columns: 1fr;
    }

    /* --- General --- */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .container {
        padding: 0 12px;
    }
    section {
        padding: 2rem 0;
    }

    /* --- Company page --- */
    .company-hero-title {
        font-size: 1.8rem;
    }
}