/* ⚜️ Estilo Premium - Verde Rolex & Oro ⚜️ */

/* 🌿 Variables de color */
:root {
    --verde-rolex: #116530;
    --verde-rolex-oscuro: #0A3C23;
    --oro: #D4AF37;
    --oro-brillante: #FFD700;
    --oro-claro: #F5E6B3;
    --texto-oscuro: #212529;
    --fondo-claro: #f8f9fa;
}

/* 🔥 Fuentes premium */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Montserrat:wght@300;400;600&display=swap');

/* 🏗️ Estilos base */
body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 80px;
    color: var(--texto-oscuro);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* 🎩 Barra de navegación premium */
.navbar {
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(8px);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--verde-rolex) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    color: var(--oro);
}

/* 🎥 Sección Hero con Video */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(30%) contrast(120%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    background: linear-gradient(to right, var(--oro), var(--oro-brillante));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: var(--oro);
}


/* 💎 Botones de lujo */
.btn-luxury {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.btn-luxury-primary {
    background: var(--oro);
    color: var(--verde-rolex-oscuro);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-luxury-outline {
    background: transparent;
    color: var(--oro);
    border: 2px solid var(--oro);
    backdrop-filter: blur(5px);
}

.btn-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn-luxury-primary:hover {
    background: var(--oro-brillante);
}

.btn-luxury-outline:hover {
    background: rgba(212, 175, 55, 0.2);
}

/* ✨ Efecto de partículas doradas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 25%);
    animation: shine 8s infinite linear;
}

/* 📚 Efecto de páginas de libros */
.book-pages-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23D4AF37"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23D4AF37"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23D4AF37"/></svg>');
    background-size: cover;
    z-index: 1;
}

@keyframes shine {
    100% {
        transform: rotate(360deg);
    }
}

/* 🛒 Eliminado estilos del carrito (según solicitud) */

/* 📖 Tarjetas de libros premium */
.book-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    position: relative;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.book-cover-container {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 30px;
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--oro);
    color: var(--verde-rolex-oscuro);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contenedor del cuerpo de la tarjeta */
.book-card-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 320px); /* Resta la altura de la imagen */
    padding: 20px;
}

/* Asegurar altura uniforme para los títulos de los libros */
.book-title {
    min-height: 3.6em; /* Ajusta este valor según necesites */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    text-align: center;
}

/* Contenedor de acciones del libro */
.book-actions {
    margin-top: auto; /* Empuja el botón hacia abajo */
    padding-top: 15px;
}

/* 🖼️ Modal de libro premium */
.book-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.book-modal .modal-header {
    border-bottom: none;
    padding: 25px;
    background: var(--verde-rolex);
    color: var(--oro);
}

.book-modal .modal-title {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.book-modal-cover {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.book-modal-description {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.book-modal-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* 🎩 Sección "Listo para transformar tu vida" */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--verde-rolex), var(--verde-rolex-oscuro));
    color: var(--oro);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23D4AF37" fill-opacity="0.05" d="M50 0c13.8 0 25 11.2 25 25S63.8 50 50 50 25 38.8 25 25 36.2 0 50 0zm0 10c-8.3 0-15 6.7-15 15s6.7 15 15 15 15-6.7 15-15-6.7-15-15-15z"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.cta-text {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-cta {
    background-color: var(--oro);
    color: var(--verde-rolex-oscuro);
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    background-color: var(--oro-brillante);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 🏆 Resto de secciones (autor, testimonios, footer) */
.about-section {
    padding: 100px 0;
    background-color: var(--fondo-claro);
}

.testimonials-section {
    padding: 100px 0;
    background: white;
}

.footer {
    background-color: var(--verde-rolex-oscuro);
    color: white;
    padding: 80px 0 30px;
}

/* 🌀 Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* 📱 Media Queries para responsividad */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
/* Estilo base para todos los dispositivos */
.hero-subtitle {
    font-weight: 500; /* Más legible que 300 */
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
    color: var(--oro-claro);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

/* Versión móvil */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
        color: var(--verde-rolex); /* Cambia a verde en móvil */
        text-shadow: none;
        margin: 0.5rem auto 1.5rem;
        padding: 0 15px; /* Pequeño padding lateral */
        font-weight: 400; /* Peso intermedio para móvil */
    }
}
    
    .book-cover-container {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .book-modal-cover {
        height: 300px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-luxury, .btn-cta {
        width: 100%;
    }
}

/* 🛠️ Utilidades */
.text-oro {
    color: var(--oro);
}

.bg-verde-rolex {
    background-color: var(--verde-rolex);
}
/* 🎥 Estilo CTA con Video */
.cta-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.7) sepia(0.3) hue-rotate(10deg);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #D4AF37;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    color: #F5E6B3;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-cta {
    background-color: #D4AF37;
    color: #116530 !important;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    background-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #0A3C23 !important;
}

