/* Custom CSS for Indonesian Palestine MUVI Festival */

/* Roxborough CF Font - Custom Font Face */
/* NOTE: Font files temporarily commented out to prevent 404 errors */
/* Download from: https://www.onlinewebfonts.com/download/68b898f6044bbee439423445076f3168 */
/* Create /fonts/ directory and uncomment these after adding files */

/*
@font-face {
    font-family: 'Roxborough CF';
    src: url('../fonts/RoxboroughCF-Regular.woff2') format('woff2'),
         url('../fonts/RoxboroughCF-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roxborough CF';
    src: url('../fonts/RoxboroughCF-Bold.woff2') format('woff2'),
         url('../fonts/RoxboroughCF-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roxborough CF';
    src: url('../fonts/RoxboroughCF-Heavy.woff2') format('woff2'),
         url('../fonts/RoxboroughCF-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
*/

/* Font Family Classes */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-roxborough {
    font-family: 'Roxborough CF', 'Playfair Display', Georgia, serif;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* Fade In on Scroll - Initially Hidden */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVBAR - TRANSPARENT & SCROLLED STATES
   ======================================== */

/* Transparent Navbar (Default/Top) */
.navbar-transparent {
    background-color: transparent;
    box-shadow: none;
}

/* Hide logo in transparent state */
.navbar-transparent #navbarLogo {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Scrolled Navbar (White Background) */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Show logo in scrolled state */
.navbar-scrolled #navbarLogo {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Menu Items - Transparent State (White Text) */
.navbar-transparent .nav-menu-item {
    color: #ffffff;
}

.navbar-transparent .nav-menu-item:hover {
    color: #F4B942; /* Gold on hover */
}

.navbar-transparent .nav-mobile-btn {
    color: #ffffff;
}

/* Menu Items - Scrolled State (Dark Text) */
.navbar-scrolled .nav-menu-item {
    color: #374151; /* gray-700 */
}

.navbar-scrolled .nav-menu-item:hover {
    color: #14b8a6; /* teal-600 */
}

.navbar-scrolled .nav-mobile-btn {
    color: #374151;
}

/* Register Button - Transparent State */
.navbar-transparent .nav-register-btn {
    background-color: transparent;
    border: 2px solid #F4B942;
    color: #F4B942;
}

.navbar-transparent .nav-register-btn:hover {
    background-color: #F4B942;
    color: #000000;
}

/* Register Button - Scrolled State */
.navbar-scrolled .nav-register-btn {
    background-color: #14b8a6;
    border: 2px solid #14b8a6;
    color: #ffffff;
}

.navbar-scrolled .nav-register-btn:hover {
    background-color: #0d9488;
    border-color: #0d9488;
}

/* Mobile Menu - Transparent State */
.navbar-transparent .mobile-menu-content {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.navbar-transparent .nav-menu-item-mobile {
    color: #ffffff;
}

.navbar-transparent .nav-menu-item-mobile:hover {
    color: #F4B942;
}

.navbar-transparent .nav-register-btn-mobile {
    background-color: transparent;
    border: 2px solid #F4B942;
    color: #F4B942;
}

.navbar-transparent .nav-register-btn-mobile:hover {
    background-color: #F4B942;
    color: #000000;
}

.navbar-transparent #langToggleMobile {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu - Scrolled State */
.navbar-scrolled .mobile-menu-content {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-menu-item-mobile {
    color: #374151;
}

.navbar-scrolled .nav-menu-item-mobile:hover {
    color: #14b8a6;
}

.navbar-scrolled .nav-register-btn-mobile {
    background-color: #14b8a6;
    border: 2px solid #14b8a6;
    color: #ffffff;
}

.navbar-scrolled .nav-register-btn-mobile:hover {
    background-color: #0d9488;
}

.navbar-scrolled #langToggleMobile {
    border-top-color: #e5e7eb;
}

/* Legacy navbar class for compatibility */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hero Section Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Custom Gradient Backgrounds */
.gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
}

.gradient-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Timeline Connector Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #14b8a6, #fbbf24);
    transform: translateX(-50%);
}

