@font-face {
    font-family: RaptorText-Black;
    src: url(font/RaptorText-Black.ttf);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Column 1: Left Sidebar - Fixed */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #000000;
    padding: 60px 30px;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-intro {
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.sidebar-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.sidebar-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.9em;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: #ffffff;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
    margin-top: 20px;
    display: inline-block;
}

.back-link:hover {
    color: #ffffff;
}

/* Column 2: Freeform Canvas Area */
.canvas-area {
    margin-left: 280px;
    padding: 60px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: start;
}

/* Asset Base Styles */
.asset {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.asset:hover {
    transform: scale(1.005);
}

.asset img {
    width: 100%;
    height: auto;
    display: block;
}

/* ROW 1: Hero Image - Full Width */
.hero-image {
    grid-column: span 12;
    grid-row: 1;
}

/* ROW 2: Project Info Section - Full Width */
.project-info-section {
    grid-column: span 12;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 20px 0;
}

.project-title-block {
    display: flex;
    align-items: flex-start;
}

.project-info-title {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.project-description-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-description-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ROW 3-4: The Plan (left) + Color Palette (right) */
.plan-section {
    grid-column: 1 / span 7;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-palette-section {
    grid-column: 8 / span 5;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.section-text {
    font-size: 0.9em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.album-cover-container {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.album-cover-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Color Swatches */
.color-swatches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.color-swatch {
    aspect-ratio: 1;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: relative;
}

.color-hex {
    font-size: 0.75em;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
}

.purple-1 {
    background-color: #8848BF;
}

.purple-1 .color-hex {
    color: #ffffff;
}

.purple-2 {
    background-color: #CFAAFF;
}

.green {
    background-color: #3EFA0B;
}

.black {
    background-color: #000000;
}

.black .color-hex {
    color: #ffffff;
}

/* ROW 5: Description Continuation */
.description-continuation {
    grid-column: span 12;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

/* ROW 6: Moodboard Title */
.moodboard-title {
    grid-column: span 12;
    grid-row: 5;
    padding: 20px 0;
}

/* ROW 7: Moodboard - 3 Equal Columns */
.moodboard-col {
    grid-column: span 4;
    grid-row: 6;
}

.asset-7 { grid-column: 1 / span 4; }
.asset-8 { grid-column: 5 / span 4; }
.asset-9 { grid-column: 9 / span 4; }

/* ROW 8+: Full Width Images */
.full-width {
    grid-column: span 12;
}

.asset-10 { grid-row: 7; }
.asset-11 { grid-row: 8; }
.asset-12 { grid-row: 9; }
.asset-13 { grid-row: 10; }
.asset-14 { grid-row: 11; }
.asset-15 { grid-row: 12; }

/* Responsive Design */
@media (max-width: 1400px) {
    .sidebar {
        width: 240px;
    }
    
    .canvas-area {
        margin-left: 240px;
        padding: 50px 40px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .canvas-area {
        margin-left: 0;
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Reset grid positioning for all assets */
    .hero-image,
    .project-info-section,
    .plan-section,
    .color-palette-section,
    .description-continuation,
    .moodboard-title,
    .moodboard-col,
    .full-width,
    .asset-7, .asset-8, .asset-9,
    .asset-10, .asset-11, .asset-12,
    .asset-13, .asset-14, .asset-15 {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
    }
    
    /* Stack project info section */
    .project-info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        padding: 30px 20px;
    }
    
    .sidebar-intro {
        font-size: 1.1em;
    }
    
    .canvas-area {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .project-info-title {
        font-size: 1.5em;
    }
    
    .section-title {
        font-size: 1.1em;
    }
}
