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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #F5F5DC;
    background-color: #1A1A1A;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #F5F5DC;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FF8C00;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid #FF8C00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(96%) sepia(2%) saturate(1000%) hue-rotate(320deg) brightness(96%) contrast(96%);
}

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

.logo-text {
    font-size: 1.5rem;
    text-wrap: nowrap;
    color: #F5F5DC;
    letter-spacing: 3px;
    margin: 0;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    /* gap: 1rem; */
}

.nav-link {
    color: #F5F5DC;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    font-family: 'Oswald', sans-serif;
}

.nav-link:hover {
    color: #FF8C00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #4682B4;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #F5F5DC;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 50%, #1A1A1A 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 50%, #1A1A1A 100%);
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    padding-top: 2.5rem;
    height: 420px;
    width: auto;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(100%) sepia(40%) saturate(700%) hue-rotate(360deg) saturate(57.5%) brightness(96%);
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 4rem;
    color: #F5F5DC;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
    font-size: 1.5rem;
    color: #FF8C00;
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.cta-button {
    background: #FF8C00;
    color: #1A1A1A;
    border: 3px solid #4682B4;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    font-family: 'Oswald', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #4682B4;
    border-color: #FF8C00;
    color: #F5F5DC;
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #2C3E50;
    position: relative;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.band-origin {
    font-size: 1.3rem;
    color: #FF8C00;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.band-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E0E0E0;
    font-family: 'Lato', sans-serif;
}

.band-members h3 {
    color: #F5F5DC;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
}

.members-grid {
    display: grid;
    gap: 1.5rem;
}

.member {
    background: #1A1A1A;
    padding: 1.5rem;
    border-left: 4px solid #FF8C00;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.2);
    border-left-color: #4682B4;
}

.member h4 {
    color: #F5F5DC;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.member p {
    color: #FF8C00;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

/* Music Section */
.music {
    padding: 100px 0;
    background: #1A1A1A;
}

.setlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.song-item {
    background: #2C3E50;
    padding: 1rem 1.5rem;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F5F5DC;
    font-family: 'Oswald', sans-serif;
}

.song-item:hover {
    transform: translateY(-3px);
    border-color: #4682B4;
    background: #1A1A1A;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    color: #FF8C00;
}

.audio-placeholder {
    text-align: center;
    padding: 3rem;
    background: #2C3E50;
    border: 2px dashed #FF8C00;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #FF8C00;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

/* Shows Section */
.shows {
    padding: 100px 0;
    background: #2C3E50;
}

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

/* Shows Empty State */
.shows-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #1A1A1A;
    border: 2px solid #FF8C00;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.shows-empty-state h3 {
    font-size: 2rem;
    color: #FF8C00;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.shows-empty-state p {
    font-size: 1.1rem;
    color: #F5F5DC;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.shows-empty-state p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
}

.show-item {
    background: #1A1A1A;
    padding: 2rem;
    border: 2px solid #FF8C00;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.show-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    border-color: #4682B4;
}

.show-date {
    font-size: 1.3rem;
    color: #FF8C00;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.show-venue {
    font-size: 1.5rem;
    color: #F5F5DC;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.show-location {
    color: #E0E0E0;
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.show-time {
    color: #4682B4;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
}

.ticket-button {
    background: #FF8C00;
    color: #1A1A1A;
    border: 2px solid #4682B4;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
}

.ticket-button:hover {
    background: #4682B4;
    border-color: #FF8C00;
    color: #F5F5DC;
    transform: scale(1.02);
}

.ticket-button:disabled {
    background: #666;
    border-color: #888;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.ticket-button:disabled:hover {
    background: #666;
    border-color: #888;
    color: #999;
    transform: none;
}

.location-link {
    color: #4682B4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.location-link:hover {
    color: #FF8C00;
    border-bottom-color: #FF8C00;
    text-decoration: none;
}

.show-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.learn-more-section {
    width: 100%;
}

.learn-more-button {
    background: transparent;
    color: #4682B4;
    border: 2px solid #4682B4;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.learn-more-button:hover {
    background: #4682B4;
    color: #F5F5DC;
    transform: translateY(-2px);
}

.learn-more-button.active {
    background: #FF8C00;
    border-color: #FF8C00;
    color: #1A1A1A;
}

.learn-more-content {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(70, 130, 180, 0.1);
    border-left: 3px solid #4682B4;
    border-radius: 0 6px 6px 0;
    animation: slideDown 0.3s ease;
}

.learn-more-content div {
    margin: 0;
    line-height: 1.6;
    color: #F5F5DC;
}

.learn-more-content a {
    color: #4682B4;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.learn-more-content a:hover {
    color: #FF8C00;
    border-bottom-color: #FF8C00;
    text-decoration: none;
}

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

/* Media Section */
.media {
    padding: 100px 0;
    background: #1A1A1A;
}

.media-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.gallery-item {
    aspect-ratio: 1;
    background: #2C3E50;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #FF8C00;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.gallery-item:hover {
    transform: scale(1.05);
    background: #1A1A1A;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border-color: #4682B4;
}

.video-player {
    background: #2C3E50;
    border: 2px solid #4682B4;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.video-placeholder {
    font-size: 1.2rem;
    color: #4682B4;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #2C3E50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #F5F5DC;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Oswald', sans-serif;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #E0E0E0;
    font-family: 'Lato', sans-serif;
}

.contact-info a {
    color: #FF8C00;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.contact-info a:hover {
    color: #4682B4;
}

.contact-form {
    background: #1A1A1A;
    padding: 2rem;
    border: 2px solid #FF8C00;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #2C3E50;
    border: 2px solid #FF8C00;
    color: #F5F5DC;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border-radius: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4682B4;
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #E0E0E0;
}

.submit-button {
    background: #FF8C00;
    color: #1A1A1A;
    border: 2px solid #4682B4;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 0;
    font-family: 'Oswald', sans-serif;
}

.submit-button:hover {
    background: #4682B4;
    border-color: #FF8C00;
    color: #F5F5DC;
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: #1A1A1A;
    padding: 3rem 0 1rem;
    border-top: 3px solid #FF8C00;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(96%) sepia(2%) saturate(1000%) hue-rotate(320deg) brightness(96%) contrast(96%);
}

.footer-brand h3 {
    color: #F5F5DC;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Oswald', sans-serif;
}

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

.footer-links a {
    color: #F5F5DC;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.footer-links a:hover {
    color: #FF8C00;
}

.social-media {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #FF8C00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    background: #4682B4;
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2C3E50;
    color: #E0E0E0;
    font-family: 'Lato', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 3px solid #FF8C00;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-logo {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .nav-brand {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .media-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .setlist-grid {
        grid-template-columns: 1fr;
    }
    
    .shows-grid {
        grid-template-columns: 1fr;
    }
    
    .shows-empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .shows-empty-state h3 {
        font-size: 1.5rem;
    }
    
    .shows-empty-state p {
        font-size: 1rem;
    }
    
    .show-actions {
        gap: 0.75rem;
    }
    
    .learn-more-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .learn-more-content {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero-logo {
        height: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 25px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Image Modal */
.image-modal {
    display: block;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

.image-modal .modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.image-modal .modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.image-modal .modal-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-modal .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.image-modal .close:hover {
    color: #ff0040;
}

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

/* Enhanced Gallery Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Video Styling */
.video-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-item h4 {
    padding: 15px;
    background: #1a1a1a;
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video loading state */
.video-item video:not([poster]) {
    background: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%, #2a2a2a 50%, #1a1a1a 50%, #1a1a1a 75%, #2a2a2a 75%);
    background-size: 20px 20px;
    animation: video-loading 1s linear infinite;
}

@keyframes video-loading {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Video Error Handling */
.video-error {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.video-error p {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.video-download-link {
    color: #ff0040;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #ff0040;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.video-download-link:hover {
    background: #ff0040;
    color: #fff;
}

/* Image Error Handling */
.image-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    min-width: 300px;
}

/* Loading States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Error States */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #dc3545;
}

.error-state p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #dc3545;
}

.retry-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background: #0056b3;
}

/* Hide loading/error states when content is loaded */
.loading-state.hidden,
.error-state.hidden {
    display: none;
}

/* Contact Form Status */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-status .success {
    color: #28a745;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    margin: 0;
}

.form-status .error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    margin: 0;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.image-error p {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.image-download-link {
    color: #ff0040;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #ff0040;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.image-download-link:hover {
    background: #ff0040;
    color: #fff;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ff0040;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
