/* Rediseño Calcado */

/* Rediseño Calcado */

.redesign-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 50px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.header-container-redesign {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-redesign {
    display: flex;
    align-items: center;
}

.logo-redesign img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-links-redesign ul {
    list-style: none;
    display: flex;
    gap: 45px;
    margin: 0;
    padding: 0;
}

.nav-links-redesign a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: opacity 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links-redesign a:hover {
    opacity: 0.8;
}

.btn-signup-redesign {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.btn-signup-redesign:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-redesign {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 50px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay-redesign {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, #0B0B0D 100%), linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-redesign {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto auto 30px auto;
    padding: 0 20px;
    text-align: center;
}

.hero-content-redesign h1 {
    font-size: 2.2rem;
    font-family: var(--font-main);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.hero-content-redesign p {
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.5;
    margin: 0 auto 40px auto;
    max-width: 700px;
}

.btn-get-started-redesign {
    background: var(--orange); /* Use Cabezoneria palette */
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background 0.3s;
}

.btn-get-started-redesign:hover {
    background: var(--primary);
    transform: translateY(-2px);
}















.place-card-redesign::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}


@media (max-width: 1024px) {
    .hero-content-redesign h1 {
        font-size: 3.5rem;
    }
    
}

@media (max-width: 768px) {
    .nav-links-redesign {
        display: none;
    }
    .hero-content-redesign h1 {
        font-size: 2.5rem;
    }
    
    .hero-content-redesign {
        margin-left: 5%;
    }
}


/* MODERN MODAL */
.modern-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.4s, opacity 0.4s ease;
}
.modern-modal.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.4s ease;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 13, 0.85);
    backdrop-filter: blur(15px);
}
.modal-content-glass {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modern-modal.active .modal-content-glass {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}
#gallery-title {
    color: #fff;
    font-family: var(--font-main);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}
.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}
.slider-images-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-active-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.4s ease;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}
.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.gallery-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}


/* 3D CAROUSEL (PROFESSIONAL COVERFLOW) */
.carousel-3d-wrapper {
    position: relative;
    z-index: 50; /* INCREASED TO BE ABSOLUTELY SURE */
    width: 100%;
    height: 320px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    overflow: hidden;
    padding: 20px 0 60px 0;
    pointer-events: none;
}

.carousel-3d-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform-style: preserve-3d;
    will-change: transform;
}

.carousel-3d-card {
    flex-shrink: 0;
    width: 220px;
    height: 280px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
    transform-origin: center center;
    will-change: transform, filter;
    /* initial state, gets overwritten by JS immediately */
    transform: translateZ(0) rotateY(0deg) scale(1);
    transition: box-shadow 0.3s ease;
    pointer-events: auto !important;
}

.carousel-3d-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    border-radius: 0 0 24px 24px;
}

.carousel-3d-card:hover {
    box-shadow: 0 30px 60px rgba(255, 46, 138, 0.4), inset 0 0 0 1px rgba(255,255,255,0.3);
}

.carousel-3d-info {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 1.25rem;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    text-align: center;
}

.carousel-3d-card:hover .carousel-3d-info {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .carousel-3d-card {
        width: 160px;
        height: 220px;
    }
    .carousel-3d-wrapper {
        height: 260px;
    }
}


.hover-view-gallery {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.carousel-3d-card:hover .hover-view-gallery {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Spotify Container */
.spotify-floating-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
}

.spotify-collapsed-bar {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 8px 20px 8px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: slideUpPlayer 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.spotify-collapsed-bar.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.spotify-collapsed-bar:hover {
    background: rgba(15, 20, 30, 0.85);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.spotify-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spotify-cover-mini {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}

.spotify-bar-info {
    display: flex;
    flex-direction: column;
}

.spotify-bar-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

.spotify-bar-subtitle {
    color: var(--secondary, #D9A441);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.spotify-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #b3b3b3;
}

.spotify-bar-right i {
    font-size: 1.1rem;
    transition: color 0.3s;
}
.spotify-bar-right i:hover {
    color: #fff;
}

/* Equalizer Animation */
.spotify-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    margin: 0 auto;
}
.spotify-equalizer span {
    display: block;
    width: 4px;
    background-color: var(--secondary, #D9A441);
    border-radius: 2px;
    transform: scaleY(0.3);
    transform-origin: bottom;
    transition: transform 0.2s;
}
.spotify-equalizer.playing span {
    animation: equalize 1s ease-in-out infinite;
}
.spotify-equalizer span:nth-child(1) { height: 50%; animation-duration: 0.9s; }
.spotify-equalizer span:nth-child(2) { height: 100%; animation-duration: 0.7s; animation-delay: 0.1s; }
.spotify-equalizer span:nth-child(3) { height: 40%; animation-duration: 0.8s; animation-delay: 0.3s; }
.spotify-equalizer span:nth-child(4) { height: 80%; animation-duration: 1.1s; animation-delay: 0.2s; }

@keyframes equalize {
    0% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0.3); }
}

.spotify-play-btn-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.spotify-play-btn-mini i {
    color: #000 !important;
    font-size: 1rem;
    margin-left: 2px;
}
.spotify-play-btn-mini:hover {
    transform: scale(1.08);
}


/* Expanded Player */
.spotify-expanded-player {
    background: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.spotify-expanded-player.active {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.spotify-expanded-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.spotify-expanded-header span {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotify-close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.spotify-close-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

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

@media (max-width: 768px) {
    .spotify-floating-container {
        width: 95%;
        bottom: 15px;
    }
}

/* Redes Layout */
.redes-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 140px;
}

.redes-left {
    flex: 0 0 auto;
}

.redes-right {
    flex: 1;
    text-align: left;
}

@media (max-width: 900px) {
    .redes-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .redes-right {
        text-align: center;
    }
    .redes-right h2.section-title {
        text-align: center !important;
    }
    .redes-right p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* iPhone Mockup Section */
.iphone-mockup {
    position: relative;
    width: 300px;
    height: 620px;
    background-color: #000;
    border: 12px solid #222;
    border-radius: 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #444;
    overflow: hidden;
}

.iphone-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background-color: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.island-camera {
    width: 10px;
    height: 10px;
    background: #111;
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(255,255,255,0.2);
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
