/* The Kaw Tunes - Main Stylesheet */
/* Color Scheme: Dark background with teal/cyan accents */

:root {
    --primary-color: #00CED1;
    --secondary-color: #20B2AA;
    --dark-teal: #008B8B;
    --background-dark: #0a0a0a;
    --background-medium: #1a1a1a;
    --background-light: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-glow: rgba(0, 206, 209, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background: linear-gradient(180deg, var(--background-medium) 0%, var(--background-dark) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px var(--accent-glow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 100px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--background-medium) 0%, var(--background-dark) 100%);
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 206, 209, 0.2);
}

.hero-logo {
    max-width: 800px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent-glow);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.card {
    background: var(--background-medium);
    border: 1px solid var(--dark-teal);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--accent-glow);
    border-color: var(--primary-color);
}

.card h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Member Cards */
.member-card {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Shows Table */
.shows-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--background-medium);
    border-radius: 10px;
    overflow: hidden;
}

.shows-table thead {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-color) 100%);
}

.shows-table th {
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Past Shows Section - Darker styling */
#past-shows h2 {
    color: #007575;
}

#past-shows .shows-table thead {
    background: linear-gradient(135deg, #005555 0%, #007575 100%);
}

.shows-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--background-light);
}

.shows-table tr:hover {
    background: var(--background-light);
}

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

/* Media Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--dark-teal);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px var(--accent-glow);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 206, 209, 0.3);
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

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

.contact-form {
    background: var(--background-medium);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--dark-teal);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: var(--background-light);
    border: 1px solid var(--dark-teal);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

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

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-color) 100%);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.btn-secondary {
    background: var(--background-light);
    border: 1px solid var(--primary-color);
}

/* Contact Info */
.contact-info {
    background: var(--background-medium);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--dark-teal);
}

.contact-info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--background-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* Song List */
.song-list {
    background: var(--background-medium);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--dark-teal);
    margin-top: 2rem;
}

.song-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.song-list li {
    padding: 0.5rem;
    background: var(--background-light);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

/* Footer */
footer {
    background: var(--background-medium);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    margin-top: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Admin Panel */
.admin-panel {
    background: var(--background-medium);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--dark-teal);
    margin-bottom: 2rem;
}

.admin-panel h3 {
    text-align: left;
    margin-bottom: 1rem;
}

.show-item {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show-info {
    flex: 1;
}

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

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

.btn-delete {
    background: #dc3545;
}

.btn-edit {
    background: #ffc107;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 2rem;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--background-light);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

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

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

    .song-list ul {
        grid-template-columns: 1fr;
    }

    .shows-table {
        font-size: 0.9rem;
    }

    .shows-table th,
    .shows-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo {
        height: 40px;
    }

    .site-title {
        font-size: 1.2rem;
    }
}
