/* Custom CSS for שלומי וסתם */

/* Navigation Styles */
nav {
    background-color: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 50 !important;
}

nav .max-w-7xl {
    max-width: 80rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

nav .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

nav .h-16 {
    height: 4rem !important;
}

nav .flex {
    display: flex !important;
}

nav .justify-between {
    justify-content: space-between !important;
}

nav .items-center {
    align-items: center !important;
}

nav .flex-shrink-0 {
    flex-shrink: 0 !important;
}

nav .hidden {
    display: none !important;
}

nav .md\\:block {
    display: block !important;
}

nav .mr-10 {
    margin-right: 2.5rem !important;
}

nav .space-x-4 > * + * {
    margin-right: 1rem !important;
}

nav .space-x-reverse > * + * {
    margin-right: 1rem !important;
}

nav .text-primary {
    color: #FF6B6B !important;
}

nav .text-dark {
    color: #2C3E50 !important;
}

nav .hover\\:text-secondary:hover {
    color: #4ECDC4 !important;
}

nav .hover\\:text-primary:hover {
    color: #FF6B6B !important;
}

nav .px-3 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

nav .py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

nav .rounded-md {
    border-radius: 0.375rem !important;
}

nav .text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

nav .font-medium {
    font-weight: 500 !important;
}

/* Mobile Menu Styles */
#mobile-menu {
    background-color: white !important;
    border-top: 1px solid #e5e7eb !important;
}

#mobile-menu .px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

#mobile-menu .pt-2 {
    padding-top: 0.5rem !important;
}

#mobile-menu .pb-3 {
    padding-bottom: 0.75rem !important;
}

#mobile-menu .space-y-1 > * + * {
    margin-top: 0.25rem !important;
}

#mobile-menu .block {
    display: block !important;
}

#mobile-menu .text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}

/* Logo Styles */
nav img {
    height: 3rem !important;
    width: auto !important;
    margin-right: 0.5rem !important;
}

nav .text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

nav .font-bold {
    font-weight: 700 !important;
}

/* Hero Logo Styles */
.hero-content img {
    width: 7rem !important;
    height: 7rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
}

@media (min-width: 768px) {
    .hero-content img {
        width: 12rem !important;
        height: 12rem !important;
    }
}

/* Mobile Menu Button Styles */
#mobile-menu-button {
    color: #2C3E50 !important;
    transition: color 0.3s ease !important;
}

#mobile-menu-button:hover {
    color: #FF6B6B !important;
}

#mobile-menu-button:focus {
    outline: none !important;
    color: #FF6B6B !important;
}

#mobile-menu-button svg {
    height: 1.5rem !important;
    width: 1.5rem !important;
}

/* Ensure mobile menu is properly styled */
#mobile-menu.hidden {
    display: none !important;
}

#mobile-menu:not(.hidden) {
    display: block !important;
}

/* Ensure navigation is always visible and content starts below it */
body {
    padding-top: 4rem !important; /* 64px to account for fixed navigation */
}

/* Hero section should start below navigation */
.hero-with-image {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure navigation has proper contrast and visibility */
nav {
    background-color: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 9999 !important; /* Very high z-index to ensure it's on top */
}

/* Ensure all navigation elements are visible */
nav * {
    visibility: visible !important;
}

nav a {
    text-decoration: none !important;
    display: inline-block !important;
}

/* Force desktop menu to be visible */
nav .hidden.md\\:block {
    display: block !important;
}

/* Ensure menu items are visible */
nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse {
    display: flex !important;
    margin-right: 2.5rem !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a {
    display: inline-block !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2C3E50 !important;
    transition: color 0.3s ease !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a:hover {
    color: #FF6B6B !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a.text-primary {
    color: #FF6B6B !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a.text-primary:hover {
    color: #4ECDC4 !important;
}

/* Force logo to be visible */
nav .flex-shrink-0 {
    display: flex !important;
    flex-shrink: 0 !important;
}

nav .flex-shrink-0 a {
    display: flex !important;
    align-items: center !important;
}

nav .flex-shrink-0 img {
    height: 2rem !important;
    width: auto !important;
    margin-right: 0.5rem !important;
    display: block !important;
}

nav .flex-shrink-0 span {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
    font-weight: 700 !important;
    color: #FF6B6B !important;
    display: block !important;
}

/* Force hero logo to be visible */
.hero-content .mb-8.animate-bounce-slow {
    margin-bottom: 2rem !important;
    display: block !important;
}

.hero-content .mb-8.animate-bounce-slow img {
    width: 8rem !important;
    height: 8rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
    display: block !important;
}

@media (min-width: 768px) {
    .hero-content .mb-8.animate-bounce-slow img {
        width: 12rem !important;
        height: 12rem !important;
    }
}

/* Simple navigation styles - override everything */
nav {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    height: 64px !important;
    display: block !important;
}

nav > div {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

nav .flex-shrink-0 {
    display: flex !important;
    align-items: center !important;
}

nav .flex-shrink-0 img {
    height: 32px !important;
    width: auto !important;
    margin-left: 8px !important;
    display: block !important;
}

nav .flex-shrink-0 span {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #FF6B6B !important;
}

/* Desktop menu */
nav .hidden.md\\:block {
    display: block !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a {
    color: #2C3E50 !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a:hover {
    color: #FF6B6B !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a.text-primary {
    color: #FF6B6B !important;
}

nav .mr-10.flex.items-baseline.space-x-4.space-x-reverse a.text-primary:hover {
    color: #4ECDC4 !important;
}

/* Mobile menu button */
nav .md\\:hidden {
    display: none !important;
}

@media (max-width: 768px) {
    nav .md\\:hidden {
        display: block !important;
    }
    
    nav .hidden.md\\:block {
        display: none !important;
    }
}

/* Mobile menu */
#mobile-menu {
    background: white !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 16px !important;
}

#mobile-menu a {
    display: block !important;
    color: #2C3E50 !important;
    text-decoration: none !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

#mobile-menu a:hover {
    color: #FF6B6B !important;
}

#mobile-menu a.text-primary {
    color: #FF6B6B !important;
}

/* Ensure content starts below navigation */
body {
    padding-top: 64px !important;
}

/* Hero section adjustments */
.hero-with-image {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile hero typography and CTA layout */
@media (max-width: 767px) {
  .hero-content h1 { font-size: 2.25rem !important; line-height: 1.15 !important; }
  .hero-content p { font-size: 1rem !important; }
}

/* Mobile-first navigation improvements */
@media (max-width: 767px) {
  /* Place hamburger button on the left */
  #mobile-menu-button {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: block !important;
    z-index: 1100 !important;
  }
  /* Center the logo when button is absolutely positioned */
  nav .flex-shrink-0 {
    margin: 0 auto !important;
  }
  /* Mobile menu panel styling */
  #mobile-menu {
    position: fixed !important;
    top: 64px !important; /* matches nav height */
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    z-index: 1050 !important;
  }
  #mobile-menu.open { display: block !important; }
  #mobile-menu a {
    display: block !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
  }
}


