/* --- CSS Variables (Theme Colors) --- */
:root {
    --bg-gradient-start: #1a0a1a; /* Dark purple-ish black */
    --bg-gradient-end: #080808;   /* Very dark gray */
    --text-primary: #eee;         /* Light text */
    --text-secondary: #aaa;       /* Slightly darker text */
    --accent-gold: #d4af37;       /* Gold accent */
    --gothic-red: #8b0000;        /* Dark red */
    --menu-bg: rgba(15, 15, 15, 0.95); /* Semi-transparent dark bg for menus */
    --font-header: 'Uncial Antiqua', cursive;
    --font-body: 'Lato', sans-serif;
}

/* --- Basic Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling if using #links */
}

body {
    font-family: var(--font-body);
    background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden; /* Crucial to prevent scrollbars from slide-out menus */
    position: relative; /* Needed for absolute positioning context */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Allows main content to take available space */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5em;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff; /* Brighter gold/white on hover */
}

/* --- Top Bar --- */
.top-bar {
    position: fixed; /* Keep icons at the top */
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* Icons at opposite ends */
    align-items: center;
    z-index: 1000; /* Ensure icons are above menus */
    pointer-events: none; /* Allows clicks to pass through empty space */
}

.icon-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8em; /* Adjust icon size */
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    pointer-events: auto; /* Make buttons clickable */
}

.icon-button:hover {
    color: var(--text-primary);
}

/* --- Slide-Out Menus --- */
.slide-out-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 280px; /* Adjust width as needed */
    max-width: 80%; /* Max width on small screens */
    background-color: var(--menu-bg);
    backdrop-filter: blur(5px); /* Optional: blur background behind menu */
    z-index: 999; /* Below icons, above content */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth transition */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    padding: 80px 20px 40px; /* Top padding to avoid top-bar icons */
}

/* Positioning & Initial State (Hidden) */
.menu-left {
    left: 0;
    transform: translateX(-100%);
}

.menu-right {
    right: 0;
    transform: translateX(100%);
}

/* Visible State (Toggled by JS) */
.menu-visible {
    transform: translateX(0);
}

/* Menu Links Styling */
.slide-out-menu ul {
    list-style: none;
}

.slide-out-menu li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-visible li {
    opacity: 1;
    transform: translateX(0);
}

.menu-visible li:nth-child(1) { transition-delay: 0.1s; }
.menu-visible li:nth-child(2) { transition-delay: 0.15s; }
.menu-visible li:nth-child(3) { transition-delay: 0.2s; }
.menu-visible li:nth-child(4) { transition-delay: 0.25s; }
.menu-visible li:nth-child(5) { transition-delay: 0.3s; }
.menu-visible li:nth-child(6) { transition-delay: 0.35s; }

.slide-out-menu a {
    display: flex; /* Align icon and text */
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.2em;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px; /* Slightly rounded corners for links */
}

.slide-out-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Social Menu Specifics */
#socials-menu a i {
    font-size: 1.5em; /* Slightly larger icons for socials */
    margin-right: 15px;
    width: 30px; /* Fixed width for alignment */
    text-align: center;
}
#socials-menu a span {
    font-size: 0.9em;
}


/* --- Hero Section --- */
.hero-section {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    position: relative; /* For overlay positioning */
    background-image: url('Mourning-Morigan-clean.jpg'); /* REPLACE with your hero image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 2vh;
}

/* Add this new block to pull the logo and text above the overlay */
.hero-content {
    position: relative;
    z-index: 2; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text contrast */
    z-index: 1; /* Below content */
}

.hero-content h1 {
    /* Override text-specific h1 styles if they were set */
    font-size: inherit; /* Don't force a font size */
    line-height: 1;     /* Prevent extra line height */
    text-shadow: none;  /* Remove text shadow if applied to h1 previously */
    margin-bottom: 0;   /* Adjust or remove as needed */
    /* Ensure h1 doesn't constrain image width unexpectedly */
    max-width: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-logo {
    animation: float 4s ease-in-out infinite;
    display: block; /* Allows margin auto for centering */
    max-width: 1000px; /* Adjust - Max width of the logo */
    width: 80%;       /* Adjust - Make logo responsive, but not more than max-width */
    height: auto;     /* Maintain aspect ratio */
    margin: 0 auto 25px auto; /* Center logo horizontally, add space below */
    /* Optional: Add a subtle animation or filter */
    /* filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.7)); */
    /* ACTIVATE THIS: Adds a dark shadow behind the gold, and slightly boosts the brightness */
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.9)) brightness(1.15);
}

.hero-content h2 {
    font-size: 1.8em;
    color: var(--text-secondary);
    font-family: var(--font-body); /* Use body font for subtitle usually */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 300; /* Lighter weight for subtitle */
}