/* 💫 Efecto de partículas (reutilizado de hero) */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 25%);
}

/* 🌟 Iconos sociales en oro */
.social-links a {
    color: #D4AF37 !important;
    background: rgba(17, 101, 48, 0.3);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FFD700 !important;
    background: rgba(17, 101, 48, 0.5);
    transform: translateY(-3px);
}

/* 🖇️ Hipervínculos en oro */
.footer-links a,
.nav-link {
    color: #D4AF37 !important;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.nav-link:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .cta-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-video {
        display: none; /* Ocultar video en móviles si es necesario */
    }
    
    .cta-section {
        background: linear-gradient(rgba(17, 101, 48, 0.8), rgba(10, 60, 35, 0.9)),
                    url('https://pablorr.com/images/fondo-mobile.jpg') center/cover;
    }
}
/* 🛒 Botones estilo Amazon */
.btn-amazon {
    display: inline-block;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border: 1px solid #9c7e31;
    border-radius: 3px;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 29px;
    padding: 0 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 600;
}

.btn-amazon:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
    border-color: #a88734 #9c7e31 #846a29;
    color: #111;
    text-decoration: none;
}

.btn-amazon:active {
    background: #f0c14b;
    box-shadow: 0 0 3px 2px rgba(228,121,17,.5);
}

.btn-amazon i {
    margin-right: 5px;
    color: #111;
}

/* Versión grande (para destaque) */
 .btn-amazon-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-amazon-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Asegurar que el contenedor del botón ocupe todo el espacio */
.book-actions {
    padding: 15px 0 0;
    width: 100%;
}

/* Versión naranja (para acciones principales) */
.btn-amazon-orange {
    background: linear-gradient(to bottom, #f6c88f, #ed9220);
    border-color: #ca7c1b #be751a #a56616;
}

.btn-amazon-orange:hover {
    background: linear-gradient(to bottom, #f5b56e, #e88a1a);
}
/* Estilo para el botón con color dorado y texto verde Rolex */
.btn-primary {
    background-color: #D4AF37; /* Color dorado */
    color: #116530; /* Verde Rolex */
    border: 2px solid #116530; /* Borde verde Rolex */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c39b00; /* Un dorado más oscuro al hacer hover */
    color: white; /* Texto blanco al hacer hover */
    border-color: #1e7e34; /* Borde más oscuro al hacer hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.5); /* Para resaltar al hacer focus */
}
/* Reset para móviles */
body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* Elimina márgenes no deseados */
#contenedor-movil {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

/* Estilos para textos */
#contenedor-movil h1, 
#contenedor-movil h2, 
#contenedor-movil p {
    color: #116530; /* Verde Rolex */
    text-shadow: none;
    background: none;
    margin: 10px 0;
    line-height: 1.4;
}

/* Elimina fondos y bordes */
#contenedor-movil {
    box-shadow: none;
    border: none;
    background: transparent;
}