/* BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #f4f4f4;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: #f4f4f4;
    transition: color 0.3s ease;
}

a:hover {
    color: #888;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    background-image: url('images/IMG_1524.jpeg'); 
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Dark gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.wordmark {
    max-width: 350px;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: 1px solid #f4f4f4;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: #f4f4f4;
    color: #0a0a0a;
}

/* SECTION LAYOUTS */
section {
    padding: 100px 50px;
    text-align: center;
}

section h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

/* MUSIC SECTION */
.album-art-main {
    width: 100%;
    max-width: 600px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.streaming-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.past-releases {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    max-width: 600px; 
    margin: 50px auto 0; 
}

.album {
    width: 47%; 
}

.album-art-small {
    width: 100%;
    max-width: none; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* VIDEO SECTION */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* PHOTO GALLERY STYLES */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.gallery-img {
    width: 100%;
    height: 350px; 
    object-fit: cover; 
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.02); 
    opacity: 0.7; 
}

/* ABOUT SECTION */
.contact-info {
    margin-top: 60px;
}

/* MERCH SECTION */
#merch {
    background-color: #111; 
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

#merch p {
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* FOOTER & SOCIALS */
footer {
    padding: 60px 20px;
    text-align: center;
    background-color: #0a0a0a;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 30px;
    margin-bottom: 30px;
}

.social-links a {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
}

.social-links a:hover {
    color: #fff;
}

footer p {
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    /* Stop Side-to-Side Scrolling */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    * { box-sizing: border-box !important; }

    /* Force iOS to show the background image and fix face overlap */
    .hero-section {
        background-attachment: scroll !important; 
        -webkit-background-size: cover !important;
        background-size: cover !important;
        background-position: center top !important;
        height: 100vh !important;
        align-items: flex-end !important; /* Pushes the wordmark and buttons down */
        padding-bottom: 15vh !important; /* Breathing room above the Music section */
    }

    /* Center Content & Fix Gaps */
    section { padding: 35px 15px !important; text-align: center !important; }
    .photo-gallery { grid-template-columns: 1fr !important; gap: 15px !important; }
    .gallery-img { height: 350px !important; width: 100% !important; object-fit: cover !important; }
    iframe { width: 100% !important; height: 220px !important; }
    .video-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .latest-release, .past-releases { flex-direction: column !important; align-items: center !important; gap: 20px !important; }
    .album { width: 85% !important; }
    
    /* Social Links (Horizontal row on mobile) */
    .social-links {
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }
}