/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importación de fuentes personalizadas */
@font-face {
    font-family: 'Agdasima-Bold';
    src: url('Agdasima-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agdasima-Regular';
    src: url('Agdasima-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IngeUpright';
    src: url('ingeupright.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    overflow-x: hidden;
}

/* Sección Hero - Primer bloque */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to bottom, #860006 0%, #8b0007 30%, #8d0007 60%, #bc0009 85%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* Imagen principal de cabecera (1083x900px) */
.hero-main-image {
    width: 100%;
    max-width: 783px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    /* Estado inicial para animación - oculta y desplazada */
    opacity: 0.0;
    transform: translateY(80px);
}

/* Imagen secundaria - Logo centrado sobre la imagen principal */
.hero-secondary-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(80px);
    width: 100%;
    max-width: 783px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    /* Estado inicial para animación - oculta */
    opacity: 0.0;
}

/* Responsive Design */
/* Tablets y pantallas medianas */
@media (max-width: 1200px) {
    .hero-section {
        /* El degradado CSS se mantiene perfecto en todas las resoluciones */
        background: linear-gradient(to bottom, #860006 0%, #8b0007 30%, #8d0007 60%, #bc0009 85%) !important;
    }
    
    .hero-main-image {
        max-width: 95%;
    }
    
    .hero-secondary-image {
        max-width: 90%;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-main-image {
        max-width: 95%;
    }
    
    .hero-secondary-image {
        top: 50%;
        max-width: 90%;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .hero-section {
        min-height: 85vh;
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero-main-image {
        max-width: 98%;
    }
    
    .hero-secondary-image {
        max-width: 95%;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 320px) {
    .hero-main-image {
        max-width: 95%;
    }
    
    .hero-secondary-image {
        max-width: 90%;
    }
}

/* ===============================
   BLOQUE DECORATIVO CON LÍNEAS
   =============================== */

.decorative-text-section {
    width: 100%;
    background-color: white;
    padding: 100px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
}

.decorative-line {
    flex: 1;
    height: 1px;
    background-color: #bd101b;
    margin: 0 60px;
}

.decorative-text {
    font-family: 'IngeUpright', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: #bd101b;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
}

/* Responsive para bloque decorativo */
@media (max-width: 768px) {
    .decorative-text-section {
        padding: 0px 0 15px 0;
    }
    
    .decorative-container {
        padding: 70px 20px;
    }
    
    .decorative-line {
        margin: 0 20px;
    }
    
    .decorative-text {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .decorative-text-section {
        padding: 0px 0 10px 0;
    }
    
    .decorative-container {
        padding: 50px 20px;
    }
    
    .decorative-line {
        margin: 0 15px;
        height: 1.5px;
    }
    
    .decorative-text {
        font-size: 2.8rem;
        letter-spacing: 0.5px;
    }
}

/* ===============================
   NUEVOS BLOQUES DE CONTENIDO
   =============================== */

/* Secciones de texto */
.text-section {
    width: 100%;
    background-color: white;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Texto con fuente Bold */
.text-bold {
    font-family: 'Agdasima-Bold', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #bd101b;
    line-height: 1.2;
    margin: 0;
}

/* Texto con fuente Regular */
.text-regular {
    font-family: 'Agdasima-Regular', Arial, sans-serif;
    font-size: 1.44rem;
    font-weight: normal;
    color: #bd101b;
    line-height: 1.4;
    margin: 0;
}

/* Sección de imagen central */
.image-section {
    width: 100%;
    background-color: white;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.central-image {
    width: 100%;
    max-width: 235px;
    height: auto;
    object-fit: contain;
}

/* Responsive para nuevos bloques */
@media (max-width: 768px) {
    .text-section {
        padding: 50px 0;
    }
    
    .text-container {
        padding: 0 15px;
    }
    
    .text-bold {
        font-size: 2rem;
    }
    
    .text-bold br {
        display: none !important;
    }    

    .text-regular {
        font-size: 1.3rem;
    }
    
    .text-regular br {
        display: none !important;
    }    

    .image-section {
        padding: 30px 0;
    }
    
    .image-container {
        padding: 0 15px;
    }
    
    .central-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .text-section {
        padding: 40px 0;
    }
    
    .text-container {
        padding: 0 10px;
    }
    
    .text-bold {
        font-size: 1.6rem;
    }

    .text-bold br {
        display: none !important;
    }    
    
    .text-regular {
        font-size: 1.2rem;
    }

    .text-regular br {
        display: none !important;
    }        
    
    .image-section {
        padding: 25px 0;
    }
    
    .central-image {
        max-width: 45%;
    }
}

/* ===============================
   SECCIÓN DISCOGRAFÍA COMPLETA
   =============================== */

.discography-section {
    width: 100%;
    background-color: white;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.discography-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reutilizamos los estilos del título decorativo existente */
.discography-section .decorative-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 50px auto 40px auto;
    padding: 0 40px;
}

.discography-section .decorative-line {
    flex: 1;
    height: 1px;
    background-color: #bd101b;
    margin: 0 60px;
}

.discography-section .decorative-text {
    font-family: 'IngeUpright', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: #bd101b;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
}

/* Contenedor del nuevo iframe */
.discography-shopify {
    width: 100%;
    margin-bottom: 40px;
}

/* Botón Ver discografía */
.discography-button-container {
    text-align: center;
}

.discography-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #bd101b;
    border: 2px solid #bd101b;
    text-decoration: none;
    font-family: 'Agdasima-Regular', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discography-button:hover {
    background-color: #bd101b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(189, 16, 27, 0.3);
}

/* Responsive para sección discografía */
@media (max-width: 768px) {
    .discography-section {
        padding: 50px 0;
    }
    
    .discography-container {
        padding: 0 15px;
    }
    
    .discography-section .decorative-container {
        padding: 0 30px;
        margin-bottom: 30px;
    }
    
    .discography-section .decorative-line {
        margin: 0 20px;
    }
    
    .discography-section .decorative-text {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .discography-shopify {
        margin-bottom: 30px;
    }
    
    .discography-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .discography-section {
        padding: 40px 0;
    }
    
    .discography-container {
        padding: 0 10px;
    }
    
    .discography-section .decorative-container {
        padding: 0 20px;
        margin-bottom: 25px;
    }
    
    .discography-section .decorative-line {
        margin: 0 15px;
        height: 1.5px;
    }
    
    .discography-section .decorative-text {
        font-size: 2.8rem;
        letter-spacing: 0.5px;
    }
    
    .discography-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}


/* ===============================
   SECCIÓN PRE-FOOTER
   =============================== */

.pre-footer-section {
    width: 100%;
    background-color: #e90003;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pre-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0;
    text-align: center;
	line-height: 0;
}

.pre-footer-link {
    display: inline-block;
	line-height: 0;
	margin: 0;
	padding:0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pre-footer-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.pre-footer-image {
    width: 100%;
    max-width: 1200px; /* Para la imagen horizontal de desktop */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
	display: block;
	margin:0;
	padding: 0;
	vertical-align: bottom;
}

/* Responsive para sección pre-footer */
@media (max-width: 768px) {
    .pre-footer-section {
        padding: 0px 0;
    }
    
    .pre-footer-container {
        padding: 0 15px;
    }
    
    .pre-footer-image {
        max-width: 590px; /* Para la imagen vertical de móvil */
    }
}

@media (max-width: 480px) {
    .pre-footer-section {
        padding: 0px 0;
    }
    
    .pre-footer-container {
        padding: 0 10px;
    }
    
    .pre-footer-image {
        max-width: 95%;
    }
}

/* ===============================
   SEGUNDO BLOQUE - TIENDA SHOPIFY
   =============================== */

.shopify-section {
    width: 100%;
    min-height: 30vh;
    background-color: white;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.shopify-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Personalización adicional para el widget de Shopify */
#collection-component-1758188896012 {
    width: 100%;
    min-height: 400px;
}

/* Responsive para el bloque Shopify */
@media (max-width: 768px) {
    .shopify-section {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .shopify-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .shopify-section {
        padding: 40px 0;
    }
    
    .shopify-container {
        padding: 0 10px;
    }
}



/* ===============================
   TERCER BLOQUE - FOOTER
   =============================== */

.footer-section {
    width: 100%;
    background-color: #bd101b;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Logos de plataformas musicales */
.music-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-logo {
    height: auto;
    width: auto;
    max-height: 27px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.platform-logo:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Iconos de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Copyright */
.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: white;
    font-size: 14px;
    margin: 0;
    font-weight: 300;
}

/* Enlaces legales */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 35px 0;
    }
    
    .footer-container {
        gap: 25px;
        padding: 0 15px;
    }
    
    .music-platforms {
        gap: 30px;
    }
    
    .platform-logo {
        max-height: 24px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .footer-links {
        gap: 20px;
        text-align: center;
    }
    
    .footer-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 0;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .music-platforms {
        gap: 20px;
    }
    
    .platform-logo {
        max-height: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Sección de productos destacados */
.featured-products-section {
    width: 100%;
    background-color: white;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-products-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Cada producto individual */
.single-product-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
}

/* Contenedor de imagen con zoom */
.product-image-wrapper {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 8px;
}

.zoomable-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-image-wrapper:hover .zoomable-image {
    transform: scale(1.1);
}

/* Contenedor del botón de Shopify */
.product-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Responsive para tablets y móviles */
@media (max-width: 768px) {
    .featured-products-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .single-product-item {
        max-width: 400px;
        width: 100%;
    }
    
    .product-image-wrapper {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .featured-products-section {
        padding: 40px 0;
    }
    
    .featured-products-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .single-product-item {
        max-width: 350px;
    }
}

/* ===============================
   MODAL DE ZOOM PARA PRODUCTOS
   =============================== */

.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-modal.active {
    display: flex;
    opacity: 1;
}

.zoom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.zoom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-modal-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.zoom-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s ease, opacity 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

.zoom-modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    opacity: 1;
}

@media (max-width: 768px) {
    .zoom-modal-content {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .zoom-modal-image-container {
        width: 100%;
        height: 100%;
        overflow: auto;
        cursor: grab;
        -webkit-overflow-scrolling: touch;
    }
    
    .zoom-modal-image-container:active {
        cursor: grabbing;
    }
    
    .zoom-modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
    }
    
    .zoom-modal-image {
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
        min-width: 100vw;
        min-height: 100vh;
        object-fit: contain;
        border-radius: 0;
        touch-action: none;
    }	
}


/* Contenedor principal con ancho máximo de 1200px */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sección de la foto */
.photo-section {
    padding: 40px 0;
    margin-block-end: 60px;
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
}

/* Contenedor de la foto - SOLO UNA VEZ */
.photo-container {
    width: 490px;
    height: 490px;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 10px 25px rgba(189, 16, 27, 0.3);*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Estilo de la foto */
.featured-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contenedor del botón */
.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px; /* Espacio entre la foto y el botón */
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .photo-section {
        padding: 30px 0;
    }
    
    .photo-container {
        width: 400px;  /* Reducida para tablets */
        height: 400px; /* Mantiene relación cuadrada */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .photo-section {
        padding: 20px 0;
    }
    
    .photo-container {
        width: 320px;  /* IMPORTANTE: quitar max-width y usar width */
        height: 320px; /* Mantiene relación cuadrada */
    }
    
    .button-container {
        margin-top: 25px; /* Un poco menos de espacio en móviles */
    }
}

@media (max-width: 360px) {
    .photo-container {
        width: 280px;  /* Más pequeña para móviles muy pequeños */
        height: 280px; /* Mantiene relación cuadrada */
    }
}