/* Hero Slider para página de Café - Casa Morêt */
.coffee-hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    height: auto;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    height: auto; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 61, 47, 0.85) 0%,
        rgba(196, 107, 59, 0.65) 50%,
        rgba(30, 61, 47, 0.75) 100%
    );
    z-index: 1;
}

@media (max-height: 750px) {
    .coffee-hero-slider,
    .slider-container {
        height: auto;
        min-height: 100vh;
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 6;
    width: 90%;
    max-width: 1400px;
    color: #fff;
    padding: 2rem 1rem;
}

@media (max-height: 800px) {
    .slide-content {
        top: 50%;
        padding: 1.5rem 1rem;
    }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #F7F3EE 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(3px 5px 15px rgba(0, 0, 0, 0.8));
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #F7F3EE;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.9), 1px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-text-large {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #F7F3EE;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.9), 1px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Hero Features Grid (Slide 1) */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-feature {
    background: rgba(30, 61, 47, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-feature:hover {
    background: rgba(196, 107, 59, 0.85);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.hero-feature h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #F7F3EE;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-feature p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: #E8D7B9;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Hero Details Grid (Slide 2) */
.hero-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    text-align: center;
    background: rgba(30, 61, 47, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.detail-item:hover {
    background: rgba(196, 107, 59, 0.85);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.detail-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F7F3EE;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.7);
}

.detail-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #D4AF37;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Hero Flavors Grid (Slide 3) */
.hero-flavors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.flavor-item {
    background: rgba(30, 61, 47, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.flavor-item:hover {
    background: rgba(196, 107, 59, 0.85);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.flavor-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #F7F3EE;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.7);
}

.flavor-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: #E8D7B9;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Hero Lots Grid (Slide 4) */
.hero-lots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.lot-item {
    background: rgba(30, 61, 47, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.lot-item:hover {
    background: rgba(196, 107, 59, 0.85);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

.lot-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F7F3EE;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.7);
}

.lot-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    color: #E8D7B9;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Sección de introducción después del slider */
.coffee-intro-section {
    padding-top: 0;
    padding-bottom: 4rem; /* o el valor que quieras abajo */
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1e3d2f;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.intro-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

.slide.active .hero-title,
.slide.active .hero-text {
    animation: fadeInUp 1s ease-out forwards;
}

.slide.active .hero-title {
    animation-delay: 0.3s;
}

.slide.active .hero-text {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Indicadores del slider */
.slider-indicators {
    display: none;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(212, 175, 55, 0.7);
    border-color: #D4AF37;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.indicator.active {
    background: linear-gradient(135deg, #D4AF37 0%, #C4963C 100%);
    border-color: #D4AF37;
    width: 36px;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

/* Controles de navegación con mouse */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 61, 47, 0.3);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s ease;
    color: #D4AF37;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
}

.slider-nav:hover {
    background: rgba(196, 107, 59, 0.9);
    border-color: #D4AF37;
    color: #F7F3EE;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    opacity: 1;
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-nav svg {
    width: 26px;
    height: 26px;
    stroke-width: 3;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    color: #fff;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */

/* Laptops grandes - 1366px */
@media (max-width: 1366px) {
    .coffee-hero-slider {
        height: 65vh;
    }
    
    .slider-container {
        height: 100%;
    }
    
    .slide-content {
        width: 82%;
        max-width: 950px;
        padding: 1.5rem 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.7rem, 3.2vw, 2.2rem);
        margin-bottom: 0.8rem;
        line-height: 1.25;
    }
    
    .hero-text {
        font-size: clamp(0.85rem, 1.5vw, 0.95rem);
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }
    
    .hero-details {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .detail-item {
        padding: 1rem 0.8rem;
    }
    
    .detail-item h3 {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        letter-spacing: 1px;
    }
    
    .detail-item p {
        font-size: 0.9rem;
    }
}

/* Portátiles estándar - 1200px */
@media (max-width: 1200px) {
    .coffee-hero-slider {
        height: 60vh;
    }
    
    .slider-container {
        height: 100%;
    }
    
    .slide-content {
        width: 85%;
        padding: 1.3rem 1.2rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 0.7rem;
    }
    
    .hero-text {
        font-size: clamp(0.8rem, 1.4vw, 0.9rem);
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .hero-details {
        gap: 1rem;
        margin-top: 1.2rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detail-item {
        padding: 0.9rem 0.7rem;
    }
    
    .detail-item h3 {
        font-size: 0.7rem;
    }
    
    .detail-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 968px) {
    .intro-content {
        padding: 0 1.5rem;
    }

    .coffee-intro-section {
        padding: 4rem 0;
    }
    
    .slide-content {
        padding: 1.5rem 1rem;
    }

    .hero-features,
    .hero-details,
    .hero-flavors,
    .hero-lots {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .hero-feature,
    .detail-item,
    .flavor-item,
    .lot-item {
        padding: 1.5rem 1.2rem;
    }
    
    .hero-text {
        font-size: clamp(0.95rem, 2vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .coffee-intro-section {
        padding: 3rem 0;
    }

    .intro-content h2 {
        margin-bottom: 1.5rem;
    }

    .intro-content p {
        margin-bottom: 1.2rem;
    }

    .coffee-hero-slider {
        min-height: 100vh;
    }

    .slider-container {
        min-height: 100vh;
    }
    
    .slide-content {
        width: 94%;
        padding: 1rem 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-text {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hero-text-large {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    }

    .hero-features,
    .hero-details,
    .hero-flavors,
    .hero-lots {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .hero-feature h3,
    .flavor-item h3 {
        font-size: 1.3rem;
    }

    .detail-item h3 {
        font-size: 1.2rem;
    }

    .lot-item h3 {
        font-size: 1.5rem;
    }

    .hero-feature p,
    .detail-item p,
    .flavor-item p,
    .lot-item p {
        font-size: 0.95rem;
    }
    
    .hero-feature,
    .detail-item,
    .flavor-item,
    .lot-item {
        padding: 1.3rem 1rem;
    }

    .slider-indicators {
        bottom: 60px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        font-size: 0.75rem;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        width: 96%;
        padding: 0.8rem 0.5rem;
    }
    
    .hero-title {
        margin-bottom: 0.8rem;
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }

    .hero-text {
        margin-bottom: 1rem;
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.6;
    }

    .hero-features,
    .hero-details,
    .hero-flavors,
    .hero-lots {
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero-feature,
    .detail-item,
    .flavor-item,
    .lot-item {
        padding: 1.2rem 0.9rem;
    }
    
    .hero-feature h3,
    .flavor-item h3 {
        font-size: 1.2rem;
    }

    .detail-item h3 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .lot-item h3 {
        font-size: 1.4rem;
    }

    .hero-feature p,
    .detail-item p,
    .flavor-item p,
    .lot-item p {
        font-size: 0.9rem;
    }

    .slider-indicators {
        bottom: 50px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        background: rgba(30, 61, 47, 0.5);
        border: 1px solid rgba(212, 175, 55, 0.4);
    }

    .slider-nav.prev {
        left: 5px;
    }

    .slider-nav.next {
        right: 5px;
    }

    .slider-nav svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.5;
    }
}