/* Utility Classes */
.hidden {
    display: none !important;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Custom Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slide-in-left 0.8s ease-out;
}

.animate-bounce {
    animation: bounce 1s;
}

.animate-wiggle {
    animation: wiggle 1s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-rainbow {
    animation: rainbow 3s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a5a;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #e55a5a 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #3db8b0 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Image Hover Effects */
.img-hover {
    transition: all 0.3s ease;
}

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

/* Text Selection */
::selection {
    background: #FF6B6B;
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-menu-enter-active {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.mobile-menu-exit {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-exit-active {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Custom Focus Styles */
.focus-ring:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-responsive {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    
    .text-responsive-lg {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .text-responsive-xl {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

/* Custom Grid for Hebrew Content */
.hebrew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Custom Form Styles */
.form-input {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-family: 'Heebo', sans-serif;
}

.form-input:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    outline: none;
}

.form-input[dir="rtl"] {
    text-align: right;
}

/* Custom Modal Styles */
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Video Player Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

/* Custom Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: visible;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: fit-content;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 12px;
    flex-shrink: 0;
}

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

/* Custom Testimonial Styles */
.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #FF6B6B;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Custom Show Card Styles */
.show-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px; /* Increased height */
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.show-card img {
    width: 100%;
    height: 400px; /* Increased height */
    object-fit: cover;
    object-position: top;
    display: block;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
}

.show-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

.show-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.show-card-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.show-card-content a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.show-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.show-details span {
    font-size: 0.875rem;
    color: #374151;
}

.show-details strong {
    color: #1f2937;
    font-weight: 600;
}

/* Shows Grid */
#shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

/* Loading Spinner */
#loading-spinner {
    text-align: center;
    padding: 2rem;
}

#loading-spinner .spinner {
    margin: 0 auto;
}

/* Custom Schedule Styles */
.schedule-item {
    border-right: 4px solid #4ECDC4;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Custom Contact Form Styles */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: linear-gradient(135deg, #FF6B6B 0%, #e55a5a 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
}

/* Custom Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #6c757d;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-icon.apple-music:hover {
    background: #fc3c44;
    color: white;
}

.social-icon.spotify:hover {
    background: #1db954;
    color: white;
}



/* Custom WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Custom Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #FF6B6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* Custom Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Custom Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

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

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Custom Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}

/* Make generic images responsive (won't override more specific rules) */
img {
  max-width: 100%;
  height: auto;
}

/* Improve mobile menu touch target */
@media (max-width: 767px) {
  #mobile-menu-button {
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
  }
  /* Slightly smaller logo on mobile for better spacing */
  nav .flex-shrink-0 img {
    height: 40px !important;
  }
}

/* Backdrop overlay for mobile menu */
.mobile-backdrop {
  position: fixed !important;
  top: 64px !important; /* below the fixed nav */
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.35) !important;
  z-index: 900 !important; /* below nav (1000), above regular content */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mobile-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Shows grid: ensure single column on very small screens */
@media (max-width: 380px) {
  #shows-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Show cards: reduce height on mobile to avoid tall images */
@media (max-width: 767px) {
  .show-card {
    min-height: auto !important;
  }
  .show-card img {
    height: 220px !important;
  }
  .show-card-content {
    padding: 1rem !important;
    gap: 0.75rem !important;
    text-align: center !important;
    align-items: center !important;
  }
} 

/* Mobile menu animation & panel polish */
@media (max-width: 767px) {
  #mobile-menu {
    position: fixed !important;
    top: 64px !important; /* matches nav height */
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    z-index: 1050 !important;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  #mobile-menu.open { 
    display: block !important; 
    transform: translateY(0);
    opacity: 1;
  }
  #mobile-menu a {
    display: block !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
  }
} 

/* Hero floating logo adjustments */
.hero-content .hero-logo {
    margin-top: calc(5rem + 2cm) !important; /* lowered an extra 2cm on mobile */
    margin-bottom: 0.75rem !important;       /* keep it tight to the title */
}

.hero-content .hero-logo img {
    width: 11rem !important;
    height: 11rem !important;
    display: block !important;
}

@media (min-width: 768px) {
  .hero-content .hero-logo {
      margin-top: calc(8rem + 2cm) !important; /* lowered an extra 2cm on desktop */
      margin-bottom: 0.5rem !important;
  }
  .hero-content .hero-logo img {
      width: 18rem !important;
      height: 18rem !important;
  }
} 