/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4a574;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #c0392b;
}

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'LT Cushion';
    src: url('../fonts/LTCushion-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    border-bottom: 2px solid var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 48px;
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.mobile-menu-toggle:hover {
    opacity: 0.9;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem 2rem 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-with-image {
    position: relative;
    padding: 0;
    background: none;
    display: block;
    width: 100%;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
}

.hero-logo {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 680px;
    width: 68%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Home Page Grid */
.home-content {
    padding: 0.75rem 0 3rem 0;
}

.home-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.band-bio {
    min-width: 0;
}

.band-bio p {
    font-family: 'LT Cushion', Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.next-gig-sidebar {
    background: var(--bg-light);
    padding: 1.7rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.next-gig-sidebar * {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.next-gig-sidebar h2 {
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    font-size: 1.275rem;
}

.next-gig-sidebar .btn {
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials-home {
    margin: 2rem 0;
}

.testimonials-header {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonials-divider,
.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
    margin-bottom: 1.5rem;
}

.testimonial-pullquote {
    position: relative;
    padding: 1rem 1.5rem 0.75rem 2rem;
    background: #f9f9f9;
    border-radius: 3px;
    font-style: italic;
}

.testimonial-pullquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 8px;
    font-size: 3rem;
    line-height: 1;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-family: Georgia, serif;
    font-size: 0.9rem !important;
    line-height: 1.6;
    color: #666;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

.testimonial-attribution {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 0 !important;
    padding-top: 0.25rem;
}

.testimonial-contributor {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
}

.testimonial-venue {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.testimonial-venue::before {
    content: '— ';
}

.recent-media-home {
    margin-top: 2rem;
}

.recent-media-home h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.media-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.media-grid-home .media-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-grid-home .media-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.recent-media-home .btn {
    display: inline-block;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #b8935f;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #000;
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Gigs */
.gigs-hero-image {
    width: 100%;
    margin: 2rem 0 3rem 0;
}

.gigs-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: block;
}

.gigs-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.gig-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gig-card.past {
    opacity: 0.7;
}

.gig-date {
    text-align: center;
    min-width: 70px;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.gig-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.gig-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.gig-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.gig-details .location,
.gig-details .time,
.gig-details .address {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.gig-details .description {
    margin: 1rem 0;
}

.gig-details .description a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.gig-details .description a:hover {
    color: var(--primary-color);
}

.external-link-icon {
    font-size: 0.85em;
    vertical-align: super;
    margin-left: 2px;
}

.gig-flyer {
    flex-shrink: 0;
    width: 150px;
    margin-left: auto;
}

.gig-flyer img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    object-fit: cover;
    max-height: 200px;
}

.clickable-flyer {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.clickable-flyer:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Gig Media Container (Flyer + QR Code) */
.gig-media-container {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.gig-media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.media-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-label-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.media-label-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.gig-qr {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    padding: 0.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.media-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.media-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.media-item h4 {
    padding: 0.5rem;
    background: var(--bg-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Checkbox styling */
.checkbox-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-right: 0.75rem;
    cursor: pointer;
    transform: scale(1.3);
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 1rem;
    color: var(--text-color);
}

/* Flyer Drop Zone */
.flyer-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flyer-drop-zone:hover {
    border-color: var(--secondary-color);
    background-color: #fff;
}

.flyer-drop-zone.drag-over {
    border-color: var(--secondary-color);
    background-color: #fff8f0;
    transform: scale(1.02);
}

.drop-zone-content {
    pointer-events: none;
}

.upload-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.drop-zone-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.drop-zone-text strong {
    color: var(--secondary-color);
}

.drop-zone-hint {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Honeypot field - hidden from humans, visible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-band-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-info .social-links {
    justify-content: flex-start;
}

.contact-info .social-links a {
    color: var(--primary-color);
}

.contact-info .social-links a:hover {
    color: var(--secondary-color);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Booking CTA */
.booking-cta {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    border-radius: 8px;
    text-align: center;
    color: white;
}

.booking-cta h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.booking-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.booking-contact {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.booking-contact p {
    margin-bottom: 0.75rem;
}

.booking-contact a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.booking-contact a:hover {
    color: #fff;
}

/* Admin Styles */
.admin-header {
    background-color: #34495e;
}

.admin-main {
    background-color: var(--bg-light);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.admin-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-upcoming {
    background-color: #d4edda;
    color: #155724;
}

.badge-past {
    background-color: #f8d7da;
    color: #721c24;
}

/* Login Page */
.login-page {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.back-link {
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-name-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.modal-close {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content form {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Band Members */
.band-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.member-photo img:hover {
    transform: scale(1.05);
}

.jeff-curtis-photo {
    object-position: center 20% !important;
}

.lisa-scott-photo {
    object-position: center 10% !important;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Page Sections */
.about-section {
    margin-bottom: 4rem;
}

.about-with-image {
    display: flow-root;
}

.about-with-image p {
    font-family: 'LT Cushion', Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-band-image {
    float: right;
    width: 350px;
    max-width: 45%;
    height: auto;
    margin: 0 0 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Utility Classes */
.no-content,
.no-gigs {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .band-bio p {
        font-size: 1.05rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .band-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-band-image {
        width: 300px;
        max-width: 100%;
        margin: 0 0 1.5rem 1.5rem;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }

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

    .nav-menu.active li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active li:last-child {
        border-bottom: none;
    }

    .nav-menu.active a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        border-bottom: none;
        background-color: rgba(212, 165, 116, 0.1);
    }

    /* Typography */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero-with-image .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-logo {
        max-width: 400px;
        width: 80%;
    }

    .logo-image {
        height: 50px;
    }

    /* Buttons - Larger touch targets */
    .btn {
        padding: 1rem 1.75rem;
        font-size: 1.1rem;
        min-height: 48px;
    }

    .btn-small {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Layout Adjustments */
    .container {
        padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    }

    .gigs-list {
        max-width: 100%;
    }

    .gig-card {
        flex-direction: column;
    }

    .gig-date {
        min-width: 100%;
        text-align: center;
    }

    .gig-flyer {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }

    .gig-flyer img {
        max-height: 300px;
        width: 100%;
        object-fit: contain;
    }

    .gig-media-container {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .gig-qr {
        width: 120px;
        height: 120px;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .member-photo {
        height: 350px;
    }

    .about-band-image {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem 0;
    }

    /* Admin Tables - Make scrollable */
    .admin-table-container {
        overflow-x: auto;
    }

    /* Booking CTA */
    .booking-cta {
        padding: 2rem 1.5rem;
    }

    .booking-cta h2 {
        font-size: 1.5rem;
    }

    .booking-cta p {
        font-size: 1rem;
    }

    /* Social Links - Larger touch targets */
    .social-links a svg {
        width: 32px;
        height: 32px;
    }
}

/* Mobile Phones (480px and below) */
@media (max-width: 480px) {
    /* Base adjustments */
    body {
        font-size: 14px;
    }

    .container {
        padding: 0.75rem 1rem 1rem 1rem;
    }

    /* Navigation */
    .logo-image {
        height: 40px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Hero Section */
    .hero-logo {
        max-width: 300px;
        width: 85%;
        bottom: 3%;
    }

    /* Band Bio */
    .band-bio p {
        font-size: 1rem;
    }

    /* Testimonials Mobile */
    .testimonial-pullquote {
        padding: 2rem 1.5rem 1.5rem 2.5rem;
    }

    .testimonial-pullquote::before {
        font-size: 4rem;
        top: -5px;
        left: 10px;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-attribution {
        font-size: 0.9rem;
    }

    /* Next Gig Sidebar */
    .next-gig-sidebar {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .next-gig-sidebar h2 {
        font-size: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .btn-small {
        padding: 0.5rem 0.875rem;
        font-size: 0.9rem;
    }

    /* Gig Cards */
    .gig-card {
        padding: 1rem;
        gap: 1rem;
    }

    .gig-date {
        padding: 0.75rem;
    }

    .gig-date .day {
        font-size: 1.75rem;
    }

    .gig-date .month {
        font-size: 0.85rem;
    }

    .gig-details h3 {
        font-size: 1.2rem;
    }

    /* Media Grid */
    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-grid-home {
        grid-template-columns: 1fr;
    }

    .media-item img {
        height: 220px;
    }

    /* Band Members */
    .member-photo {
        height: 300px;
    }

    .member-info {
        padding: 1.25rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.95rem;
    }

    .member-bio {
        font-size: 0.9rem;
    }

    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
    }

    .contact-section {
        gap: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    /* Booking CTA */
    .booking-cta {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .booking-cta h2 {
        font-size: 1.3rem;
    }

    .booking-cta p {
        font-size: 0.95rem;
    }

    .booking-contact {
        padding: 1.25rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .social-links {
        gap: 1.25rem;
    }

    .social-links a svg {
        width: 28px;
        height: 28px;
    }

    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-name-overlay {
        font-size: 1.2rem;
        padding: 0.5rem 1.5rem;
        bottom: 10px;
    }

    /* Modal */
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-width: 100%;
    }

    .modal-header,
    .modal-content form,
    .modal-footer {
        padding: 1rem;
    }

    /* Admin Tables */
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

/* Very Small Devices (360px and below) */
@media (max-width: 360px) {
    .hero-logo {
        width: 90%;
        max-width: 250px;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .container {
        padding: 0.75rem;
    }

    .booking-cta h2 {
        font-size: 1.2rem;
    }

    .social-links a svg {
        width: 24px;
        height: 24px;
    }
}