/* ============================================
   PORTFOLIO SITE - COMPLETE DESIGN SYSTEM
   ============================================ */

/* Reset for portfolio pages */
/* ============================================
   PHOTOGRAPHY SECTION
   ============================================ */
.photo-section {
    background: linear-gradient(165deg, #fdfbf9 0%, #f8f3ee 30%, #f5ede5 60%, #efe5db 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
}

/* Subtle noise texture overlay */
.photo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.photo-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 154, 108, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 15% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: patternShift 15s ease-in-out infinite alternate;
}

@keyframes patternShift {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Floating decorative elements for photo section */
.photo-section .floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
    filter: blur(60px);
}

.photo-section .orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    top: -100px;
    right: 10%;
    /* animation removed */
}

.photo-section .orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    bottom: -50px;
    left: 5%;
    /* animation removed */
}

.photo-section .orb-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #34d399, #f59e0b);
    top: 40%;
    right: -50px;
    /* animation removed */
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.1); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.05); }
}

.photo-layout {
    display: grid;
    grid-template-columns: 520px 1fr 200px;
    gap: 30px;
    width: 100%;
    height: 100%;
    padding: 15px 40px;
    box-sizing: border-box;
    align-items: center;
}

/* Photo Grid Preview */
.photo-preview {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.photo-grid {
    position: relative;
    width: 480px;
    height: 100%;
}

.photo-card {
    position: absolute;
    width: 340px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    will-change: transform, box-shadow, z-index;
    /* Animation removed for static positioning */
}

.photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-card:hover::before {
    opacity: 1;
}

/* Animation delays removed - static layout */

/* cardFloat animation removed for static positioning */

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-card:hover {
    z-index: 20 !important;
    transform: translateY(-12px) scale(1.08) rotate(0deg) !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.photo-card:hover img {
    transform: scale(1.04);
}

/* Positioned layout matching reference - static cards, LARGER sizes */
.card-1 { 
    /* Red - top left, overlaps orange */
    top: 5%; 
    left: 80px; 
    transform: rotate(0deg); 
    z-index: 4;
    width: 280px;
    height: 360px;
}
.card-2 { 
    /* Orange - top right, tall portrait wallpaper style */
    top: 0px;
    left: 340px; 
    transform: rotate(0deg); 
    z-index: 3;
    width: 270px;
    height: 417px;
}
.card-3 { 
    /* Green - bottom left, in front */
    top: 48%; 
    left: 20px; 
    transform: rotate(0deg); 
    z-index: 2;
    width: 320px;
    height: 340px;
}

.card-3 img {
    object-fit: cover;
    object-position: center center;
}
.card-4 { 
    /* Blue - bottom right, behind green */
    top: 50%; 
    left: 340px; 
    transform: rotate(0deg); 
    z-index: 5;
    width: 260px;
    height: 320px;
}

/* Center content */
.photo-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive fix for photo cards on small screens */
@media (max-width: 768px) {
    .photo-grid {
        position: static;
        width: 100vw;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .photo-card {
        position: static !important;
        width: 90vw !important;
        max-width: 350px;
        height: auto !important;
        margin: 0 auto;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transform: none !important;
    }
    .photo-card img {
        height: auto;
        min-height: 180px;
    }
    .card-1, .card-2, .card-3, .card-4 {
        width: 90vw !important;
        max-width: 350px;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        z-index: auto !important;
        transform: none !important;
    }
}

.photo-center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.camera-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

.camera-icon-wrap i {
    font-size: 28px;
    color: white;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3); transform: scale(1); }
    50% { box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5); transform: scale(1.05); }
}

.photo-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    letter-spacing: -0.02em;
}

.photo-description {
    font-size: 0.95rem;
    color: rgba(45, 45, 45, 0.7);
    max-width: 280px;
    line-height: 1.5;
    margin: 0;
}

.photo-social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(8, 145, 178, 0.15);
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* Equipment section */
.photo-equipment {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.equip-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0891b2;
    margin-bottom: 4px;
}

.equip-item {
    font-size: 12px;
    color: #0e7490;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.equip-item i {
    font-size: 11px;
    color: #0891b2;
}

.photo-eyebrow {
    color: #0891b2 !important;
}

.photo-title {
    color: #2d2d2d;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.warm-gradient-text {
    background: linear-gradient(135deg, #34d399 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-subtitle {
    color: rgba(45, 45, 45, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.photo-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.photo-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    border: none !important;
    color: white !important;
    padding: 14px 28px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3) !important;
}

.photo-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.45) !important;
}