/* Mobile Timeline Styling */
@media (max-width: 767px) {
    .timeline-line-mobile {
        left: 12px !important;
        transform: none !important;
    }
}

/* Desktop Timeline Styling */
@media (min-width: 768px) {
    .timeline-line-desktop {
        /* Uses default Tailwind classes */
    }
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Form Input Focus Effect */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* 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); }
}

/* Success Message */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    /* Fix navbar to prevent overflow */
    #navbar {
        overflow: visible;
    }

    #navbar .container {
        overflow: visible;
    }

    /* Mobile menu hidden state */
    #mobileMenu.hidden {
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* Mobile menu visible state */
    #mobileMenu:not(.hidden) {
        max-height: 600px;
        overflow: visible;
        opacity: 1;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    }

    /* Ensure mobile menu content is not cut off */
    .mobile-menu-content {
        max-width: 100%;
        overflow: visible;
        width: 100%;
    }

    /* Prevent text overflow in mobile menu items */
    .nav-menu-item-mobile {
        white-space: normal;
        word-wrap: break-word;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Section Spacing */
section {
    position: relative;
}

/* Global Content Size Reduction */
section h2 {
    font-size: 2rem !important; /* Reduced from default 2.5rem/3rem */
}

@media (min-width: 768px) {
    section h2 {
        font-size: 2.5rem !important; /* Reduced from default 3rem */
    }
}

section h3 {
    font-size: 1.25rem !important; /* Reduced from default 1.5rem */
}

@media (min-width: 768px) {
    section h3 {
        font-size: 1.5rem !important; /* Reduced from default 1.875rem */
    }
}

section p, section li {
    font-size: 0.875rem !important; /* Reduced from default 1rem */
    line-height: 1.6 !important;
}

@media (min-width: 768px) {
    section p, section li {
        font-size: 0.95rem !important; /* Reduced from default 1.125rem */
    }
}

/* Background Patterns */
.bg-pattern {
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(20, 184, 166, 0.05) 35px, rgba(20, 184, 166, 0.05) 70px);
}

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

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

/* Jury Card Gradient */
.jury-card-gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
}

.jury-card-gradient-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.8;
}

/* Link Underline Effect */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14b8a6;
    transition: width 0.3s ease-out;
}

.link-underline:hover::after {
    width: 100%;
}

/* Prize Card Styling */
.prize-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Form Validation Styles */
input.invalid,
textarea.invalid,
select.invalid {
    border-color: #ef4444;
}

input.valid,
textarea.valid,
select.valid {
    border-color: #10b981;
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Language Toggle */
#langToggle {
    cursor: pointer;
}

#langToggle:hover {
    transform: scale(1.05);
}

/* Hero Section Responsive Heights */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
}

/* Adjust hero content spacing for different devices */
@media (max-width: 640px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100svh; /* Small viewport height */
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 100px;
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 100px;
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    nav, footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Accessibility Enhancements */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #14b8a6;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   OLD FILM EFFECT CSS
   ======================================== */

/* Film and Effect Layers */
.film, .effect {
    width: 100%;
    height: 100%;
    filter: blur(0.45px) drop-shadow(0px 0px 0px #fff1);
}

.film::after, .effect::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 100%;
    top: 0;
    left: 0;
    padding-left: 100px;
    opacity: 0.25;
    animation: film-scratch 0.45s steps(1) infinite;
    background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0 2px, transparent 4px 37vmin);
}

.effect::after {
    left: 30%;
    opacity: 0.2;
    animation: effect-scratch 2s infinite;
}

/* Grain/Noise Layer */
.grain {
    width: 100%;
    height: 100%;
}

