/* Reset and base styles */
:root {
    --border-radius-small: 0.1rem;
    --border-radius-medium: 0.3rem;
    --border-radius-large: 0.4rem;
}

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

html {
    background: linear-gradient(135deg, #1a1a19 0%, #30302f 50%, #2a2a29 100%);
    overscroll-behavior: none;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f5f5f0;
    background: linear-gradient(135deg, #1a1a19 0%, #30302f 50%, #2a2a29 100%);
    min-height: 100vh;
    /* Prevent overscroll bounce on macOS */
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* Container */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius-large);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.band-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 3.0rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a19;
    /* margin-bottom: 1rem; */
    position: relative;
    top: -10rem;
    margin-bottom: -7rem;
}

/* Next Show Section */
.next-show {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Global h2 styles */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f5f5f0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.show-details {
    font-family: 'Source Serif 4', serif;
}

.venue {
    font-weight: 300;
    font-size: 2rem;
    padding: 0rem;
    margin-bottom: -0.8rem;
    color: #f5f5f0;
    text-transform: uppercase;
}

.date {
    font-weight: 600;
    font-size: 2rem;
    padding: 0rem;
    color: #e0e0d0;
    text-transform: uppercase;
}

/* Newsletter Signup Section */
.newsletter-signup {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.signup-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 300;
    color: #d0d0c0;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.name-fields-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.name-fields-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #f5f5f0;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-medium);
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(245, 245, 240, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #4a4a49 0%, #3a3a39 100%);
    color: #f5f5f0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-medium);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5a5a59 0%, #4a4a49 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.submit-btn:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.15);
}


/* Form */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

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

.signup-form input:focus:invalid,
.signup-form textarea:focus:invalid {
    box-shadow: 0 0 0 2px rgba(151, 71, 255, 0.15);
}

.error-message {
    color: #9747FF;
    font-size: 1rem;
    position: relative;
    left: 0;
    top: 0.5rem;
    bottom: -1.25rem;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .band-title {
        font-size: 2rem;
    }
    
    .next-show,
    .newsletter-signup {
        padding: 1.5rem;
    }
    
    .venue {
        font-size: 1.1rem;
    }
    
    .date {
        font-size: 1rem;
    }
    
    .name-fields-row {
        flex-direction: column;
        gap: 0;
    }
    
    .name-fields-row .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .band-title {
        font-size: 1.75rem;
    }
    
    .next-show h2,
    .newsletter-signup h2 {
        font-size: 1.25rem;
    }
    
    .next-show,
    .newsletter-signup {
        padding: 1rem;
    }
} 