.photo-btn-secondary {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(45, 45, 45, 0.15) !important;
    color: #2d2d2d !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.photo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(45, 45, 45, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Photo Info - Right */
.photo-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.photo-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0891b2;
    margin-bottom: 8px;
}

.photo-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(8, 145, 178, 0.2);
    color: #0e7490;
    transition: all 0.3s ease;
    animation: slide-in 0.5s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    opacity: 0;
    transform: translateX(-20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.15);
    border-color: rgba(8, 145, 178, 0.35);
}

.category-tag i {
    font-size: 12px;
    opacity: 0.8;
    color: #0891b2;
}

.photo-count-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(8, 145, 178, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.photo-count-badge .badge-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-count-badge .badge-text {
    font-size: 11px;
    line-height: 1.3;
    color: #0e7490;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1100px) {
    .photo-layout {
        grid-template-columns: 280px 1fr;
        gap: 40px;
        padding: 30px 40px;
    }
    .photo-info { display: none; }
}

@media (max-width: 768px) {
    .photo-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 24px;
        text-align: center;
    }
    .photo-content { text-align: center; }
    .photo-actions { justify-content: center; }
    .photo-grid { max-width: 300px; margin: 0 auto; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.nav-arrow {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 
        0 6px 22px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #2d2d2d;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
}
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gallery-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.gallery-dots .dot.active {
    background: #2d2d2d;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.15);
}

.gallery-dots .dot:hover {
    background: #0ea5e9;
    transform: scale(1.2);
}

/* Arrow navigation */
.gallery-dots {
    position: absolute;
    bottom: 34px;
    left: 80px;
    transform: none;
    display: flex;
    gap: 12px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #2d2d2d;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: all;
    backdrop-filter: blur(15px);
}

.nav-arrow:hover {
    background: #2d2d2d;
    color: white;
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.hero-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #38bdf8;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto 20px auto;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Photo section buttons */
.photo-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

.photo-btn:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
}

.photo-btn-secondary {
    background: rgba(45, 45, 45, 0.05) !important;
    color: #2d2d2d !important;
    border-color: rgba(45, 45, 45, 0.2) !important;
}

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

/* ============================================
   TECH STACK TAGS
   ============================================ */
.tech-stack, .photo-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    padding: 5px 12px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #7dd3fc;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.25);
    transform: translateY(-2px);
}

.category-tag {
    padding: 5px 12px;
    background: rgba(8, 145, 178, 0.15);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #0e7490;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(8, 145, 178, 0.25);
    transform: translateY(-2px);
}

/* ============================================
   CODE WINDOW (Dev Section Visual)
   ============================================ */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    width: 100%;
    max-width: 320px;
    background: #1e1e2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 15px 30px -8px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #181825;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.window-title {
    margin-left: auto;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-content {
    padding: 14px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    line-height: 1.6;
}

.code-content pre {
    margin: 0;
}

.code-keyword { color: #c678dd; }
.code-var { color: #e06c75; }
.code-prop { color: #61afef; }
.code-string { color: #98c379; }
.code-bool { color: #d19a66; }
.code-func { color: #61afef; }

/* ============================================
   PHOTO GRID (Photo Section Visual)
   ============================================ */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
}

.photo-card {
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-1 {
    grid-row: span 2;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea"/><stop offset="100%" style="stop-color:%23764ba2"/></linearGradient></defs><rect fill="url(%23g1)" width="100" height="100"/><text x="50" y="55" text-anchor="middle" fill="white" font-size="8" opacity="0.5">Portrait</text></svg>');
}

.card-2 {
    background: linear-gradient(135deg, #34d399 0%, #f59e0b 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f093fb"/><stop offset="100%" style="stop-color:%23f5576c"/></linearGradient></defs><rect fill="url(%23g2)" width="100" height="100"/><text x="50" y="55" text-anchor="middle" fill="white" font-size="8" opacity="0.5">Urban</text></svg>');
}

.card-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g3" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234facfe"/><stop offset="100%" style="stop-color:%2300f2fe"/></linearGradient></defs><rect fill="url(%23g3)" width="100" height="100"/><text x="50" y="55" text-anchor="middle" fill="white" font-size="8" opacity="0.5">Nature</text></svg>');
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .homepage-container {
        height: auto;
        overflow: visible;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 5%;
        height: auto;
        min-height: 50vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tech-stack, .photo-categories {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 30px;
    }
    
    .code-window {
        transform: none;
        max-width: 100%;
    }
    
    .photo-grid {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 0 40px rgba(14, 165, 233, 0.6); }
}

.code-window {
    animation: float 6s ease-in-out infinite;
}

/* photo-card animation removed for static layout */

/* card animation delays removed */

/* ============================================
   NAVIGATION BAR
   ============================================ */
.portfolio-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-brand {
    text-decoration: none;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 20px;
}

.nav-social {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-social:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hide old header styles */
header {
    display: none !important;
}

/* Adjust main content for fixed nav */
main {
    padding-top: 0 !important;
}

/* ============================================
   FOOTER - MODERN DARK STYLE
   ============================================ */
.apple-footer, footer.apple-footer {
    background: #030d1a !important;
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 40px 20px;
}

.apple-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.apple-footer .footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.apple-footer .footer-column h6 {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apple-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apple-footer .footer-links li {
    margin-bottom: 6px;
}

.apple-footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.apple-footer .footer-links a:hover {
    color: #ffffff;
}

.apple-footer .footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: center;
    font-size: 11px;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030d1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0ea5e9 100%);
}

/* ============================================
   SMOOTH SCROLL & SELECTION
   ============================================ */
html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(14, 165, 233, 0.3);
    color: #ffffff;
}

/* Body background for dark theme */
body {
    background: #030d1a !important;
}

/* ============================================
   FLOATING DECORATIVE SHAPES
   ============================================ */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Dev section shapes - tech geometric */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    top: -100px;
    right: 10%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #34d399, #0ea5e9);
    bottom: 10%;
    left: 5%;
    animation: float-slow 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: #38bdf8;
    top: 30%;
    right: 20%;
    animation: float-slow 5s ease-in-out infinite;
}

/* Code floating elements */
.code-float {
    position: absolute;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 24px;
    color: rgba(56, 189, 248, 0.3);
    font-weight: 600;
}

.code-1 {
    top: 15%;
    left: 8%;
    animation: float-rotate 10s ease-in-out infinite;
}

.code-2 {
    bottom: 20%;
    right: 12%;
    font-size: 32px;
    animation: float-rotate 8s ease-in-out infinite reverse;
}

.code-3 {
    top: 60%;
    left: 15%;
    font-size: 18px;
    animation: float-rotate 12s ease-in-out infinite;
}

/* Photo section shapes - warm organic */
.photo-shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    top: -80px;
    left: 15%;
    animation: float-slow 7s ease-in-out infinite;
}

.photo-shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #fbbf24, #34d399);
    bottom: -50px;
    right: 10%;
    animation: float-slow 9s ease-in-out infinite reverse;
}

.photo-shape-3 {
    width: 100px;
    height: 100px;
    background: #0891b2;
    top: 40%;
    left: 5%;
    animation: float-slow 6s ease-in-out infinite;
}

/* Camera floating icons */
.camera-float, .aperture-float {
    position: absolute;
    color: rgba(8, 145, 178, 0.25);
    font-size: 28px;
}

.camera-float {
    top: 20%;
    right: 15%;
    animation: float-rotate 8s ease-in-out infinite;
}

.aperture-float {
    bottom: 25%;
    left: 10%;
    font-size: 36px;
    animation: float-rotate 10s ease-in-out infinite reverse;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float-rotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(14, 165, 233, 0.6); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Animation classes */
.fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.pulse-hover:hover {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #38bdf8;
    margin-right: 8px;
    animation: cursor-blink 1s step-end infinite;
}

/* ============================================
   ENHANCED HERO CONTENT
   ============================================ */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 550px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #38bdf8;
}

.hero-eyebrow i {
    font-size: 14px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 24px auto;
    opacity: 0.85;
}

/* Enhanced gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 30%, #34d399 60%, #0ea5e9 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.warm-gradient-text {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 30%, #34d399 60%, #f59e0b 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.btn-secondary i {
    transition: transform 0.3s;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

/* Photo section button overrides */
.photo-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

.photo-btn-secondary {
    color: #2d2d2d !important;
    border-color: rgba(45, 45, 45, 0.3) !important;
}

.photo-btn-secondary:hover {
    background: rgba(45, 45, 45, 0.1) !important;
    border-color: rgba(45, 45, 45, 0.5) !important;
}

/* Enhanced tags */
.tech-tag, .category-tag {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.category-tag {
    background: rgba(8, 145, 178, 0.15);
    border: 1px solid rgba(8, 145, 178, 0.3);
    color: #0e7490;
}

.category-tag:hover {
    background: rgba(8, 145, 178, 0.3);
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   CONTENT SEPARATION STYLING
   ============================================ */
.content-text-block {
    margin-bottom: 20px;
}

.content-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0d9488);
    border-radius: 3px;
    margin: 24px auto;
    position: relative;
}

.content-divider::before,
.content-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
}

.content-divider::before {
    left: -12px;
}

.content-divider::after {
    right: -12px;
}

.photo-divider {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.photo-divider::before,
.photo-divider::after {
    background: #0891b2;
}

.content-links-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-stack,
.photo-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ============================================
   THREE COLUMN HERO LAYOUT
   ============================================ */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 60px;
    gap: 40px;
    position: relative;
    z-index: 10;
}

/* Left Column */
.hero-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-decorator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.line-accent {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, transparent);
}

.photo-accent {
    background: linear-gradient(90deg, transparent, #f59e0b);
    order: 2;
}

.photo-decorator {
    flex-direction: row-reverse;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.6;
    opacity: 0.75;
    margin: 0;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    opacity: 0.5;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: currentColor;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
}

.photo-scroll {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.photo-scroll .scroll-line::after {
    right: auto;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid currentColor;
    border-top: 1px solid currentColor;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Center Column */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 40px;
    position: relative;
}

.center-decoration {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    animation: spin-slow 20s linear infinite;
}

.photo-orbit {
    border-color: rgba(245, 158, 11, 0.3);
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.center-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.photo-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.hero-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.hero-actions-vertical .btn-primary,
.hero-actions-vertical .btn-secondary {
    min-width: 180px;
    justify-content: center;
}

/* Right Column */
.hero-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.photo-right {
    text-align: left;
    align-items: flex-start;
}

.photo-left {
    text-align: right;
    align-items: flex-end;
}

.stack-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 600;
}

.photo-label {
    color: #0e7490;
}

.tech-stack-vertical,
.photo-categories-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.photo-categories-vertical {
    align-items: flex-end;
}

.photo-right .hero-eyebrow,
.photo-right .hero-title,
.photo-right .hero-subtitle {
    text-align: left;
}

.tech-tag, .category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    animation: slide-in 0.5s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    opacity: 0;
    transform: translateX(20px);
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tech-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.25);
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(56, 189, 248, 0.3);
}

.tech-tag i {
    font-size: 14px;
    opacity: 0.8;
}

.category-tag {
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.25);
    color: #0891b2;
    transform: translateX(-20px);
}

.category-tag:hover {
    background: rgba(8, 145, 178, 0.25);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(8, 145, 178, 0.3);
}

.category-tag i {
    font-size: 12px;
    opacity: 0.7;
}

/* Experience/Photo Count Badge */
.experience-badge,
.photo-count-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.photo-count-badge {
    background: rgba(8, 145, 178, 0.08);
    border-color: rgba(8, 145, 178, 0.15);
}

.badge-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-count-badge .badge-number {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 30px;
        text-align: center;
    }
    
    .hero-left, .hero-right, .photo-left, .photo-right {
        text-align: center;
        align-items: center;
    }
    
    .tech-stack-vertical,
    .photo-categories-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   SECTION SPACING
   ============================================ */
.hero-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.dev-section {
    padding-top: 80px;
}

.photo-section {
    padding-bottom: 0px;
}

/* ============================================
   VERTICAL SPLIT LAYOUT (Side by Side)
   ============================================ */
.homepage-container {
    display: flex !important;
    flex-direction: row !important;
    min-height: 100vh;
}

.hero-section {
    width: 50% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: visible;
}

.hero-section .hero-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 40px !important;
    max-width: 100% !important;
}

