/* --- Variables (Strict Match to Image 253) --- */
:root {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    --color-bg: #F5E9D3;
    /* Aged Cream/Ivory */
    --color-red: #A82424;
    /* Darker, bloodier red */
    --color-mustard: #C69302;
    /* Aged Mustard, reverted */
    --color-brown-title: #705C53;
    /* Cool Umber - Clearly Brown but Cold */
    --color-blue: #4D6E81;
    /* Aged Blue (Petrol) */
    --color-teal: #4ECDC4;
    /* Retro Teal Accent */
    --color-offwhite: #FDEED9;
    /* Lighter Cream for checkerboard */
    --color-silver: #A8A8A8;
    /* Metal/Chrome */
    --color-black: #705C53;
    /* Cool Umber (Medium Cold Brown) */
    --color-text: #4A3C35;
    /* Dark Cool Brown Text for contrast */

    /* Card Pastel Colors - Muted for the new aesthetic */
    --color-card-pink: #E8A19F;
    --color-card-orange: #EDC5A5;
    --color-card-green: #BBCFA3;
    --color-card-cyan: #96C4B8;

    /* Typography */
    --font-heading: 'Shrikhand', cursive;
    --font-logo: 'Lobster', cursive;
    --font-body: 'Outfit', sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    /* Lighter Background with centered, perfectly aligned high-contrast checkers */
    background-color: #F0E6D2;
    /* Slightly cleaner light beige */
    background-image:
        conic-gradient(rgba(0, 0, 0, 0.07) 90deg, transparent 90deg 180deg, rgba(0, 0, 0, 0.07) 180deg 270deg, transparent 270deg),
        conic-gradient(rgba(255, 255, 255, 0.04) 90deg, transparent 90deg 180deg, rgba(255, 255, 255, 0.04) 180deg 270deg, transparent 270deg);
    background-size: 50px 50px;
    /* 25px squares, perfect for 1000px wrapper */
    background-position: center top;

    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    border: none;
    position: relative;
    overflow-x: hidden;
}

/* Global Grain Overlay - Disabled */
.grain-overlay {
    display: none;
}

/* --- Central Column Layout --- */
.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-bg);
    /* Texture Papier Abîmé - Removed grain for performance as it caused lag */
    background-image:
        /* Subtle Gradient for depth */
        linear-gradient(to bottom, rgba(112, 92, 83, 0.05), transparent 10%, transparent 90%, rgba(112, 92, 83, 0.05));

    background-attachment: scroll;
    /* Ensures texture moves with the card */
    background-repeat: repeat;

    min-height: 100vh;
    border-radius: 2px;
    /* Slight rounding for paper feel */

    /* Thick Brown side borders for visual balance */
    border-left: 15px solid var(--color-black);
    border-right: 15px solid var(--color-black);

    padding: 0 40px;
    position: relative;

    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4), inset 0 0 100px rgba(112, 92, 83, 0.2);
    /* Stronger shadow + Inner vignette for 'damaged' look */
    z-index: 1;
    /* Above grain overlay for sharp text */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(112, 92, 83, 0.15);
    /* Outer shadow + Inner vintage vignette */
}

/* Checkerboard strips - Removed from inner layout */
.checker-inner-left,
.checker-inner-right {
    display: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Typography Helpers --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

/* --- Navbar --- */
.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
/* Logo matches the document: Rounded Script */
.logo {
    font-family: var(--font-logo);
    font-size: 3rem;
    text-decoration: none;
    display: inline-block;
    transform: rotate(-5deg) translateX(-30px);
    margin-top: 35px;
    line-height: 1;
}

.logo span:first-child {
    color: var(--color-mustard);
    text-shadow: 2px 2px 0 #483833;
}

.logo span:last-child {
    color: var(--color-red);
    text-shadow: 2px 2px 0 #483833;
}

/* Nav Links match the document: Uppercase Sans Serif */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 800;
    /* Bold */
    font-size: 0.9rem;
    color: var(--color-black);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-red);
}

