.hero-bg {
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.bg-premium-blue {
    background-color: #0056b3;
}

.text-premium-blue {
    color: #0056b3;
}

.border-premium-blue {
    border-color: #0056b3;
}

.zoom-animation {
    animation: zoomInOut 3s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dome-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid #0056b3;
    border-radius: 70% 70% 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
    animation: floatAnimation 3s ease-in-out infinite;
}

.dome-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dome-image:hover {
    transform: scale(1.05);
}

.pulse-animation {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 86, 179, 0.4);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 86, 179, 0.8), 0 0 30px rgba(0, 86, 179, 0.6);
    }
}

.bounce-animation {
    animation: bounceResume 2s ease-in-out infinite;
}

@keyframes bounceResume {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce-animation:hover {
    animation: none;
    transform: scale(1.05);
}

/* Modal image sizing for proper viewport fit */
#modalHeadshotImage {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

#modalGalleryImage {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile-specific gallery image positioning */
@media (max-width: 768px) {
    #theatreGallery img.object-cover,
    #filmGallery img.object-cover {
        object-position: top;
    }
}

/* Prevent horizontal overflow on mobile */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure navigation doesn't cause overflow */
nav {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix mobile navigation spacing */
@media (max-width: 768px) {
    .hidden.md\:flex {
        display: none !important;
    }
    
    /* Ensure mobile menu doesn't overflow */
    .mobile-menu {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100vw;
    }
    
    /* Fix container padding on mobile */
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Floating Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}