/* ============================================
   THIS LEO SUNRISE - MAIN STYLESHEET
   Brutalist Design with Hybrid Backgrounds
   ============================================ */

/* CSS RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --black: #000000;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --accent: #3E5A21;
    
    /* Border Variables */
    --border-thin: 2px solid var(--black);
    --border: 3px solid var(--black);
    --border-thick: 5px solid var(--black);
    
    /* Spacing */
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--off-white);
    color: var(--black);
    line-height: 1.6;
    font-size: 18px;
}

/* TYPOGRAPHY */
h2, h3, h4 {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    border-left: 20px solid var(--black);
    padding-left: var(--spacing-sm);
}

h2::before {
    content: attr(data-number) ". ";
    color: var(--accent);
}

h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--black);
    text-decoration: underline;
}

a:hover {
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: var(--border-thick);
    position: relative;
    padding: var(--spacing-md) var(--spacing-sm);
    
    /* Background: Swan painting - Strategy 1 (Desaturated + Blur) */
    background-image: url('../images/paintings/cover-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* No overlay on hero - show full painting! */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(0); /* No blur */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* BAND NAME LOGO (SVG) */
.band-logo {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    display: block;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1));
}

.band-logo path {
    fill: var(--black);
}

/* Album Title */
.album-title {
    font-size: clamp(24px, 4vw, 48px);
    margin-bottom: var(--spacing-sm);
    border-bottom: var(--border);
    padding-bottom: 10px;
    font-family: 'Courier New', monospace;
    display: inline-block;

    /* Add dramatic text shadow */
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.7),
        2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: bold;
}

.release-info {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    border: 2px dashed var(--black);  /* Keep dashed border to differentiate */
    padding: var(--spacing-md);
    background: var(--off-white);
    display: inline-block;
}

/* NAVIGATION */
nav {
    margin-top: var(--spacing-md);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    border: var(--border);
    background: var(--white);
}

nav li {
    border-right: var(--border);
}

nav li:last-child {
    border-right: none;
}

nav a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.15s;
}

nav a:hover {
    background: var(--accent);
    color: var(--white);
}

/* SECTIONS */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    border-bottom: var(--border);
    position: relative;
}

/* LISTEN SECTION - Strategy 7 (Section-specific image) */
#listen {
    background-image: url('../images/paintings/listen-landscape.jpg');
    background-size: cover;
    background-position: center;
}

#listen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.73);
    z-index: 0;
}

#listen > * {
    position: relative;
    z-index: 1;
}

/* ABOUT SECTION - Strategy 3 (Radial Vignette) */
#about {
    background-image: url('../images/paintings/about-figure.jpg');
    background-size: cover;
    background-position: center;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.95) 70%
    );
    z-index: 0;
}

#about > * {
    position: relative;
    z-index: 1;
}

/* PRESS & SHOWS SECTIONS - Strategy 5 (Corner Accent) */
#press, #shows {
    background: var(--off-white);
}

#press::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: url('../images/paintings/corner-accent.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

/* NEWS SECTION */
#news {
    background: var(--white);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: var(--border);
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.1s;
}

.btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translate(3px, 3px);
    box-shadow: -3px -3px 0 var(--black);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border: var(--border);
    margin-bottom: var(--spacing-md);
}

.grid-item {
    border-right: var(--border);
    border-bottom: var(--border);
    padding: var(--spacing-md);
    background: var(--white);
}

.grid-item:last-child {
    border-right: none;
}

/* CONTENT BLOCKS */
.content-box {
    border: var(--border);
    padding: var(--spacing-md);
    background: var(--white);
    margin-bottom: var(--spacing-md);
}

.content-max-width {
    max-width: 800px;
}

/* PLACEHOLDER IMAGES */
.placeholder-img {
    border: 3px dashed var(--black);
    background: var(--off-white);
    padding: 60px var(--spacing-sm);
    text-align: center;
    font-weight: bold;
    color: var(--black);
    opacity: 0.7;
    margin-bottom: var(--spacing-sm);
}

/* Band/Press Photos */
.band-photo {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 40px auto;
    border: var(--border-thin);
}

/* Optional: Caption style */
.photo-caption {
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
    margin-top: 10px;
}

/* ALBUM COVERS */
.album-cover {
    width: 100%;
    height: auto;
    border: var(--border-thin);
    display: block;
    margin-bottom: var(--spacing-sm);
}

/* SHOW ARCHIVE */
details {
    border: var(--border);
    padding: var(--spacing-md);
    background: var(--off-white);
    cursor: pointer;
}

summary {
    font-weight: bold;
    font-size: 20px;
    list-style: none;
    user-select: none;
}

summary::before {
    content: '▸ ';
}

details[open] summary::before {
    content: '▾ ';
}

details > div {
    margin-top: var(--spacing-md);
    font-size: 16px;
    line-height: 2;
}

/* FORMS */
input[type="email"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: var(--border);
    font-size: 18px;
    font-family: 'Courier New', monospace;
    background: var(--white);
}

input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* FOOTER - Strategy 6 (Subtle Texture) */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px var(--spacing-md);
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/paintings/texture-pattern.jpg');
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.08;
    filter: grayscale(100%) contrast(1.5);
    pointer-events: none;
}

footer > * {
    position: relative;
    z-index: 1;
}

footer a {
    color: var(--white);
    text-decoration: underline;
    margin: 0 var(--spacing-sm);
}

footer a:hover {
    color: var(--accent);
}

/* UTILITIES */
.timestamp {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 10px;
    display: block;
}

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

.accent-border-left {
    border-left: 5px solid var(--accent);
    padding-left: var(--spacing-sm);
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    :root {
        --spacing-md: 20px;
        --spacing-lg: 40px;
    }
    
    body {
        font-size: 16px;
    }
    
    h2 {
        font-size: 32px;
        border-left-width: 10px;
    }
    
    /* Mobile Navigation */
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        border-right: none;
        border-bottom: var(--border);
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        padding: 15px var(--spacing-sm);
    }
    
    /* Grid - Single Column on Mobile */
    .grid-item {
        border-right: none !important;
    }
    
    /* Band Logo - Smaller on Mobile */
    .band-logo {
        max-width: 90%;
    }
    
    /* Hide corner accent on mobile */
    #press::after {
        width: 200px;
        height: 200px;
    }
    
    /* Disable fixed background on mobile for performance */
    .hero {
        background-attachment: scroll;
    }
}

/* RESPONSIVE - TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        max-width: 900px;
    }
    
    .band-logo {
        max-width: 600px;
    }
}

/* PRINT STYLES */
@media print {
    .hero {
        background: var(--white);
        min-height: auto;
    }
    
    nav, footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}
