/* Custom Fonts */
@font-face {
    font-family: 'Road_Rage.otf';
    src: url('../fonts/Road_Rage.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Road_Rage.otf', sans-serif;
}

body {
    line-height: 1.6;
    color: #fff;
    background-color: #000000;
    background-image: url('../images/WATSS Logo Rotating.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center 5vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: -1;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

nav {
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Burger Menu Button */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}

.nav-links.active {
    right: 0;
}

.nav-links li {
    width: 100%;
    margin-bottom: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover {
    color: #ccc;
    border-bottom-color: #fff;
}

/* Main Content */
main {
    padding: 5rem 2rem 2rem;
    min-height: 100vh;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.join-button {
    padding: 1.2rem 3rem;
    font-size: 3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    background: #000000AA;
    border: 2px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.join-button:hover {
    background-color: #ffffff;
    color: #121212;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.join-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ccc;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

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

.modal-content {
    background-color: #1e1e1e;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);

}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: #ccc;
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Make textarea match inputs */
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
    min-height: 120px;
    line-height: 1.4;
}

.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.form-group textarea::placeholder {
    color: #888;
}

/* Dropdown/Select Styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: #2a2a2a;
    color: #fff;
    padding: 0.5rem;
}

/* Checkbox Group Styling */
.form-group-title {
    display: block;
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Social links: checkbox + conditional URL input */
.social-links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link-row .social-link-input {
    margin-left: 1.5rem;
    width: calc(100% - 1.5rem);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Make label text use default/system font */
/* font */
.checkbox-label span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    user-select: none;
}

/* Custom checkbox – reliable tick on Android Chrome (native can fail) */
.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    position: relative;
    vertical-align: middle;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #fff;
}

/* Tick drawn with CSS so it always shows on Android Chrome */
.checkbox-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #121212;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-button,
.cancel-button {
    flex: 1;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid #ffffff;
}

.submit-button {
    background-color: #ffffff;
    color: #121212;
}

.submit-button:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.cancel-button {
    background-color: transparent;
    color: #ffffff;
}

.cancel-button:hover {
    background-color: #ffffff;
    color: #121212;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.submit-button:active,
.cancel-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* About Page Styles */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 5rem);
    padding: 2rem;
}

.about-content {
    max-width: 800px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.about-content .about-intro {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-content .about-closing {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Performers / Wall of Fame – Polaroid wall */
.performers-section {
    padding-top: 2rem;
}

.performers-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 2rem;
    row-gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
}

.performer-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 0.85;
    transition: transform 0.2s ease;
    overflow: hidden;
}

/* Slight rotations for a pinned-to-wall look */
.performer-item:nth-child(3n + 1) { transform: rotate(-2deg); }
.performer-item:nth-child(3n + 2) { transform: rotate(1.5deg); }
.performer-item:nth-child(3n)     { transform: rotate(-1deg); }
.performer-item:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.performer-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 2500;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.image-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2501;
}

.image-modal-close:hover {
    color: #ccc;
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-button,
    .cancel-button {
        width: 100%;
    }

    .about-content {
        padding: 2rem;
    }

    .about-content h1 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-content .about-intro {
        font-size: 1.1rem;
    }

    .about-content .about-closing {
        font-size: 1.2rem;
    }

    .performers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .performers-section h1 {
        font-size: 1.8rem;
    }

    /* Android Chrome: larger touch target for checkboxes */
    .checkbox-label {
        min-height: 44px;
        padding: 4px 0;
        align-items: center;
    }
    .checkbox-label input[type="checkbox"] {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    .checkbox-label input[type="checkbox"]:checked::after {
        left: 7px;
        top: 3px;
        width: 7px;
        height: 13px;
    }
}