.hero-left, .hero-right, .hero-center {
    text-align: center !important;
    align-items: center !important;
}

.tech-stack-vertical,
.photo-categories-vertical {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
}

.scroll-indicator {
    display: none !important;
}

.experience-badge,
.photo-count-badge {
    margin-top: 10px !important;
}

.hero-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
}

.center-decoration {
    width: 60px !important;
    height: 60px !important;
}

.center-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
}

.hero-actions-vertical {
    flex-direction: row !important;
    gap: 12px !important;
}

.hero-actions-vertical .btn-primary,
.hero-actions-vertical .btn-secondary {
    min-width: auto !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
}

.tech-tag, .category-tag {
    padding: 8px 14px !important;
    font-size: 12px !important;
}

/* Divider between sections */
.dev-section {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   LOGO HEADER STYLING
   ============================================ */
.portfolio-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, rgba(15, 15, 35, 0.8) 50%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.3));
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-logo {
    filter: drop-shadow(0 4px 15px rgba(14, 165, 233, 0.5));
    transform: rotate(-5deg);
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #0d9488);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(14, 165, 233, 0.1);
}

.nav-links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-social::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.nav-social i {
    position: relative;
    z-index: 1;
}

.nav-social:hover {
    color: white;
    transform: translateY(-3px);
}

