/* ===============================
   WILMA & THE BONES - MINIMALIST DARK THEME
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    width: 100vw;
    position: relative;
}

/* ===============================
   BACKGROUND IMAGE & OVERLAY
   =============================== */

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Dark overlay for text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: -1;
}

/* ===============================
   MAIN CONTENT LAYOUT
   =============================== */

.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    padding: 4rem 2rem 8rem 2rem;
    text-align: center;
}

/* ===============================
   BAND INFORMATION
   =============================== */

.band-info {
    margin-bottom: 2.5rem;
    margin-top: 2rem;
}

.band-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.8rem;
    animation: fadeInDown 1.2s ease-out;
}

.label {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

/* ===============================
   VIDEO SECTION
   =============================== */

.videos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.song-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.video-container iframe {
    width: clamp(240px, 30vw, 380px);
    height: clamp(135px, 16.875vw, 214px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container iframe:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===============================
   YOUTUBE SHORTS SECTION
   =============================== */

.shorts-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out 0.8s both;
}

.shorts-container iframe {
    width: clamp(180px, 20vw, 280px);
    height: clamp(320px, 35.55vw, 498px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shorts-container iframe:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===============================
   ANIMATIONS
   =============================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
    .content {
        padding: 2rem 1.5rem 8rem 1.5rem;
    }

    .band-info {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }

    .videos {
        gap: 1.5rem;
        flex-direction: column;
    }

    .video-container iframe {
        width: 90vw;
        height: 50.625vw; /* 16:9 aspect ratio */
        max-width: 100%;
    }

    .shorts-section {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .shorts-container iframe {
        width: 42vw;
        height: 74.66vw; /* 9:16 aspect ratio for shorts */
        max-width: 280px;
        max-height: 498px;
    }

    .contact-section {
        flex-direction: column;
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .contact-form-container,
    .band-photo-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .band-name {
        letter-spacing: 0.03em;
    }

    .label {
        letter-spacing: 0.1em;
    }

    .videos {
        gap: 1.2rem;
    }

    .shorts-section {
        gap: 1.2rem;
        flex-direction: column;
        align-items: center;
    }

    .shorts-container iframe {
        width: 70vw;
        height: 124.44vw;
        max-width: 280px;
        max-height: 498px;
    }

    .contact-section {
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-title {
        font-size: 1.1rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ===============================
   CONTACT & BAND PHOTO SECTION
   =============================== */

.contact-section {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 4rem;
    width: 100%;
    max-width: 1000px;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

/* Contact Form */
.contact-form-container {
    flex: 0 0 auto;
    width: clamp(300px, 35vw, 420px);
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(30, 30, 30, 0.8);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover,
.form-button:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    outline: none;
}

.form-button:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: rgba(76, 175, 80, 1);
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: rgba(244, 67, 54, 1);
}

/* Band Photo */
.band-photo-container {
    flex: 0 0 auto;
    width: clamp(300px, 35vw, 420px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.band-photo {
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.band-photo:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.9));
}

.photo-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ===============================
   FOOTER WITH LEGAL LINKS
   =============================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-link:hover,
.footer-link:focus {
    color: rgba(255, 255, 255, 0.9);
    outline: none;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ===============================
   MODAL
   =============================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    animation: slideIn 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
    outline: none;
}

.modal-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.modal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.modal-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.modal-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-content a:hover {
    color: #ffffff;
}

.modal-content ul,
.modal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.modal-content strong {
    color: #ffffff;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   ACCESSIBILITY
   =============================== */

@media (prefers-reduced-motion: reduce) {
    .band-name,
    .label,
    .videos,
    .shorts-section,
    .contact-section {
        animation: none;
    }

    .video-container iframe,
    .footer-link,
    .modal-close,
    .form-input,
    .form-textarea,
    .form-button,
    .band-photo {
        transition: none;
    }

    .modal-overlay,
    .modal {
        animation: none;
    }
}

/* ===============================
   RESPONSIVE - FOOTER & MODAL
   =============================== */

@media (max-width: 768px) {
    .footer {
        padding: 1.2rem 1rem;
    }

    .footer-link {
        font-size: 0.7rem;
    }

    .footer-separator {
        font-size: 0.7rem;
    }

    .modal {
        padding: 2.5rem 1.5rem;
        margin: 1rem;
    }

    .modal-close {
        font-size: 2rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 0.5rem;
    }

    .footer-link {
        font-size: 0.65rem;
    }

    .modal {
        padding: 2rem 1.2rem;
    }

    .modal-content h2 {
        margin-bottom: 1rem;
    }
}
