/* Main Stylesheet for Perfect Storm Redesign */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #d4af37;
    /* Metallic Gold */
    --secondary-color: #1a1a1a;
    /* deep charcoal */
    --background-dark: #121212;
    /* almost black */
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    /* Slightly transparent dark */
    /* backdrop-filter: blur(10px); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding 0.3s;
}

.navbar-brand img {
    height: 50px;
    /* Adjusted logo height */
    width: auto;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light) !important;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    margin-top: 3px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
header.masthead {
    height: 100vh;
    min-height: 600px;
    background-size: cover !important;
    background-position: 50% 50% !important;
    /* Explicitly center to truncate left/right equally */
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

header.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
}

.intro-text {
    position: relative;
    z-index: 1;
}

.intro-lead-in {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.intro-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 992px) {
    header.masthead {
        background-size: contain !important;
        /* Shrink to fit width so everyone is visible */
        background-position: center center !important;
        background-color: #000;
        /* Black background for letterboxing */
        height: auto;
        /* Allow height to adjust */
        min-height: 50vh;
        /* Minimum height for impact */
        padding-top: 100px;
        /* Space for navbar */
        padding-bottom: 50px;
    }

    .intro-heading {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    header.masthead {
        background-size: contain !important;
        background-position: center center !important;
        min-height: 40vh;
        /* Smaller height on phone */
        padding-top: 80px;
    }

    .intro-heading {
        font-size: 2rem;
    }

    .intro-lead-in {
        font-size: 1rem;
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

section h2.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

section h3.section-subheading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-muted);
}

/* About */
#about {
    background-color: var(--secondary-color);
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Or justified? Center for rock band vibe usually ok */
}

/* Band Members */
#bandmember {
    background-color: var(--background-dark);
}

.team-member {
    margin-bottom: 3rem;
    text-align: center;
}

.team-member .img-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    /* Circle profile preference? Or keep card? Let's go circle for modern team look, or stick to nice cards. Code suggests cards currently. */
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

/* Redesigning card to be cleaner */
.card.bg-secondary {
    background-color: #222 !important;
    /* Darker card bg */
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card.bg-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.card-img-top {
    height: 300px !important;
    /* Taller image area */
    object-fit: cover !important;
    background-color: #000;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-muted);
    font-style: italic;
}

/* Events */
#events {
    background-color: var(--secondary-color);
}

/* Repertoire */
#repertoire {
    padding: 0;
    /* Full width image approach */
}

#repertoire img {
    opacity: 0.8;
    transition: opacity 0.3s;
}

#repertoire img:hover {
    opacity: 1;
}

/* Contact */
#contact {
    background-color: #111;
    /* Dark background behind map image */
    background-blend-mode: overlay;
    /* Blend map with dark color */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    padding: 1.5rem;
    font-family: var(--font-body);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

.form-control::placeholder {
    color: #777;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border: none;
    color: #000;
    /* Contrast text on gold btn */
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-xl:hover {
    background-color: #bfa345;
    /* Darker gold */
    color: #000;
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: #000;
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: #666;
}

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