.nav-social:hover::before {
    opacity: 1;
}

/* GitHub specific */
.nav-social[title="GitHub"]:hover::before {
    background: linear-gradient(135deg, #333, #24292e);
}

/* LinkedIn specific */
.nav-social[title="LinkedIn"]:hover::before {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

/* Instagram specific */
.nav-social[title="Instagram"]:hover::before {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Adjust body for fixed nav */
body {
    padding-top: 0 !important;
}

.homepage-container {
    padding-top: 0px;
}

/* ============================================
   FIX HEADER VISIBILITY
   ============================================ */
.portfolio-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    height: 70px !important;
    background: rgba(15, 15, 35, 0.95) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.brand-logo {
    height: 36px !important;
    width: auto !important;
    display: block !important;
}

.brand-text {
    opacity: 1 !important;
    transform: none !important;
    display: inline-block !important;
}

.nav-brand {
    display: flex !important;
    visibility: visible !important;
}

/* Force brand text to always show */
.brand-text {
    opacity: 1 !important;
    display: inline-block !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* DEBUG - Make sure header is visible */
#header-user {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 99999 !important;
    min-height: 70px !important;
}

#header-user .portfolio-nav {
    display: flex !important;
    visibility: visible !important;
}

/* Remove black space under header */
#header-user {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.portfolio-nav {
    margin-bottom: 0 !important;
}

.homepage-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove the "easy" logo text - only show lol0cHx */
.brand-logo {
    height: 45px !important;
}

/* Bigger logo */
.brand-logo {
    height: 80px !important;
    width: auto !important;
    max-height: none !important;
}

.portfolio-nav {
    height: 90px !important;
    padding: 10px 40px !important;
}

.nav-brand {
    gap: 15px !important;
}

.brand-text {
    font-size: 26px !important;
}

/* Even bigger logo, no text */
.brand-logo {
    height: 120px !important;
}

.portfolio-nav {
    height: 130px !important;
}

.brand-text {
    display: none !important;
}

/* Even bigger logo */
.brand-logo {
    height: 180px !important;
}

.portfolio-nav {
    height: 200px !important;
}

/* Transparent header - logo blends in */
.portfolio-nav {
    height: auto !important;
    padding: 20px 40px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#header-user {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: transparent !important;
}

.nav-inner {
    background: transparent !important;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-links a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Centered logo header with pop background */
.portfolio-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #060f1e 100%) !important;
    padding: 30px 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.nav-inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.nav-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.brand-logo {
    height: 180px !important;
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.5)) drop-shadow(0 0 40px rgba(13, 148, 136, 0.3)) !important;
    transition: all 0.4s ease !important;
}

