/*
    Lim Heng Swee (ilovedoodle) — Personal Portfolio
    Inspired by Tooplate's Sweet Bakery template
    Warm kawaii x minimalist aesthetic
*/

:root {
    /* Sweet Bakery palette — warm kawaii */
    --peach: #FFB4A2;
    --peach-dark: #F0A08C;
    --peach-light: #FFD4C4;
    --mint: #B8E6D5;
    --mint-light: #D4F1E6;
    --lavender: #D4C5F9;
    --lavender-light: #E8E0FF;
    --cream: #FFF8F0;
    --cream-dark: #FFF0DC;
    --pink: #FFB8D2;
    --yellow: #FFF4B8;
    --text-dark: #5A6A5E;
    --text-medium: #8B7B9B;
    --shadow: rgba(90, 74, 106, 0.1);

    /* Additional warm tones */
    --soft-gold: #E8C9A0;
    --terracotta: #D4956A;
    --warm-brown: #8B6F47;
    --soft-coral: #FF8FA3;

    /* Gradients */
    --gradient-mint-aqua: linear-gradient(135deg, #B5EAD7, #89CFF0);
    --gradient-peach-pink: linear-gradient(135deg, var(--peach), var(--pink));
    --gradient-lavender-mint: linear-gradient(135deg, var(--lavender-light), var(--mint-light));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    font-weight: 300;
    background: linear-gradient(180deg,
            rgba(181, 234, 215, 0.12) 0%,
            rgba(137, 207, 240, 0.08) 30%,
            rgba(255, 248, 240, 0.95) 60%,
            var(--cream) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================
   FLOATING DECORATIVE ELEMENTS
   ============================================ */
.float-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

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

.sparkle-1 { top: 8%; left: 3%; animation-delay: 0s; }
.sparkle-2 { top: 45%; right: 5%; animation-delay: 2s; }
.sparkle-3 { bottom: 20%; left: 8%; animation-delay: 4s; }

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    animation: bounce 2s ease-in-out infinite;
}

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

.logo-sub {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    display: block;
    line-height: 1;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

nav a:hover {
    color: var(--text-dark);
    background: rgba(255, 180, 162, 0.1);
}

nav a.active {
    color: white;
    background: var(--gradient-mint-aqua);
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-title {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    font-weight: 300;
}

.btn-primary {
    background: var(--gradient-mint-aqua);
    color: white;
    box-shadow: 0 8px 25px rgba(137, 207, 240, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(137, 207, 240, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--peach-light);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-secondary:hover {
    background: var(--cream-dark);
    transform: translateY(-3px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 5rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    min-height: 85vh;
    position: relative;
}

.hero-content h1 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    background: var(--gradient-mint-aqua);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .hero-alias {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.5rem;
    color: var(--peach-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-content .hero-quote {
    font-size: 1.2rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--peach);
}

.hero-content .hero-quote-author {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    opacity: 0.7;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-visual-inner img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(90, 74, 106, 0.15);
    transition: transform 0.6s ease;
    display: block;
}

.hero-visual-inner:hover img {
    transform: scale(1.02);
}

.hero-visual-label {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

/* ============================================
   FEATURED WORKS (Home)
   ============================================ */
.featured-section {
    padding: 5rem 5% 6rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--mint-light) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-grid .featured-card:last-child:nth-child(5) {
    grid-column: 2 / 3;
}

.featured-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

.featured-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 180, 162, 0.3);
}

.featured-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.featured-card:hover img {
    transform: scale(1.08);
}

.featured-card-info {
    padding: 1.2rem 1.5rem 1.5rem;
}

.featured-card-info h3 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.featured-card-info span {
    font-size: 0.85rem;
    color: var(--text-medium);
    opacity: 0.7;
}

/* ============================================
   FEATURE CARDS (Style Snapshot)
   ============================================ */
.features-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--mint-light) 0%, var(--cream) 100%);
}

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

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 12px 35px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 197, 249, 0.08), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.feature-card:hover::before { left: 100%; }
.feature-card:hover { transform: translateY(-8px) rotate(-1deg); }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
}

.feature-card h3 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   PORTFOLIO / GALLERY PAGE
   ============================================ */
.portfolio-section {
    padding: 4rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-medium);
    border: 2px solid transparent;
    box-shadow: 0 3px 10px var(--shadow);
}

.filter-tab:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--gradient-mint-aqua);
    color: white;
    box-shadow: 0 5px 20px rgba(137, 207, 240, 0.35);
    border-color: transparent;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 180, 162, 0.3);
}

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

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-info {
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-item-info h3 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
}

.gallery-item-info .item-number {
    font-size: 0.8rem;
    color: var(--text-medium);
    opacity: 0.6;
    font-weight: 600;
}

/* Category badge */
.gallery-item .category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    z-index: 2;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: lightboxFade 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lightboxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: lightboxScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: -0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -3rem; }
.lightbox-next { right: -3rem; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
}

.about-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-portrait {
    position: relative;
    text-align: center;
}

.about-portrait img {
    width: 100%;
    max-width: 380px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(90, 74, 106, 0.15);
}

.about-portrait .portrait-label {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 0.8rem;
    background: rgba(255,255,255,0.85);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
}

.about-info h2 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-info .about-role {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    color: var(--peach-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.2rem;
}

/* Philosophy Blockquote */
.philosophy-section {
    background: linear-gradient(135deg, var(--peach-light), var(--lavender-light));
    padding: 4rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

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

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-quote {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.philosophy-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--peach);
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    opacity: 0.5;
}

.philosophy-author {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* Milestones */
.milestones-section {
    padding: 4rem 5% 5rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--mint-light) 100%);
}

.milestones-container {
    max-width: 700px;
    margin: 0 auto;
}

.milestone-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--mint);
}

.milestone-item:last-child { border-left-color: var(--peach); }

.milestone-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px var(--shadow);
    position: absolute;
    left: -18px;
    top: 0;
}

.milestone-text h4 {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.milestone-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* Social Section */
.social-section {
    padding: 4rem 5% 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--mint-light) 0%, var(--cream) 100%);
}

.social-links-portfolio {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 180, 162, 0.25);
    border-color: var(--peach-light);
}

.social-link-card .social-icon {
    font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 3rem 5%;
    background: linear-gradient(180deg, #7BB8A8 0%, #8DC4B2 100%);
    color: var(--cream);
    text-align: center;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--yellow);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.85;
}

.copyright a {
    color: #D4F1E6;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 3rem 5% 2rem;
        min-height: auto;
    }

    .hero-content .hero-quote {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons { justify-content: center; }

    .hero-visual-inner { max-width: 380px; margin: 0 auto; }

    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid .featured-card:last-child:nth-child(5) { grid-column: auto; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .about-intro { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .about-portrait img { max-width: 300px; }

    .menu-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        padding: 5rem 1rem 2rem;
        transition: right 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.active { right: 0; }

    nav a {
        font-size: 1.2rem;
        width: 85%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content .hero-alias { font-size: 1.2rem; }
    .hero-content .hero-quote { font-size: 1rem; }

    .section-title { font-size: 2rem; }

    .featured-grid { grid-template-columns: 1fr; }
    .featured-card img { height: 250px; }

    .gallery-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .gallery-item img { height: 250px; }

    nav { width: 85%; }

    .philosophy-quote { font-size: 1.2rem; }

    .social-link-card {
        width: 100%;
        justify-content: center;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}
