/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Modern dark color palette with vibrant accents */
    --color-primary: #dc3545;          /* Vibrant red accent */
    --color-primary-light: #ff4757;    /* Lighter red for hover */
    --color-primary-dark: #c92a3a;     /* Darker red */
    
    /* Background colors - deep dark grays */
    --bg-color: #0d0d0d;               /* Almost black background */
    --bg-section: #1a1a1a;             /* Slightly lighter for sections */
    --bg-card: #242424;                /* Cards and elevated elements */
    --bg-overlay: rgba(0, 0, 0, 0.92);
    
    /* Text colors - high contrast for readability */
    --text-primary: #f8f9fa;           /* Almost white */
    --text-secondary: #adb5bd;         /* Light gray */
    --text-muted: #6c757d;             /* Muted gray */
    
    /* Border colors */
    --border-color: #2d2d2d;
    --border-accent: var(--color-primary);
    
    /* Typography - consistent font stack */
    --font-heading: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Layout wrappers */
main {
    width: 100%;
    max-width: 100%;
    /* Full width for punk feel */
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    width: 100%;
    margin-bottom: 4rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    position: relative;
    background: linear-gradient(180deg, 
                var(--bg-color) 0%, 
                var(--bg-section) 50%, 
                var(--bg-color) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.cover-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(220, 53, 69, 0.15);
    filter: contrast(1.05) saturate(1.05);
}

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-top: 1rem;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3),
                 0 0 20px rgba(220, 53, 69, 0.2);
}

.tagline {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.members span {
    white-space: nowrap;
}

/* Media Section (Spotify & YouTube) */
.media-section {
    margin-bottom: 2rem;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.media-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.media-link {
    display: inline-block;
    color: var(--text-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.media-link:hover {
    transform: scale(1.1);
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5));
}

.media-logo {
    width: 80px;
    height: 80px;
    display: block;
}

.video-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.video-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.4);
}

/* Gallery Section - Brutalist Grid */
.gallery-section {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto 6rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px;
    width: 100%;
    background: var(--border-color);
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Square crop */
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease, box-shadow 0.3s ease;
    display: block;
    background: var(--bg-card);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
}

/* Contact Section */
.contact-section {
    margin-bottom: 2rem;
    padding: 2rem 0;
    width: 100%;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.contact-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    text-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

/* Footer */
.footer {
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

.footer a {
    color: var(--text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.footer a:hover {
    transform: scale(1.1);
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5));
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.6),
                 0 0 20px rgba(220, 53, 69, 0.4);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8),
                0 0 100px rgba(220, 53, 69, 0.2);
    border: 1px solid var(--border-color);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--color-primary);
    transform: scale(1.1) rotate(90deg);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Tweaks */
@media (max-width: 600px) {
    h1 {
        font-size: 4rem;
        text-shadow: 1px 1px 3px rgba(220, 53, 69, 0.3),
                     0 0 15px rgba(220, 53, 69, 0.2);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    
    .contact-link {
        font-size: 1.2rem;
    }
    
    .media-logo {
        width: 60px;
        height: 60px;
    }
    
    .media-logos {
        gap: 1.5rem;
    }
}