/* ===== COLAB-DETAILS CSS - ESTRUCTURA SEMÁNTICA ===== */
/* Nota: Navbar y Footer están en common.css */

/* CSS Variables */
:root {
    --havana-red: #D42E12;
    --havana-red-dark: #6E1E11;
    --havana-gold: #BB9C4B;
    --havana-gray: #D9D9D9;
    --havana-black: #000000;
    --havana-white: #FFFFFF;
    --font-heading: 'Druk Text', Arial, sans-serif;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../assets/Fondo Raksha 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 60px;
    overflow: hidden;
}

.back-button {
    position: absolute;
    top: 180px;
    left: 10%;
    z-index: 100;
}

.back-button-content {
    background-color: black;
    padding: 0;
    border-radius: 0;
    display: inline-block;
}

.back-button-text {
    color: white;
    font-family: 'Druk Text', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.product-title-container {
    position: relative;
    z-index: 10;
    width: 80%;
    margin: 0 auto;
    margin-top: 120px;
    margin-bottom: 80px;
}

.product-title {
    font-size: 64px;
    font-weight: 900;
    color: white;
    margin-bottom: 0;
    line-height: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-title-havana-club {
    font-family: 'Druk Text', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 85px !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    display: inline-block;
    line-height: 1;
    background-color: var(--havana-red);
    color: var(--havana-white);
    padding: 0;
    margin: 0;
    width: fit-content;
}

.product-title-7-anos {
    font-family: 'Druk Text', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-stretch: expanded !important;
    font-size: 85px !important;
    letter-spacing: 0.05em !important;
    display: inline-block;
    line-height: 1;
    background-color: var(--havana-red);
    color: var(--havana-white);
    width: fit-content;
    padding: 0;
    margin: 0;
}

.red-content-container {
    width: 80%;
    background-color: var(--havana-white);
    padding: 40px;
    display: flex;
    align-items: stretch;
    height: auto;
    margin: 0 auto;
    margin-bottom: 80px;
    overflow: visible;
    position: relative;
}

.description-section {
    flex: 0 0 40%;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.product-description {
    color: var(--havana-black);
    font-size: 32px;
    line-height: 1;
    text-align: left;
    margin: 0;
    max-width: 100%;
}

.bottle-section {
    flex: 0 0 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bottle-section .center-bottle-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.video-section {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0 40px;
    box-sizing: border-box;
}

.video-embed-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: stretch;
}

.embedded-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 8px;
    min-height: 300px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.play-button-circle {
    width: 80px;
    height: 80px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button-circle:hover {
    transform: scale(1.1);
}

.play-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ===== RAKSHA STORY SECTION ===== */
.raksha-story-section {
    background: var(--havana-white);
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 5;
}

.raksha-main-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--havana-red);
    font-size: 85px;
    font-weight: 900;
    z-index: 10;
    margin: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    font-style: normal !important;
    letter-spacing: 0.15em;
}

.raksha-story-container {
    display: flex;
    align-items: stretch;
}

.story-image-column {
    flex: 0 0 50%;
    position: relative;
    background: var(--havana-white);
    overflow: hidden;
}

.bottle-zoom-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zoomed-bottle-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.4);
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.zoomed-bottle-img.product-image-super-scale {
    transform: scale(2.1);
    opacity: 0.6;
}

.bottle-zoom-container:hover .zoomed-bottle-img {
    transform: scale(2.1);
    /* Efecto sutil al pasar el mouse */
}

.bottle-zoom-container:hover .zoomed-bottle-img.product-image-super-scale {
    transform: scale(2.5);
}

.story-text-column {
    flex: 0 0 50%;
    padding: 120px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background-color: var(--havana-white);
}

.story-text-column.full-width {
    flex: 0 0 100%;
    padding: 120px 15%;
}

.story-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story-title {
    color: var(--havana-red);
    font-size: 64px;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-heading);
}