.brand-logo:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.7)) drop-shadow(0 0 60px rgba(13, 148, 136, 0.5)) !important;
}

#header-user {
    position: relative !important;
}

/* Blend header with background - no split */
.portfolio-nav {
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, rgba(30, 20, 60, 0.95) 50%, rgba(20, 10, 45, 0.9) 100%) !important;
    padding: 20px 40px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.brand-logo {
    height: 180px !important;
    filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.6)) drop-shadow(0 0 50px rgba(13, 148, 136, 0.4)) !important;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 35px rgba(14, 165, 233, 0.8)) drop-shadow(0 0 70px rgba(13, 148, 136, 0.6)) !important;
}

/* Bold contrasting header background */
.portfolio-nav {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    padding: 25px 40px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.brand-logo {
    height: 180px !important;
    filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.8)) drop-shadow(0 0 60px rgba(13, 148, 136, 0.6)) brightness(1.1) !important;
    transition: all 0.3s ease !important;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 40px rgba(14, 165, 233, 1)) drop-shadow(0 0 80px rgba(13, 148, 136, 0.8)) brightness(1.2) !important;
    transform: scale(1.03) !important;
}

/* Remove header - just floating logo */
.portfolio-nav {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    z-index: 9999 !important;
}

#header-user {
    background: transparent !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.nav-brand {
    pointer-events: auto !important;
}

.brand-logo {
    height: 200px !important;
    filter: drop-shadow(0 0 35px rgba(14, 165, 233, 0.9)) drop-shadow(0 0 70px rgba(13, 148, 136, 0.7)) brightness(1.15) !important;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 50px rgba(14, 165, 233, 1)) drop-shadow(0 0 100px rgba(13, 148, 136, 0.9)) brightness(1.25) !important;
}

/* Logo at top center */
.portfolio-nav {
    position: fixed !important;
    top: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

#header-user {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
}

/* Light elegant header design */
.portfolio-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 80px !important;
    padding: 0 30px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    z-index: 9999 !important;
}