.grain::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    opacity: 0.15;
    background-image:
        repeating-conic-gradient(#000 0%, transparent .00003%, transparent .0005%, transparent .00095%),
        repeating-conic-gradient(#000 0%, transparent .00005%, transparent 0.00015%, transparent 0.0009%);
    animation: grain 0.5s steps(1) infinite;
    filter: drop-shadow(0px 0px 1px black);
}

/* Vignette Effect on Hero Section */
.hero-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 0 0 20vmin 0vmin rgba(0, 0, 0, 0.8) inset,
                0 0 3vmin 0.5vmin rgba(0, 0, 0, 0.6) inset,
                0 0 1vmin 1vmin rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Disable vignette on mobile for image visibility */
@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }
}

/* Grain Animation */
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 1%); }
    30% { transform: translate(-2%, -2%); }
    40% { transform: translate(3%, 3%); }
    50% { transform: translate(-3%, -3%); }
    60% { transform: translate(4%, 4%); }
    70% { transform: translate(-4%, -4%); }
    80% { transform: translate(2%, 2%); }
    90% { transform: translate(-3%, -3%); }
}

/* Film Scratch Animation */
@keyframes film-scratch {
    0%, 100% { transform: translateX(0); opacity: 0.25; }
    10% { transform: translateX(-1%); }
    20% { transform: translateX(1%); }
    30% { transform: translateX(-2%); opacity: 0.35; }
    40% { transform: translateX(3%); }
    50% { transform: translateX(-3%); opacity: 0.25; }
    60% { transform: translateX(8%); }
    70% { transform: translateX(-3%); }
    80% { transform: translateX(10%); opacity: 0.15; }
    90% { transform: translateX(-2%); }
}

/* Effect Scratch Animation */
@keyframes effect-scratch {
    0% { transform: translateX(0); opacity: 0.3; }
    10% { transform: translateX(-1%); }
    20% { transform: translateX(1%); }
    30% { transform: translateX(-2%); }
    40% { transform: translateX(3%); }
    50% { transform: translateX(-3%); opacity: 0.2; }
    60% { transform: translateX(8%); }
    70% { transform: translateX(-3%); }
    80% { transform: translateX(10%); opacity: 0.15; }
    90% { transform: translateX(20%); }
    100% { transform: translateX(30%); }
}

/* Disable old film effect on mobile for performance */
@media (max-width: 768px) {
    .film::after,
    .effect::after,
    .grain::after {
        animation: none;
        opacity: 0.1;
    }
}

/* ========================================
   HERO SECTION - CINEMA DRAMATIC STYLE
   ======================================== */

/* Gold Color Palette */
.text-gold {
    color: #F4B942;
}

.bg-gold {
    background-color: #F4B942;
}

.bg-gold-light {
    background-color: #F7CA6D;
}

.border-gold {
    border-color: #F4B942;
}

/* Hero Dark Side - Left Side Pure Black */
.hero-dark-side {
    background: linear-gradient(to right, #000000 0%, #000000 45%, transparent 100%);
}

/* Hero Image Side - Right Side with Frame Effect */
.hero-image-side {
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 40% 100%);
}

/* Keyhole/Frame Effect for Image Side */
.hero-image-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 70% 50%, transparent 50%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Film Reel Decoration */
.film-reel-decoration {
    background:
        /* Sprocket holes */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 30px,
            rgba(0, 0, 0, 0.4) 30px,
            rgba(0, 0, 0, 0.4) 40px,
            transparent 40px,
            transparent 50px
        ),
        /* Film strip edges */
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(40, 40, 40, 0.4) 20%,
            transparent 40%
        );
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

/* Film Reel Sprocket Holes (Decorative) */
.film-reel-decoration::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 16px;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 32px,
        rgba(0, 0, 0, 0.8) 32px,
        rgba(0, 0, 0, 0.8) 36px
    );
    border-radius: 8px;
}

.film-reel-decoration::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 0;
    width: 16px;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 32px,
        rgba(0, 0, 0, 0.8) 32px,
        rgba(0, 0, 0, 0.8) 36px
    );
    border-radius: 8px;
}