/* --- Content Sections General Styling --- */
.content-section {
    padding: 60px 0; /* Add padding above and below sections */
       opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
/* background-color: rgba(0, 0, 0, 0.1); Optional: slightly different bg for sections */
}

.container {
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center container */
    padding: 0 20px; /* Add padding on the sides */
}

.content-section h2 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 1em;
    color: var(--accent-gold); /* Use existing header style */
}

/* --- Music Section Specific Styling --- */
.music-section {
    /* You can add a specific background or border here if desired */
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 40px; /* Space between grid items */
    margin-top: 30px;
}

.release-item {
    background-color: rgba(255, 255, 255, 0.03); /* Very subtle background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Faint border */
    border-radius: 8px; /* Slightly rounded corners */
    overflow: hidden; /* Ensure artwork corners are rounded */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Stack image and info */
}

.release-item:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.release-artwork {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    aspect-ratio: 1 / 1; /* Make artwork square, adjust if needed */
    object-fit: cover; /* Ensure image covers the space */
}

.release-info {
    padding: 20px;
    flex-grow: 1; /* Allow info section to take remaining space */
    display: flex;
    flex-direction: column;
}

.release-info h3 { /* Album Titles */
    font-family: var(--font-header);
    color: var(--text-primary); /* White for release titles */
    font-size: 1.6em;
    margin-bottom: 0.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
.release-info h4 { /* Single Titles */
    font-family: var(--font-header);
    color: var(--text-primary);
    font-size: 1.4em;
    margin-bottom: 0.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.release-date {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 1em;
}

.player-placeholder {
    margin-top: auto; /* Push player/links to the bottom */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
}

.player-placeholder p {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.player-placeholder a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.player-placeholder a:hover {
    color: #fff;
}

/* Style for embedded iframe players (optional, adjust as needed) */
.player-placeholder iframe {
    border-radius: 4px;
    margin-top: 10px;
}

.video-placeholder {
    cursor: pointer;
    position: relative;
}

.video-placeholder {
    height: auto;
    padding-bottom: 56.25%; /* keeps 16:9 ratio */
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    color: var(--accent-gold);
}

/* --- Contact Section Specific Styling --- */
.contact-section {
    background-color: rgba(0, 0, 0, 0.2); /* Slightly different background shade */
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto; /* Center and add space below */
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
}

/* Optional: Two Column Layout */
.contact-columns {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 50px;
}

@media (min-width: 768px) { /* Apply two columns on wider screens */
    .contact-columns {
        grid-template-columns: 2fr 1fr; /* Form takes more space */
    }
}

.contact-form-container h3,
.contact-info-container h3 {
    color: var(--text-primary);
    font-family: var(--font-header);
    font-size: 1.8em;
    margin-bottom: 1.5em;
    border-bottom: 1px solid var(--accent-gold); /* Underline effect */
    padding-bottom: 0.5em;
    display: inline-block; /* Make border only span text width */
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3); /* Subtle gold glow on focus */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-gold);
    color: #111; /* Dark text on gold button */
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #e6c35c; /* Lighter gold */
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-top: 15px;
    font-style: italic;
}

/* Contact Info Styling */
.contact-info-container p {
    margin-bottom: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

.contact-info-container p strong {
    color: var(--text-primary);
}

.contact-info-container a {
    color: var(--accent-gold);
    text-decoration: underline;
}
.contact-info-container a:hover {
    color: #fff;
}

.follow-us-heading {
    margin-top: 2.5em; /* Space above social icons */
}

.contact-social-icons {
    margin-top: 1em;
}

.contact-social-icons a {
    display: inline-block;
    margin: 0 8px 8px 0; /* Spacing between icons */
    font-size: 1.6em; /* Slightly smaller than menu icons */
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-social-icons a:hover {
    color: var(--accent-gold);
    transform: scale(1.1); /* Slight grow effect */
}

/* --- About Section Specific Styling --- */
.about-section {
    /* background-color: rgba(10, 10, 10, 0.1); Optional subtle background */
}

.about-content {
    max-width: 800px; /* Adjust max-width for readability */
    margin: 30px auto 0 auto; /* Center the content block */
    text-align: center; /* Center text by default, can override */
}

/* Optional: Styles for a band photo if you add one */
.about-photo {
    max-width: 100%; /* Make image responsive */
    height: auto;
    border-radius: 5px; /* Optional rounded corners */
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.15); /* Subtle border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5em;
    text-align: left; /* Justify or left-align paragraphs for readability */
}

/* Optional: Styles for Member List */
.about-content h3 {
    font-family: var(--font-header);
    color: var(--text-primary);
    font-size: 1.8em;
    margin-top: 2.5em; /* Space above member list */
    margin-bottom: 1em;
    text-align: center;
}

.member-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    text-align: left; /* Align text within list */
    max-width: 400px; /* Constrain width */
    margin: 0 auto; /* Center the list block */
}

.member-list li {
    margin-bottom: 0.8em;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.member-list li strong {
    color: var(--text-primary);
    margin-right: 0.5em;
    display: inline-block; /* Helps with alignment */
    /* min-width: 100px; /* Optional: Align names if widths vary */
}

/********************************/
/* --- Photos Section Specific Styling --- */
/********************************/
.photo-section {
    /* background-color: rgba(255, 255, 255, 0.02); Optional subtle background */
 }
 
 .photo-grid {
     display: grid;
     /* Responsive grid: creates columns that are at least 250px wide,
        fitting as many as possible per row. Adjust minmax value as needed. */
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 15px; /* Space between photos */
     margin-top: 30px;
 }
 
 .photo-item {
     border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
     border-radius: 4px;
     overflow: hidden; /* Ensures image stays within border radius */
     aspect-ratio: 1 / 1; /* Default to square images, adjust if needed (e.g., 4 / 3, 16 / 9) */
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer; /* Indicate interactivity (for future lightbox) */
 }
 
 .photo-item img {
     display: block; /* Remove extra space below image */
     width: 100%;
     height: 100%;
     object-fit: cover; /* Scale image to cover container, cropping if necessary */
     transition: transform 0.3s ease, filter 0.3s ease;
 }
 
 /* Hover Effect */
 .photo-item:hover {
     transform: scale(1.03); /* Slightly enlarge */
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
 }
 
 .photo-item:hover img {
     /* transform: scale(1.05); Optional: zoom image within frame */
     filter: brightness(1.1); /* Slightly brighten image on hover */
 }

/********************************/
/* --- Videos Section Specific Styling --- */
/********************************/
.video-section {
    background-color: rgba(0, 0, 0, 0.1); /* Optional subtle background */
    padding-bottom: 80px; /* Extra padding at bottom if needed */
}

.video-grid {
    display: grid;
    gap: 40px; /* Space between videos */
    margin-top: 30px;
    
    /* Mobile First - Default to one column for small screens */
    grid-template-columns: 1fr; 
}

/* For tablets and desktops (screens wider than 768px) */
@media (min-width: 768px) {
    .video-grid {
        /* Switch to a two-column grid */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Video Embed Container (Aspect Ratio Trick) */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Black background while loading */
    border-radius: 4px; /* Match item border radius if used */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove iframe border */
}

.video-title {
    font-family: var(--font-body); /* Use body font for video titles */
    color: var(--text-secondary);
    font-size: 1.1em;
    text-align: center;
    margin-top: 15px;
    font-weight: 400;
}

/* Styling for the "View More" button container */
.view-more-container {
    margin-top: 50px;       /* Keeps the space from the videos */
    display: flex;          /* Use the powerful Flexbox layout */
    justify-content: center; /* Center the item(s) horizontally */
}

.view-more-releases {
    text-align: center;
    margin-top: 40px;
}

.view-more-label {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 15px;
}

.view-more-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
/* --- Copyright Bar --- */
.copyright-bar {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-secondary);
    text-align: center;
    padding: 12px 0;
    font-size: 0.9em;
    width: 100%;
}

/* --- Store Page Specific Styling --- */
.store-page-section {
    padding-top: 100px; /* Add more top padding since there's no hero image */
    padding-bottom: 60px;
    min-height: calc(100vh - 150px); /* Ensure it takes up reasonable space */
}

.store-page-section h2 { /* Ensure title is centered */
    text-align: center;
    font-size: 3em;
    margin-bottom: 1em;
    color: var(--accent-gold);
}

.store-description { /* Optional intro paragraph styling */
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
    font-size: 1.2em;
    line-height: 1.6;
}

/* Style for the individual store link blocks */
.store-link-block {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 35px;
    max-width: 750px;
    margin: 0 auto 40px auto;
    text-align: center; /* ADD THIS LINE - Centers inline/inline-block children */
}

.store-link-block h3 {
    font-family: var(--font-header);
    color: var(--text-primary);
    font-size: 1.9em;
    margin-bottom: 0.75em;
    /* text-align: center; /* No longer needed here */
     border-bottom: 1px solid var(--accent-gold);
     padding-bottom: 0.5em;
     display: inline-block; /* Keep this to contain the border */
     /* Remove positioning hacks for centering */
     /* position: relative; */
     /* left: 50%; */
     /* transform: translateX(-50%); */
}

.store-link-block p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5em;
    text-align: left; /* KEEP THIS LINE - Overrides parent centering for paragraphs */
}

.store-link-block .button-link {
   display: inline-block; /* Keep as inline-block */
   margin-top: 10px;
   /* It will now be centered by the parent's text-align: center */
}

/* Button-like link styling (ensure display: inline-block is here or above) */
.button-link {
    display: inline-block; /* Ensure this is set */
    padding: 12px 30px;
    background-color: var(--accent-gold);
    color: #111;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}