.nav-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.brand-logo {
    height: 55px !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1)) !important;
    transition: all 0.3s ease !important;
}

/* Fancy name styling */
.brand-name {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
    font-family: 'Playfair Display', 'Georgia', serif !important;
}

.brand-name .name-first {
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 50%, #0ea5e9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: shimmer 3s ease-in-out infinite !important;
}

.brand-name .name-last {
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 7px !important;
    text-transform: uppercase !important;
    color: #666 !important;
    margin-top: 2px !important;
}

.brand-name .name-alias {
    font-family: 'Courier New', 'Fira Code', monospace !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    margin-top: 3px !important;
    background: linear-gradient(90deg, #0ea5e9 0%, #0d9488 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    opacity: 0.5 !important;
    transition: all 0.4s ease !important;
}

.nav-brand:hover .brand-name .name-alias {
    opacity: 1 !important;
    letter-spacing: 5px !important;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.nav-brand:hover .brand-name .name-first {
    animation-duration: 1.5s !important;
}

.nav-brand:hover .brand-name .name-last {
    color: #0d9488 !important;
    letter-spacing: 8px !important;
    transition: all 0.4s ease !important;
}

.brand-logo:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3)) !important;
}

.nav-links {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
}

.nav-links a {
    color: #2d2d2d !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.nav-links a::before {
    content: "" !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 30px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #0ea5e9, #0d9488) !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease !important;
}

.nav-links a:hover {
    color: #0ea5e9 !important;
    background: rgba(14, 165, 233, 0.08) !important;
}

.nav-links a:hover::before {
    transform: translateX(-50%) scaleX(1) !important;
}