/* Enhance vignette for dramatic look */
.hero-section::before {
    box-shadow:
        0 0 25vmin 2vmin rgba(0, 0, 0, 0.9) inset,
        0 0 5vmin 1vmin rgba(0, 0, 0, 0.7) inset,
        0 0 2vmin 1.5vmin rgba(0, 0, 0, 0.5);
}

/* Typography Enhancements for Gold Text */
.text-gold {
    text-shadow:
        0 2px 10px rgba(244, 185, 66, 0.5),
        0 0 20px rgba(244, 185, 66, 0.3);
}

/* White Text Glow for Better Readability */
.hero-section h1 span:not(.text-gold) {
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.8),
        0 4px 40px rgba(0, 0, 0, 0.6);
}

/* CTA Button Glow Effect */
.bg-gold {
    box-shadow:
        0 4px 15px rgba(244, 185, 66, 0.4),
        0 0 20px rgba(244, 185, 66, 0.2);
}

.bg-gold:hover {
    box-shadow:
        0 6px 25px rgba(244, 185, 66, 0.6),
        0 0 30px rgba(244, 185, 66, 0.3);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-dark-side {
        background: linear-gradient(to right, #000000 0%, #000000 40%, transparent 100%);
    }

    .hero-image-side {
        clip-path: polygon(35% 0, 100% 0, 100% 100%, 35% 100%);
    }

    .hero-image-side::before {
        background: radial-gradient(ellipse 70% 80% at 70% 50%, transparent 50%, rgba(0, 0, 0, 0.9) 100%);
    }
}

/* Tablet-specific text adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 .text-gold {
        font-size: 2rem !important;
    }

    .hero-section h1 span:not(.text-gold) {
        font-size: 2.5rem !important;
    }

    .hero-section p {
        font-size: 0.85rem !important;
    }

    .hero-section a {
        padding: 0.625rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* Medium Desktop (Laptop standard like 1366x768) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-section h1 .text-gold {
        font-size: 2.25rem !important;
    }

    .hero-section h1 span:not(.text-gold) {
        font-size: 2.75rem !important;
    }

    .hero-section p {
        font-size: 0.9rem !important;
    }

    .hero-section a {
        padding: 0.625rem 1.5rem !important;
        font-size: 0.875rem !important;
        white-space: nowrap;
    }
}

/* Large Desktop */
@media (min-width: 1441px) {
    .hero-section h1 .text-gold {
        font-size: 2.5rem !important;
    }

    .hero-section h1 span:not(.text-gold) {
        font-size: 3rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
    }

    .hero-section a {
        padding: 0.75rem 1.75rem !important;
        font-size: 0.95rem !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-dark-side {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.55) 100%);
        z-index: 3; /* Above image - darker for subtle dome sensation */
    }

    .hero-image-side {
        clip-path: none;
        opacity: 1.0; /* Full visibility */
        z-index: 2; /* Below dark gradient */
    }

    .hero-image-side::before {
        background: none;
    }

    /* Make background image more visible on mobile */
    .hero-image-side img {
        object-position: center center; /* Perfect framing for baitul-maqdis.png */
        filter: brightness(0.4) contrast(1.05) saturate(1.0); /* Much darker - subtle dome sensation */
        transform: scale(1); /* No zoom - image already perfectly framed */
    }

    .film-reel-decoration {
        display: none;
    }

    /* Adjust text sizing for mobile - reduced proportions */
    .hero-section h1 .text-gold {
        font-size: 1.5rem !important; /* Further reduced */
        text-shadow: 0 3px 20px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
    }

    .hero-section h1 span:not(.text-gold) {
        font-size: 2rem !important; /* Further reduced */
        text-shadow: 0 3px 25px rgba(0, 0, 0, 1), 0 5px 45px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1);
    }

    /* Adjust subtitle sizing for mobile */
    .hero-section p {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 1), 0 3px 25px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
    }

    /* Adjust button sizing for mobile */
    .hero-section a {
        padding: 0.625rem 1.25rem !important; /* Further reduced */
        font-size: 0.8rem !important; /* Further reduced */
    }
}