/* Textured divider with checkered pattern */
/* Simple horizontal line separator */
.dashed-separator {
    height: 4px;
    background-color: var(--color-black);
    /* Simple black line */
    margin: 2rem auto;
    width: 60%;
    opacity: 0.2;
    border: none;
    box-shadow: none;
}

/* --- Hero --- */
.hero {
    padding: 3rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-pill-red {
    background-color: var(--color-red);
    color: #F5E9D3;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    /* More rectangular/retro */
    font-weight: bold;
    font-family: 'Lobster', cursive;
    transform: rotate(-3deg);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);

    /* Position adjustment: moved slightly down from previous position */
    position: relative;
    top: -15px;
    left: -40px;
}

.diner-title {
    color: #483833;
    /* Smoked Ebony - Clearly brown but cold */
    font-family: 'Lobster', cursive;
    text-shadow:
        3px 3px 0 var(--color-mustard),
        5px 5px 0 rgba(0, 0, 0, 0.1);
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

/* Hero Pennant (Arrow/Shape from inspiration) */
.hero-pennant {
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%) rotate(-5deg);
    width: 120%;
    height: 140px;
    background-color: var(--color-mustard);
    z-index: 1;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

/* Retro Starbursts */
.starburst {
    position: absolute;
    width: 50px;
    height: 50px;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 3;
    animation: pulse-star 2s infinite alternate;
}

@keyframes pulse-star {
    from {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.6;
    }

    to {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
    }
}

.star-1 {
    top: -40px;
    right: 10%;
    color: var(--color-mustard);
    width: 70px;
    height: 70px;
}

.star-2 {
    bottom: -20px;
    left: -10%;
    color: var(--color-red);
}

.availability-box {
    border: 2px solid var(--color-black);
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 0 var(--color-black);
}

.btn-mustard {
    background-color: var(--color-mustard);
    color: #F5E9D3;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    align-self: flex-end;
    /* Align to the right of the flex container */
    margin-right: 1rem;
    /* Adjust margin if needed */
    box-shadow: 6px 6px 0 var(--color-black);
    transition: 0.2s;
    font-family: var(--font-body);
    letter-spacing: 1px;
    font-size: 1.1rem;
    border: 2px solid var(--color-black);
    cursor: pointer;
}

.btn-mustard:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--color-black);
}


.btn-cyan:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--color-black);
}

/* --- Vinyl Animation --- */
.vinyl-record {
    width: 320px;
    /* Reduced from 350px to prevent overflow */
    height: 320px;
    background: repeating-radial-gradient(circle at center,
            #2c2c2c 0,
            #2c2c2c 2px,
            #1a1a1a 3px,
            #1a1a1a 4px);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    animation: spin 6s linear infinite;
}

.vinyl-record::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 2px solid #333;
    border-radius: 50%;
}

.vinyl-record::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid #333;
    border-radius: 50%;
}