.nav-actions {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.nav-social {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4a4a4a !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

.nav-social:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.nav-social[title="GitHub"]:hover {
    background: #333 !important;
    color: white !important;
}

.nav-social[title="LinkedIn"]:hover {
    background: #0077b5 !important;
    color: white !important;
}

.nav-social[title="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743) !important;
    color: white !important;
}

#header-user {
    position: fixed !important;
    pointer-events: auto !important;
    width: 100% !important;
    height: auto !important;
}

.homepage-container {
    padding-top: 80px !important;
}

/* Bigger logo without increasing header */
.brand-logo {
    height: 90px !important;
    margin: -15px 0 !important;
}

.nav-brand {
    position: relative !important;
    z-index: 10 !important;
}

/* Adjusted logo size */
.brand-logo {
    height: 75px !important;
    margin: -10px 0 !important;
}

/* Updated header background - light off-white */
.portfolio-nav {
    background: linear-gradient(180deg, rgba(250, 250, 255, 0.98) 0%, rgba(245, 247, 252, 0.98) 100%) !important;
}

/* Restore horizontal split (top/bottom) */
.homepage-container {
    display: block !important;
    flex-direction: column !important;
}

.hero-section {
    width: 100% !important;
    height: 50vh !important;
    min-height: 50vh !important;
    max-height: 50vh !important;
}

.dev-section {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Restore three-column layout spacing */
.hero-section .hero-layout {
    grid-template-columns: 1fr auto 1fr !important;
    gap: 40px !important;
    padding: 40px 60px !important;
}

.hero-left, .hero-right, .hero-center {
    text-align: initial !important;
    align-items: initial !important;
}

.hero-left {
    text-align: left !important;
}

.hero-right {
    text-align: right !important;
    align-items: flex-end !important;
}

.hero-center {
    text-align: center !important;
    align-items: center !important;
}

.photo-section .hero-layout {
    display: none !important;
}

/* Force spacing update with higher specificity */
.homepage-container .hero-section .hero-layout {
    grid-template-columns: 1fr auto 1fr !important;
    gap: 60px !important;
    padding: 40px 80px !important;
    max-width: 100% !important;
}

/* Bigger name without changing header size */
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.name-first {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2d2d2d !important;
}

.name-last {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0ea5e9 !important;
}

.nav-brand {
    margin: -10px 0 !important;
}

/* ============================================================
   CLIP PHOTO CARDS — PREVENT FOOTER BLEED
   ============================================================ */

/* The photo cards are position:absolute and overflow the section
   into the footer. Clip them at the section boundary. */
.photo-section {
    overflow: hidden !important;
}

/* ============================================================
   RESPONSIVE FIXES — SMALL & MEDIUM SCREENS
   ============================================================ */

/* Hamburger button (hidden on desktop) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(0,0,0,0.06); }
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #2d2d2d;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    /* Stack homepage sections vertically */
    .homepage-container {
        display: block !important;
        flex-direction: column !important;
    }

    /* Auto-height hero sections */
    .hero-section {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 40px 24px !important;
    }

    .dev-section {
        padding-top: 100px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    }

    /* Dev section three-column → single column */
    .hero-section .hero-layout,
    .homepage-container .hero-section .hero-layout,
    .homepage-container .hero-section .hero-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px !important;
        text-align: center !important;
    }

    .hero-left, .hero-right, .hero-center {
        text-align: center !important;
        align-items: center !important;
    }

    /* Photo section: hide complex overlapping cards */
    .photo-layout {
        grid-template-columns: 1fr !important;
        padding: 40px 24px !important;
        gap: 30px !important;
        min-height: auto !important;
    }

    .photo-preview { display: none !important; }
    .photo-info    { display: none !important; }
    .photo-content { width: 100% !important; }

    /* Nav: hide links, show hamburger */
    .nav-links { display: none !important; }
    .nav-hamburger { display: flex !important; }

    /* Mobile nav slide-in */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255,255,255,0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 20px !important;
        gap: 4px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
        z-index: 9998 !important;
        border-top: 1px solid rgba(0,0,0,0.06) !important;
    }

    .nav-links.mobile-open a {
        color: #2d2d2d !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }

    .nav-links.mobile-open a:last-child { border-bottom: none !important; }

    /* Footer: wrap columns */
    .footer-sections {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
    .footer-column {
        min-width: calc(50% - 10px) !important;
        flex: 1 1 calc(50% - 10px) !important;
    }
}

@media (max-width: 600px) {
    .portfolio-nav {
        padding: 0 16px !important;
        height: 70px !important;
    }

    .hero-section { padding: 30px 16px !important; }
    .dev-section  { padding-top: 86px !important; }

    .footer-sections {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .footer-column { min-width: 100% !important; }

    .hero-title    { font-size: 1.9rem !important; }
    .photo-tagline { font-size: 1.4rem !important; }

    .hero-actions-vertical {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    .hero-actions-vertical .btn-primary,
    .hero-actions-vertical .btn-secondary {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }
}

/* ============================================================
   INNER PAGES — SHARED STYLES
   ============================================================ */
.page-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 60px 80px;
    min-height: calc(100vh - 70px);
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
    transition: gap 0.2s;
}
.page-back:hover { gap: 14px; color: #0d9488; }

.page-header { margin-bottom: 60px; }

.page-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0ea5e9;
    margin-bottom: 16px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 560px;
    line-height: 1.6;
    margin: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 28px;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14,165,233,0.15);
}

.project-card-banner {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}

.project-card-body { padding: 24px; }

.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.project-card-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.project-tag {
    padding: 4px 10px;
    background: rgba(14,165,233,0.09);
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #0ea5e9;
}

.project-card-links { display: flex; gap: 10px; }

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.project-link.primary {
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    color: white !important;
}
.project-link.primary:hover {
    box-shadow: 0 6px 20px rgba(14,165,233,0.4);
    transform: translateY(-2px);
    color: white !important;
}
.project-link.secondary {
    background: rgba(0,0,0,0.04);
    color: #333 !important;
    border: 1px solid rgba(0,0,0,0.1);
}
.project-link.secondary:hover { background: rgba(0,0,0,0.08); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 70px;
    margin-bottom: 70px;
    align-items: start;
}

.about-avatar-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-avatar {
    width: 280px;
    height: 370px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: 0 20px 50px rgba(14,165,233,0.3);
    flex-shrink: 0;
}

.about-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(14,165,233,0.06);
    color: #333 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.about-link:hover { background: rgba(14,165,233,0.13); color: #0ea5e9 !important; }
.about-link i { width: 14px; color: #0ea5e9; }

.about-bio {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-bio strong { color: #1a1a2e; }

.skills-section { margin-bottom: 70px; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.skill-item {
    padding: 16px 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.25s;
}
.skill-item:hover {
    border-color: rgba(14,165,233,0.3);
    box-shadow: 0 8px 25px rgba(14,165,233,0.1);
    transform: translateY(-3px);
}

.skill-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.skill-name i { color: #0ea5e9; font-size: 15px; }

.skill-bar {
    height: 4px;
    background: rgba(14,165,233,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #0d9488);
    border-radius: 4px;
}

.timeline-section { margin-bottom: 60px; }

.timeline {
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 0;
    width: 2px;
    background: rgba(14,165,233,0.2);
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}
.timeline-date {
    font-size: 12px;
    font-weight: 500;
    color: #0ea5e9;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}
.timeline-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 3px;
}
.timeline-org {
    font-size: 13px;
    color: #888;
    margin: 0 0 8px;
}
.timeline-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.contact-info-text {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.contact-item-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; flex-shrink: 0;
}
.contact-item-label {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 3px;
}
.contact-item-value {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0;
}

.contact-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
}
.contact-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}
.form-group { margin-bottom: 18px; }
.form-label-custom {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
}
.form-input-custom {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.form-input-custom:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
    background: #fff;
}
.form-textarea-custom {
    min-height: 130px;
    resize: vertical;
}
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}
.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14,165,233,0.35);
}
.form-success-msg {
    text-align: center;
    padding: 20px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 12px;
    color: #0284c7;
    font-weight: 500;
    margin-top: 14px;
    display: none;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.gallery-filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245,158,11,0.25);
}

.gallery-masonry {
    columns: 4;
    column-gap: 14px;
}
@media (max-width: 1200px) {
    .gallery-masonry { columns: 3; }
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: block;
    background: #eee;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.gallery-item.hidden { display: none; }

.prints-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(245,158,11,0.05);
    border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.12);
}
.prints-cta-icon { font-size: 40px; margin-bottom: 14px; }
.prints-cta h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.prints-cta p {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 20px;
}