.story-description {
    color: var(--havana-black);
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

/* ===== OTRAS COLABORACIONES ===== */
.other-collaborations {
    padding: 100px 5%;
    background: var(--havana-white);
}

.other-colabs-title {
    color: var(--havana-red);
    font-size: 85px;
    font-weight: 900;
    text-align: left;
    margin-bottom: 60px;
    line-height: 1;
    text-transform: uppercase;
}

.other-colabs-title .druk-wide {
    font-family: 'Druk Wide', sans-serif !important;
}

.other-colabs-title .druk-text {
    font-family: 'Druk Text', sans-serif !important;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 60px auto;
}

.collaboration-card {
    display: flex;
    flex-direction: column;
    background: var(--havana-white);
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.collaboration-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease;
}

.collaboration-card-link:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.card-content {
    background: var(--havana-black);
    padding: 20px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    color: var(--havana-white);
    font-family: 'Druk Text', sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-align: left;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.card-date {
    background: #D40032;
    padding: 8px 15px;
    margin: 0;
    width: fit-content;
    align-self: flex-start;
}

.card-date time {
    color: var(--havana-white);
    font-family: 'Druk Text', sans-serif;
    font-size: 32px;
    font-weight: 900;
}

.view-all-container {
    text-align: center;
    padding-top: 40px;
    position: relative;
}

.view-all-container::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--havana-black);
    z-index: 1;
}

.view-all-btn {
    background: var(--havana-black);
    color: var(--havana-white);
    padding: 0 60px;
    font-family: 'Druk Text', sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.view-all-btn:hover {
    background: #D40032;
}

/* ===== MENÚ LATERAL Y OVERLAY ===== */
/* Nota: Menú lateral y overlay están en common.css */

/* ===== DRINKS SECTION ===== */
.drinks-section {
    position: relative;
    padding: 0;
    background-image: url('https://cdn.builder.io/api/v1/image/assets/TEMP/adc1f12396e2b00676214475ecb5e26027b085d3?width=3840');
    background-size: cover;
    background-position: center;
    z-index: 60;
}

.drinks-container {
    width: 90%;
    margin: 0 auto;
    padding: 64px 40px;
}

.drinks-title {
    color: #FFFFFF;
    font-size: 85px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 64px;
}

/* === CAROUSEL LINEAL INFINITO === */
.css-carousel-demo-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 64px;
    z-index: 100;
    overflow: hidden;
}

.css-carousel-demo-container input[type=radio] {
    display: none;
}

.css-cards {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    padding-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    transition: transform 0.5s ease;
    transform: translateX(0);
    animation: scroll 20s linear infinite;
}

.css-cards:hover {
    animation-play-state: paused;
}

.css-card {
    position: relative;
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 18px;
    overflow: visible;
    background: transparent;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.css-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

.css-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: transparent;
    border-radius: 18px;
    filter: drop-shadow(10px 0 0 var(--havana-red)) drop-shadow(-10px 0 0 var(--havana-red)) drop-shadow(0 10px 0 var(--havana-red)) drop-shadow(0 -10px 0 var(--havana-red));
    flex-shrink: 0;
}

.cocktail-name {
    color: var(--havana-red);
    font-size: 64px;
    line-height: 1.2;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-top: 16px;
    text-align: center;
    font-family: var(--font-heading);
    position: relative;
    z-index: 5;
}

/* Animación infinita automática */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== RUMS CAROUSEL SECTION ===== */
.rums-carousel-section {
    padding: 20px 0;
    position: relative;
    background-color: var(--havana-red);
    z-index: 60;
}

.rums-carousel-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px 40px;
}

.rums-title {
    color: #FFFFFF;
    font-size: 85px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 64px;
}

.rums-carousel-wrapper {
    position: relative;
}

.carousel-container {
    overflow: visible;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 64px;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
}

.rum-item {
    text-align: center;
    flex-shrink: 0;
}

.rum-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--havana-red-dark);
    z-index: 1;
}

.rum-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: auto;
    max-height: 160%;
    object-fit: contain;
    z-index: 2;
}

