/*
Theme Name: 60s Diner
Theme URI: http://example.com/diner-60s/
Description: A 60s American Diner style theme based on Twenty Twenty-Four. Features neon lights, retro colors, and Grease movie vibes.
Author: Antigravity AI
Template: twentytwentyfour
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Outfit:wght@300;400;700&display=swap');

/* Basic Retro Diner Styling */
body {
    background-color: #111111;
    background-image: url('/wp-content/themes/diner-60s/assets/images/green_brick_wall.png');
    background-size: cover; /* Estirado */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Outfit', sans-serif;
    color: #fcf9f2;
    font-size: 1.3rem; /* Aumentado para mejor legibilidad */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pacifico', cursive;
    color: #e50914; /* Cherry Red */
    text-shadow: 2px 2px 0px #000, 4px 4px 0px #222;
}

h2 { font-size: 3.5rem; }
h3 { font-size: 2.5rem; }

/* Rounded Booths & Elements */
.wp-block-group, .wp-block-columns, .wp-block-media-text {
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
    background-color: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    overflow: hidden;
}

/* Force transparency on site wrappers so the body background shows through */
.wp-site-blocks, header, footer, .wp-block-template-part {
    background-color: transparent !important;
}

/* Neon Glow effects for buttons */
.wp-block-button__link {
    background-color: #e50914 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 10px #e50914, 0 0 20px #e50914, 0 0 40px #e50914;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #ff2a2a !important;
    box-shadow: 0 0 15px #ff2a2a, 0 0 30px #ff2a2a, 0 0 60px #ff2a2a;
    transform: scale(1.05);
}

/* Checkerboard pattern for specific sections */
.has-checkerboard-background {
    background-image: repeating-linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000), repeating-linear-gradient(45deg, #000 25%, #fff 25%, #fff 75%, #000 75%, #000);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
    border-radius: 0;
    border: none;
}

/* Native Gutenberg Carousel via CSS Scroll Snap */
.wp-block-columns.neon-native-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: #6dd5ed transparent;
    -webkit-overflow-scrolling: touch;
}

.wp-block-columns.neon-native-carousel > .wp-block-column {
    flex: 0 0 85% !important;
    max-width: 400px;
    scroll-snap-align: center;
    background: rgba(0,0,0,0.5); /* 50% negro */
    border-radius: 20px;
    border: 2px solid #165c65;
    padding: 20px;
    box-sizing: border-box;
}

.wp-block-columns.neon-native-carousel::-webkit-scrollbar {
    height: 10px;
}
.wp-block-columns.neon-native-carousel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
}
.wp-block-columns.neon-native-carousel::-webkit-scrollbar-thumb {
    background-color: #e50914;
    border-radius: 10px;
    border: 2px solid #111;
}

/* Make black modules highly transparent to show bricks */
.has-vinyl-black-background-color {
    background-color: rgba(100, 100, 100, 0.3) !important; /* Gris al 30% */
}

/* Forzar que los módulos principales (salvo el hero slider) ocupen el 90% del ancho */
.wp-site-blocks > .wp-block-group:not(.neon-hero-carousel),
footer .wp-block-group {
    width: 90vw !important;
    max-width: 90vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Native Gutenberg HERO Carousel */
.neon-hero-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Forzar ancho completo rompiendo el contenedor si es necesario */
    
    /* Evitar que el slider emborrone los ladrillos del fondo */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Hide scrollbar in WebKit */
.neon-hero-carousel::-webkit-scrollbar {
    display: none;
}

.neon-hero-carousel > .wp-block-cover,
.neon-hero-carousel > div {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    height: 90vh !important;
    min-height: 80vh !important;
    scroll-snap-align: center;
    border-radius: 0 !important;
    margin: 0 !important;
    position: relative; /* Asegura posicionamiento correcto */
}

/* Nav arrows */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #e50914;
    border: 2px solid #e50914;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: #e50914;
    color: white;
    box-shadow: 0 0 20px #e50914;
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
/* Galería de Videos Diner */
.video-column {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
}

.video-column:hover {
    transform: scale(1.05); /* Zoom sutil en hover, no oculta controles */
    z-index: 10;
}

.diner-video {
    width: 100%;
    aspect-ratio: 16 / 9; /* Mantener proporción horizontal del video */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
    border: 3px solid #165c65;
    background-color: #000;
}

/* Carrusel Nativos de Videos */
.video-native-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.video-native-carousel::-webkit-scrollbar {
    display: none;
}
.video-native-carousel > .wp-block-column {
    scroll-snap-align: center;
}