/* Responsive inner pages */
@media (max-width: 900px) {
    .page-container { padding: 90px 24px 50px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-avatar-section { flex-direction: row; align-items: flex-start; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .gallery-masonry { columns: 2; }
    .projects-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .page-container { padding: 80px 16px 40px; }
    .gallery-masonry { columns: 1; }
    .contact-form { padding: 24px; }
    .about-avatar-section { flex-direction: column; }
}

/* ============================================================
   ✨ BRIGHT THEME OVERRIDES — GO WILD
   ============================================================ */

/* Body — light gradient base */
body {
    background: linear-gradient(160deg, #f0fffe 0%, #f0f9ff 45%, #ecfdf5 100%) !important;
    background-attachment: fixed !important;
}

/* Scrollbar — light */
::-webkit-scrollbar-track {
    background: #e0f7fa !important;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #34d399 100%) !important;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #34d399 0%, #f59e0b 100%) !important;
}

/* Selection */
::selection {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #1a1a2e !important;
}

/* ── Nav — bright frosted glass ── */
.portfolio-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
}

.brand-logo {
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.2)) !important;
}

.nav-links a {
    color: #2d2d2d !important;
}
.nav-links a:hover {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.07) !important;
}
.nav-links a::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}

.nav-social {
    color: #555 !important;
    background: rgba(0, 0, 0, 0.03) !important;
}
.nav-hamburger span {
    background: #2d2d2d !important;
}

/* ── Footer — vibrant gradient ── */
.apple-footer, footer.apple-footer {
    background: linear-gradient(135deg, #0c1a2e 0%, #0a2a3a 40%, #071e2a 100%) !important;
    border-top: 3px solid transparent !important;
    border-image: linear-gradient(90deg, #f59e0b, #fbbf24, #34d399, #0ea5e9) 1 !important;
}

.apple-footer .footer-column h6 {
    color: rgba(255, 255, 255, 0.9) !important;
}
.apple-footer .footer-links a {
    color: rgba(255, 255, 255, 0.55) !important;
}
.apple-footer .footer-links a:hover {
    color: #fbbf24 !important;
}
.apple-footer .footer-legal {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ── Inner page containers — bright cards ── */
.project-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}
.project-card:hover {
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
}

.project-tag {
    background: rgba(245, 158, 11, 0.07) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    color: #d97706 !important;
}

/* Alternate tag colors for visual variety */
.project-card:nth-child(2n) .project-tag {
    background: rgba(14, 165, 233, 0.08) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    color: #0284c7 !important;
}
.project-card:nth-child(3n) .project-tag {
    background: rgba(6, 182, 212, 0.08) !important;
    border-color: rgba(6, 182, 212, 0.22) !important;
    color: #0284c7 !important;
}

/* GitHub CTA card */
.page-container > div:last-child[style*="rgba(102"] {
    background: linear-gradient(135deg, rgba(14,165,233,0.05), rgba(245,158,11,0.05)) !important;
    border-color: rgba(245, 158, 11, 0.1) !important;
}

/* Page container text on light bg */
.page-container {
    background: transparent !important;
}

/* About skill bars */
.skill-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #34d399 100%) !important;
}

/* Contact form card */
.contact-form {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06) !important;
}

/* Mobile nav overlay */
.nav-links.mobile-open {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1) !important;
}
.nav-links.mobile-open a {
    color: #2d2d2d !important;
}
.nav-links.mobile-open a:hover {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.05) !important;
}