.rum-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rum-brand {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
    color: var(--havana-gold);
    text-transform: uppercase;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.rum-name {
    font-size: 43px;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-heading);
}

.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.carousel-nav-button.prev {
    left: -30px;
}

.carousel-nav-button.next {
    right: -30px;
}

.carousel-nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .product-title-container {
        padding: 0 100px;
        max-width: 1400px;
    }

    .red-content-container {
        width: 85%;
        padding: 60px 30px;
        margin-bottom: 60px;
    }

    .flavor-profile-container {
        width: 85%;
        padding: 64px 30px;
    }

    .drinks-container {
        width: 85%;
        padding: 64px 30px;
    }

    .rums-carousel-container {
        width: 90%;
        padding: 64px 30px;
    }

    .flavor-profile-container {
        padding: 0 100px;
    }

    .drinks-container {
        padding: 0 80px;
    }

    .rums-carousel-container {
        padding: 0 100px;
    }
}

@media (max-width: 768px) {
    .row-view {
        padding: 15px 20px;
    }

    .product-title-container {
        margin: 1rem 0;
        padding: 0 40px;
    }

    .product-title {
        text-align: left;
        font-size: 60px;
    }

    .product-title-havana-club {
        font-size: 80px !important;
    }

    .product-title-7-anos {
        font-size: 36px !important;
    }

    .red-content-container {
        width: 90%;
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        min-height: auto;
        margin-bottom: 50px;
    }

    .product-description {
        text-align: center;
        font-size: 28px;
    }

    .description-section,
    .bottle-section,
    .video-section {
        flex: none;
        width: 100%;
    }

    .center-bottle-image {
        max-height: 300px;
        top: 150px;
    }

    .story-image-column {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .story-text-column {
        opacity: 0.8;
    }

    .gallery-carousel-title {
        font-size: 55px !important;
    }

    .card-description {
        line-height: 1 !important;
    }

    .video-embed-container {
        height: 200px;
    }

    .flavor-profile-container {
        width: 90%;
        padding: 40px 20px;
        flex-direction: column;
        padding: 0 40px;
        gap: 40px;
    }

    .flavor-profile-left {
        max-width: 100%;
    }

    .flavor-profile-bottle {
        margin: 0;
    }

    .flavor-icons {
        width: 100%;
        height: auto;
    }

    .drinks-container {
        width: 90%;
        padding: 40px 20px;
        padding: 0 40px;
    }

    .rums-carousel-container {
        width: 90%;
        padding: 40px 20px;
        padding: 0 40px;
    }

    .carousel-track {
        gap: 32px;
    }

    .rum-circle {
        width: 200px;
        height: 200px;
    }

    .collaborations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-main-container {
        flex-direction: column;
        gap: 40px;
    }

    .side-menu {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .product-title-container {
        padding: 0 20px;
    }

    .product-title {
        font-size: 48px;
    }

    .product-title-havana-club {
        font-size: 60px !important;
    }

    .product-title-7-anos {
        font-size: 28px !important;
    }

    .flavor-profile-title {
        font-size: 48px;
    }

    .collaborations-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Carousel Section */
.gallery-carousel-section {
    background-color: var(--havana-black);
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.gallery-carousel-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.gallery-carousel-title {
    color: var(--havana-red);
    font-size: 64px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.css-gallery-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.css-gallery-container input[type="radio"] {
    display: none;
}

.gallery-cards {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.gallery-card {
    position: absolute;
    width: 400px;
    height: 550px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateX(0) scale(0.6);
    z-index: 0;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Center Card (Active) */
#gallery-item-1:checked~.gallery-cards #gallery-card-1,
#gallery-item-2:checked~.gallery-cards #gallery-card-2,
#gallery-item-3:checked~.gallery-cards #gallery-card-3,
#gallery-item-4:checked~.gallery-cards #gallery-card-4,
#gallery-item-5:checked~.gallery-cards #gallery-card-5,
#gallery-item-6:checked~.gallery-cards #gallery-card-6 {
    opacity: 1;
    transform: translateX(0) scale(1.1);
    z-index: 10;
}

/* Side Cards (L1 / R1) */
#gallery-item-1:checked~.gallery-cards #gallery-card-2,
#gallery-item-2:checked~.gallery-cards #gallery-card-3,
#gallery-item-3:checked~.gallery-cards #gallery-card-4,
#gallery-item-4:checked~.gallery-cards #gallery-card-5,
#gallery-item-5:checked~.gallery-cards #gallery-card-6,
#gallery-item-6:checked~.gallery-cards #gallery-card-1 {
    opacity: 0.6;
    transform: translateX(300px) scale(0.85);
    z-index: 5;
}

#gallery-item-1:checked~.gallery-cards #gallery-card-6,
#gallery-item-2:checked~.gallery-cards #gallery-card-1,
#gallery-item-3:checked~.gallery-cards #gallery-card-2,
#gallery-item-4:checked~.gallery-cards #gallery-card-3,
#gallery-item-5:checked~.gallery-cards #gallery-card-4,
#gallery-item-6:checked~.gallery-cards #gallery-card-5 {
    opacity: 0.6;
    transform: translateX(-300px) scale(0.85);
    z-index: 5;
}

/* Outer Cards (L2 / R2) */
#gallery-item-1:checked~.gallery-cards #gallery-card-3,
#gallery-item-2:checked~.gallery-cards #gallery-card-4,
#gallery-item-3:checked~.gallery-cards #gallery-card-5,
#gallery-item-4:checked~.gallery-cards #gallery-card-6,
#gallery-item-5:checked~.gallery-cards #gallery-card-1,
#gallery-item-6:checked~.gallery-cards #gallery-card-2 {
    opacity: 0.3;
    transform: translateX(550px) scale(0.7);
    z-index: 2;
}

#gallery-item-1:checked~.gallery-cards #gallery-card-5,
#gallery-item-2:checked~.gallery-cards #gallery-card-6,
#gallery-item-3:checked~.gallery-cards #gallery-card-1,
#gallery-item-4:checked~.gallery-cards #gallery-card-2,
#gallery-item-5:checked~.gallery-cards #gallery-card-3,
#gallery-item-6:checked~.gallery-cards #gallery-card-4 {
    opacity: 0.3;
    transform: translateX(-550px) scale(0.7);
    z-index: 2;
}

/* Arrows Logic */
.gallery-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

.gallery-arrow {
    width: 50px;
    height: 50px;
    background: var(--havana-red);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

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

.gallery-arrow img {
    width: 24px;
    height: 24px;
}

/* Show correct arrows based on radio */
#gallery-item-1:checked~.gallery-arrows #prev-1,
#gallery-item-1:checked~.gallery-arrows #next-1,
#gallery-item-2:checked~.gallery-arrows #prev-2,
#gallery-item-2:checked~.gallery-arrows #next-2,
#gallery-item-3:checked~.gallery-arrows #prev-3,
#gallery-item-3:checked~.gallery-arrows #next-3,
#gallery-item-4:checked~.gallery-arrows #prev-4,
#gallery-item-4:checked~.gallery-arrows #next-4,
#gallery-item-5:checked~.gallery-arrows #prev-5,
#gallery-item-5:checked~.gallery-arrows #next-5,
#gallery-item-6:checked~.gallery-arrows #prev-6,
#gallery-item-6:checked~.gallery-arrows #next-6 {
    display: flex;
}

/* Bullets */
.gallery-bullets {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--havana-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

#gallery-item-1:checked~.gallery-bullets #bullet-1,
#gallery-item-2:checked~.gallery-bullets #bullet-2,
#gallery-item-3:checked~.gallery-bullets #bullet-3,
#gallery-item-4:checked~.gallery-bullets #bullet-4,
#gallery-item-5:checked~.gallery-bullets #bullet-5,
#gallery-item-6:checked~.gallery-bullets #bullet-6 {
    background: var(--havana-red);
    transform: scale(1.2);
}