.vinyl-label {
    width: 120px;
    height: 120px;
    background: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    border: 4px solid white;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- About --- */
.section-about {
    padding: 4rem 0;
}

.title-red {
    font-family: 'Lobster', cursive;
    font-size: 3.5rem;
    font-size: 3.5rem;
    color: var(--color-red);
    margin-bottom: 2.5rem;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.title-red::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    right: 20%;
    height: 4px;
    background-color: var(--color-black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.cream-card {
    background: #fff;
    border: 2px solid var(--color-black);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.mustard-text {
    color: var(--color-mustard);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-family: 'Lobster', cursive;
}

.diner-list {
    list-style: none;
    padding-left: 0;
}

.diner-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.5rem;
}

.diner-list strong {
    color: var(--color-black);
}

/* --- Skills Menu --- */
.section-skills {
    padding: 4rem 0;
}

.dashed-border-box {
    border: 3px solid var(--color-black);
    padding: 3rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.dashed-border-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-black);
    opacity: 0.2;
}

.menu-category {
    color: var(--color-mustard);
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--color-black);
    display: inline-block;
    font-family: 'Lobster', cursive;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
}

.item-name {
    font-weight: bold;
    color: var(--color-black);
}

.item-desc {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* --- Portfolio --- */
.section-portfolio {
    padding: 4rem 0;
}

.subtitle-mustard {
    color: var(--color-black);
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card-simple {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-image-box {
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E0D6C5; /* Default Uniform Grey */
}

.project-image-box img {
    object-fit: contain;
    transition: transform 0.5s ease;
}

.project-card-simple:hover .project-image-box img {
    transform: scale(1.1);
}

.color-pink {
    background-color: var(--color-card-pink);
}

.color-orange {
    background-color: var(--color-card-orange);
}

.color-green {
    background-color: var(--color-card-green);
}

.color-mustard {
    background-color: var(--color-mustard);
}

/* Specific Project Colors - Uniform Grey as requested */
.bg-nutella,
.bg-mcdo-warm,
.bg-milk,
.bg-orange-warm,
.bg-lightroom-cool,
.bg-photoshop-hotdog {
    background-color: #E0D6C5; /* Warm grey matching checkerboard depths */
}

.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-info-simple h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* --- Footer --- */
.footer-red {
    background-color: var(--color-red);
    color: #F5E9D3;
    padding: 3rem 40px;
    margin-top: 6rem;
    margin-left: -40px;
    /* Bridge site-wrapper padding */
    margin-right: -40px;
    /* Bridge site-wrapper padding */
    width: calc(100% + 80px);
    text-align: center;
    position: relative;
    z-index: 50; /* Elevating entire footer to ensure clicks aren't intercepted */
}

.footer-content-red h2 {
    font-family: 'Lobster', cursive;
    text-shadow: 3px 3px 0 var(--color-black);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #F5E9D3;
    position: relative;
    z-index: 10;
}

.hero-image {
    display: flex;
    justify-content: center;
    /* Back to center for better containment */
    padding-right: 0;
}

.footer-buttons {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    /* Reverted to previous spacing */
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 20; /* Ensure buttons are always clickable */
}

.btn-mustard-border {
    background: var(--color-mustard);
    color: white;
    border: 2px solid white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
    cursor: pointer;
}

.btn-mustard-border:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-red-border {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
    cursor: pointer;
}

.btn-red-border:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* --/* --- Navbar Hamburger --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Responsive Optimizations --- */
@media (max-width: 992px) {
    .hero-container {
        gap: 1rem;
    }
    .diner-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    body {
        background-size: 30px 30px; /* Slower grid on mobile */
    }

    .site-wrapper {
        border-width: 10px;
        padding: 0 10px; /* Tighter padding */
        overflow-x: hidden;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    /* Hamburger Menu visible */
    .hamburger {
        display: flex;
        order: 2; /* Ensure it stays on the right */
        margin-right: 0;
    }

    .nav-container {
        flex-direction: row; /* Horizontal navbar on mobile */
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        border-left: 2px solid var(--color-black);
        gap: 2.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .logo {
        font-size: 2.2rem;
        transform: rotate(-3deg);
        margin-top: 5px;
        margin-left: 0;
        order: 1; /* Logo on the left */
    }

    .hero {
        padding: 1rem 0;
    }
    .hero-container {
        display: flex;
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .hero-content {
        align-items: flex-start;
        flex: 1.8;
    }

    .badge-pill-red {
        position: relative;
        left: 20px; /* Shifted right to avoid cutting */
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .diner-title {
        font-size: 1.8rem; 
        white-space: nowrap; 
        /* Restored shadow from Desktop */
        text-shadow:
            2px 2px 0 var(--color-mustard),
            4px 4px 0 rgba(0, 0, 0, 0.1);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .vinyl-record {
        width: 110px;
        height: 110px;
        flex: 1;
        margin-left: 5px;
    }

    .vinyl-label {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        border-width: 2px;
    }

    .btn-mustard {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
        align-self: flex-end; /* Move to the right */
        margin-right: -10px;
    }

    /* Horizontal Scroll for About & Skills sections */
    .about-grid, .dashed-border-box {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding: 1rem 5px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .about-grid > div, 
    .dashed-border-box > div {
        flex: 0 0 85%; /* Wide but scrollable */
        scroll-snap-align: center;
    }

    .dashed-border-box {
        padding: 1rem;
        margin: 0 -5px; /* Tighter containment */
    }

    .menu-category {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .item-name {
        font-size: 0.85rem;
    }

    /* Horizontal Scroll for Projects */
    .portfolio-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px; /* Extend to edges */
        padding: 0 10px 15px 10px;
    }

    /* Custom scrollbar for Portfolio */
    .portfolio-grid::-webkit-scrollbar {
        height: 6px;
    }
    .portfolio-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 10px;
    }
    .portfolio-grid::-webkit-scrollbar-thumb {
        background: var(--color-red);
        border-radius: 10px;
    }

    .project-card-simple {
        flex: 0 0 75%; /* Visible part of the next card to invite scrolling */
        scroll-snap-align: center;
        padding: 0.8rem;
    }

    .project-image-box {
        height: 160px;
    }

    .project-info-simple h3 {
        font-size: 0.9rem;
    }

    .footer-red {
        padding: 2rem 15px;
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }

    .footer-content-red h2 {
        font-size: 2.5rem;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    
    .btn-mustard-border, .btn-red-border {
        width: 80%; /* Larger touch targets on mobile */
    }
}

/* --- Lightbox Mobile Refinement (Keep side-by-side) --- */
@media (max-width: 992px) {
    .lightbox-container {
        flex-direction: row !important; /* Force side-by-side as requested */
        width: 98%;
        max-height: 80vh;
        height: auto;
    }

    .lightbox-image-side {
        flex: 1.2;
    }

    .lightbox-info-side {
        flex: 1;
        padding: 1.5rem; /* Tighter padding for mobile text side */
    }

    #lightbox-title {
        font-size: 1.8rem;
    }

    #lightbox-description {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}
/* --- Lightbox --- */
/* --- Lightbox Redesign --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 50, 44, 0.98);
    /* Deep Cold Brown search */
    align-items: center;
    justify-content: center;
    padding: 3rem;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
}

.lightbox-container {
    display: flex;
    flex-direction: row;
    /* Side-by-side as requested */
    background: transparent;
    max-width: 1500px;
    width: 95%;
    max-height: 90vh;
    margin: auto;
    position: relative;
    border: 3px solid var(--color-black);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.3s ease-out;
}

/* Responsive adjustment for small screens */
@media (max-width: 992px) {
    .lightbox-container {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }
}

.lightbox-image-side {
    flex: 2;
    /* Increased space for the image */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    /* Same beige as the text side */
    padding: 0;
    /* No borders around image */
    border-right: 3px solid var(--color-black);
}

.lightbox-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* THE solution for no cropping */
    border: 1px solid white;
    /* Discreet frame */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* --- Orientation Specific Tweaks --- */
.lightbox-container.is-portrait {
    max-width: 1000px;
    /* Tighter for tall images */
    background-color: transparent;
}

.lightbox-container.is-portrait .lightbox-image-side {
    flex: 1.1;
    background: transparent !important;
    /* Removed beige background as requested */
    border-right: none;
    padding: 0;
}

.lightbox-container.is-portrait .lightbox-content {
    border: 1px solid white;
    /* Restored white border */
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.5);
    max-height: 85vh;
}

.lightbox-container.is-portrait .lightbox-info-side {
    flex: 0.9;
    background-color: var(--color-bg) !important;
    border-left: 3px solid var(--color-black);
    /* Maintain separation */
}

.lightbox-container.is-landscape .lightbox-image-side {
    background-color: var(--color-bg);
}

/* --- CV Specific Full-Width Mode --- */
.lightbox.is-cv-mode {
    padding: 1rem; /* Reduce outer padding to give more space */
}

.lightbox-container.is-cv-mode {
    max-width: none; /* Allow it to grow as much as needed */
    height: 98vh;
    max-height: 98vh;
    width: auto;
    border: none;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    background: transparent !important;
}

.lightbox-container.is-cv-mode .lightbox-image-side {
    flex: 1;
    border-right: none;
    background: transparent !important;
    padding: 0;
}

.lightbox-container.is-cv-mode .lightbox-info-side {
    display: none !important;
}

.lightbox-container.is-cv-mode .lightbox-content {
    max-height: 98vh;
    width: auto;
    height: auto;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-info-side {
    flex: 0.8;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg) !important;
    color: var(--color-black) !important;
    position: relative;
    /* Aged Paper Texture on the info side specifically */
    background-image:
        linear-gradient(rgba(245, 233, 211, 0.9), rgba(245, 233, 211, 0.9)),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E") !important;
}

#lightbox-title {
    font-family: var(--font-logo);
    font-size: 3.2rem;
    color: var(--color-red) !important;
    /* Red text as requested */
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

#lightbox-category {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1rem;
    color: var(--color-black);
    opacity: 0.6;
}

#lightbox-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    color: var(--color-text);
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-red);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 100%;
    }
}

@media print {
    @page {
        size: landscape;
        margin: 0;
    }

    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: #F0E6D2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-wrapper {
        box-shadow: none !important;
        margin: 0 auto !important;
        border-left: 15px solid var(--color-black) !important;
        border-right: 15px solid var(--color-black) !important;
        background-color: var(--color-bg) !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem 5rem !important;
    }

    /* Hide UI elements */
    .nav-links,
    .btn-mustard,
    .btn-nav,
    .footer-buttons,
    .btn-mustard-border,
    .btn-red-border {
        display: none !important;
    }

    /* Branding Header */
    .navbar {
        display: block !important;
        text-align: center !important;
        padding-top: 0 !important;
        margin-bottom: 2rem !important;
    }

    .logo {
        transform: rotate(-3deg) scale(1.3) !important;
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .logo span:first-child {
        color: #C69302 !important;
        text-shadow: 1px 1px 0 #483833 !important;
    }

    .logo span:last-child {
        color: #A82424 !important;
        text-shadow: 1px 1px 0 #483833 !important;
    }

    /* Contact Info Header */
    .print-only-contact {
        display: block !important;
        text-align: center !important;
        font-family: var(--font-body) !important;
        font-weight: 800 !important;
        font-size: 1rem !important;
        color: var(--color-black) !important;
        margin-top: -1rem !important;
        margin-bottom: 3rem !important;
        opacity: 0.8 !important;
    }

    /* Hero Section */
    .hero-container {
        display: block !important;
        text-align: center !important;
    }

    .hero-content {
        display: block !important;
        width: 100% !important;
    }

    .badge-pill-red {
        display: inline-block !important;
        position: static !important;
        background-color: #A82424 !important;
        color: #F5E9D3 !important;
        margin-bottom: 1.5rem !important;
        transform: rotate(-2deg) !important;
    }

    .diner-title {
        color: #483833 !important;
        font-size: 5rem !important;
        margin: 1rem 0 !important;
        display: block !important;
    }

    .hero-subtitle {
        color: #4A3C35 !important;
        font-size: 1.2rem !important;
        margin-bottom: 2rem !important;
    }

    /* Availability Box Restored */
    .availability-box {
        display: inline-block !important;
        border: 2px solid #4A3C35 !important;
        background: #fff !important;
        padding: 1rem 2rem !important;
        box-shadow: 4px 4px 0 #4A3C35 !important;
        margin: 0 auto !important;
    }

    /* Vinyl Record Centered Below */
    .hero-image {
        display: flex !important;
        justify-content: center !important;
        margin-top: 3rem !important;
    }

    .vinyl-record {
        width: 220px !important;
        height: 220px !important;
        animation: none !important;
        /* No animation in PDF */
    }

    footer.footer-red {
        background-color: #A82424 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}