/*
 Theme Name:   Arde
 Theme URI:    https://elementor.com/
 Description:  Tema Arde Club.
 Author:       Norman Reyes
 Author URI:   https://customcomunicacion.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  arde-child
 */

/* Tus personalizaciones de CSS empiezan debajo de esta línea */
/* Inter Thin (Peso 100) - Para el uso "Inter Medium 1" si buscas un estilo muy fino */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Inter Regular (Peso 400) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Inter Medium (Peso 500) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Inter Semi Bold (Peso 600) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Inter Bold (Peso 700) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Inter Bold Italic (Peso 700 Italic) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Inter Extra Bold (Peso 800) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_28pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Inter Black (Peso 900) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_28pt-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
/* Aumentamos la especificidad anteponiendo html */
html body {
    font-family: 'Inter', sans-serif !important;
    color: white; /* Ajustado al diseño nocturno de ARDE */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Aseguramos que los encabezados también usen Inter */
html h1, html h2, html h3, html h4, html h5, html h6 {
    font-family: 'Inter', sans-serif;
}

/* Clases específicas para tu contenido */
.text-hero-title { font-weight: 600; } /* Semi Bold */
.text-section-header { font-weight: 700; } /* Bold */
.text-event-title { font-weight: 800; } /* Extra Bold */
.text-body-main { font-weight: 400; } /* Regular */
.text-footer-logo { font-weight: 900; } /* Black */
.text-accent-italic { font-weight: 700; font-style: italic; } /* Bold Italic */
.text-subtle { font-weight: 500; } /* Medium */

body a:hover, .text-primary-color {
	color: #ffe906;
}
.text-neon {
    color: #ffe906;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5), 0 0 10px rgba(212, 175, 55, 0.3);
}

.border-neon {
    border-color: #ffe906;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.hero-main {
	background-image:url('https://ardeclub.com/wp-content/uploads/2026/05/banner-hero.webp');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.arde-bg-radial {
	background: radial-gradient(45.09% 40.09% at 50% 42.93%, #eb5c36 0%, rgb(0, 0, 0) 100%), #000;
}
.arde-mid-banner {
	background-image: url('https://ardeclub.com/wp-content/uploads/2026/05/arde-mid-banner.webp');
	background-repeat: no-repeat;
	background-size: cover;
	min-height:640px;
}
.arde-join-banner {
	background-image: url('https://ardeclub.com/wp-content/uploads/2026/05/join-the-club.webp');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

footer .arde-newsletter .arde-input-newsletter {
	--tw-border-opacity: 1;
  	border-color: rgb(235 92 54 / var(--tw-border-opacity, 1));
	border-top-left-radius: 1.5rem;
	border-bottom-left-radius: 1.5rem;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
footer .arde-newsletter .arde-submit-newsletter {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* ==========================================================================
   Estilos Base para el Editor de Bloques (Gutenberg)
   ========================================================================== */
#content {
	padding: 2rem;
}
/* Contenedor principal del contenido */
.entry-content {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #374151; /* gray-700 */
    line-height: 1.75;
    font-size: 1.125rem; /* 18px para mejor legibilidad */
}

/* Títulos y Encabezados */
.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff; /* gray-900 */
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.wp-block-heading {
    color: #ffffff; /* gray-800 */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2.wp-block-heading { font-size: 2rem; }
h3.wp-block-heading { font-size: 1.5rem; }
h4.wp-block-heading { font-size: 1.25rem; }

/* Párrafos */
.wp-block-paragraph {
    margin-bottom: 1.5rem;
}

/* Listas */
.wp-block-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

ul.wp-block-list { list-style-type: disc; }
ol.wp-block-list { list-style-type: decimal; }

.wp-block-list li {
    margin-bottom: 0.5rem;
}

/* Citas (Blockquote) */
.wp-block-quote {
    border-left: 4px solid #6366f1; /* indigo-500 */
    background-color: #f3f4f6; /* gray-100 */
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #4b5563; /* gray-600 */
}

.wp-block-quote p {
    margin-bottom: 0;
}

/* Tablas */
.wp-block-table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 1rem;
    border: 1px solid #e5e7eb; /* gray-200 */
    text-align: left;
}

.wp-block-table th {
    background-color: #f9fafb; /* gray-50 */
    font-weight: 600;
}

/* Imágenes */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: auto;
    max-width: 100%;
}

.wp-block-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280; /* gray-500 */
    margin-top: 0.5rem;
}

/* Botones de Gutenberg */
.wp-block-buttons {
    margin: 2rem 0;
}

.wp-block-button__link {
    background-color: #4f46e5; /* indigo-600 */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem; /* rounded-md */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #4338ca; /* indigo-700 */
}
/*NUEVO CSS CARRUSEL*/
/* Carrusel 3D - Optimizado para ARDE */
.carousel-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 650px;
    position: relative;
    perspective: 1200px;
    overflow: hidden; /* Evita cualquier desbordamiento accidental */
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item {
    position: absolute;
    width: 420px;
    height: 560px;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ESTADOS EN ESCRITORIO --- */
.carousel-item.active {
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 5;
    opacity: 1;
    filter: brightness(1);
}

.carousel-item.next {
    transform: translateX(280px) scale(0.82) rotateY(-18deg);
    z-index: 4;
    opacity: 0.85;
    filter: brightness(0.75);
}

.carousel-item.prev {
    transform: translateX(-280px) scale(0.82) rotateY(18deg);
    z-index: 4;
    opacity: 0.85;
    filter: brightness(0.75);
}

.carousel-item.next-2 {
    transform: translateX(500px) scale(0.65) rotateY(-25deg);
    z-index: 3;
    opacity: 0.45;
    filter: brightness(0.5);
}

.carousel-item.prev-2 {
    transform: translateX(-500px) scale(0.65) rotateY(25deg);
    z-index: 3;
    opacity: 0.45;
    filter: brightness(0.5);
}

.carousel-item.hidden {
    transform: scale(0.4);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Controles de Navegación */
.controls {
    position: absolute;
    width: 100%;
    top: 93%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.controls button {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s ease;
    pointer-events: auto;
}

.controls button:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

#content .wc-block-components-button, #content .wp-element-button {
	background-color: #eb5c36;
	color:#fff;
	border-radius: 0;
	width:100%;
	min-height: 48px;
	border-color:#eb5c36 !important;
}
.woocommerce-cart .entry-title {
	display: none;
}
.woocommerce-checkout .entry-title, .woocommerce-account .entry-title, .page-id-63 .entry-title {
	font-size: 1.75em;
	padding-top:1em;
	padding-left: 0;
	padding-inline-start: 0 !important;
}
.woocommerce-account .entry-title, .page-id-63 .entry-title {
	padding-bottom: 1em;
}
.alignwide {
	margin-inline:unset !important;
}
/* --- ADAPTACIÓN TABLETS --- */
@media (max-width: 1100px) {
    .carousel-wrapper { height: 550px; }
    .carousel-item { width: 320px; height: 440px; }
    .carousel-item.next { transform: translateX(200px) scale(0.8); rotateY(-12deg); }
    .carousel-item.prev { transform: translateX(-200px) scale(0.8); rotateY(12deg); }
    .carousel-item.next-2 { transform: translateX(360px) scale(0.6); rotateY(-18deg); }
    .carousel-item.prev-2 { transform: translateX(-360px) scale(0.6); rotateY(18deg); }
}

/* --- SOLUCIÓN CRÍTICA MÓVILES (Smartphones) --- */
@media (max-width: 768px) {
	.wp-block-woocommerce-checkout {
		padding-top:0;
	}
	.alignwide {
		margin-inline:unset !important;
	}
	.arde-mid-banner {
		height:30vh;
		min-height: unset;
	}
	.hero-main {
		max-height: calc(100vh - 104px);
	}
	.arde-hero-icon svg {
		max-width: 40px;
	}
    .carousel-wrapper {
        height: 540px; /* Reducimos altura para pantallas compactas */
    }

    .carousel-item {
        width: 70vw; /* El ítem activo se adapta al ancho de la pantalla del móvil */
        max-width: 280px;
        height: 380px;
        border-radius: 20px;
    }

    /* En móviles suavizamos el 3D aplanándolo ligeramente para que no colapse lateralmente */
    .carousel-item.active {
        transform: translateX(0) scale(1);
        z-index: 5;
    }

    .carousel-item.next {
        transform: translateX(32%) scale(0.85); /* Desplazamiento porcentual seguro */
        z-index: 4;
        opacity: 0.6;
        filter: brightness(0.7);
    }

    .carousel-item.prev {
        transform: translateX(-32%) scale(0.85);
        z-index: 4;
        opacity: 0.6;
        filter: brightness(0.7);
    }

    /* Ocultamos el segundo nivel en móviles para evitar colisiones visuales */
    .carousel-item.next-2,
    .carousel-item.prev-2 {
        transform: translateX(0) scale(0.5);
        opacity: 0;
        z-index: 1;
        pointer-events: none;
    }

    /* Ocultamos flechas en móvil para dar prioridad al gesto táctil 
    .controls {
        display: none;
    }*/
}

/*FIN carrusel 3D*/

[type="button"]:focus, [type="button"]:hover, [type="submit"]:focus, [type="submit"]:hover, button:focus, button:hover {
	background-color: #fff !important;
}