/* ===== HOME PAGE ENHANCED STYLES ===== */

/* Features Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #3f111c;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: #d9d0bd;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #5a1a2a 0%, #3f111c 100%);
}

.feature-title {
    color: #3f111c;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 50vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}
.nav-pills .nav-link.active {
    color: #d9d0bd;
    background-color: #3f111c;
    border-color: #d0d9bd;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #d9d0bd;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(217, 208, 189, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(63, 17, 28, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 20px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 40px;
    height: 4px;
    background-color: rgba(217, 208, 189, 0.5);
    border: none;
    border-radius: 2px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #d9d0bd;
    height: 6px;
}

/* Hero Buttons */
.btn-hero {
    background: #fff;
    color: #3f111c;
    border: 2px solid #fff;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-hero:hover {
    background: #fff !important;
    color: #3f111c !important;
    border-color: #fff;
    transform: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-wine {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 13px 28px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: none;
}

.btn-outline-wine:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: none;
    box-shadow: none;
}

/* Wine Club Section */
.wine-club-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede4 100%);
    padding: 100px 0;
}

.wine-club-title {
    color: #3f111c;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.wine-club-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.wine-club-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.wine-club-benefits li {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.wine-club-benefits i {
    color: #3f111c;
    font-size: 1.1rem;
}

.btn-wine-club {
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%);
    color: #d9d0bd;
    border: none;
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(63, 17, 28, 0.3);
}

.btn-wine-club:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(63, 17, 28, 0.5);
    color: #f4f0e6;
    background: linear-gradient(135deg, #5a1a2a 0%, #3f111c 100%);
}

.wine-club-image img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Botones para secciones que no son el slider */
.btn-outline-wine:not(.hero-section .btn-outline-wine) {
    border: 2px solid #3f111c;
    color: #3f111c;
    background: transparent;
    padding: 13px 28px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-wine:not(.hero-section .btn-outline-wine):hover {
    background-color: #3f111c;
    color: #d9d0bd;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(63, 17, 28, 0.3);
}

/* Content Hub Section */
.content-hub-section {
    background-color: #fff;
    padding: 100px 0;
}

.content-tabs {
    border: none;
    margin-bottom: 3rem;
}

.content-tabs .nav-link {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    border-radius: 50px;
    padding: 12px 25px;
    margin: 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-tabs .nav-link:hover {
    border-color: #d9d0bd;
    color: #3f111c;
    transform: translateY(-2px);
}

.content-tabs .nav-link.active {
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%);
    border-color: #3f111c;
    color: #d9d0bd;
    box-shadow: 0 4px 15px rgba(63, 17, 28, 0.3);
}

/* Content Cards */
.content-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-card-image img {
    transform: scale(1.05);
}

.content-card-placeholder {
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9d0bd;
    font-size: 3rem;
}

.content-card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.content-card-type {
    background: rgba(63, 17, 28, 0.9);
    color: #d9d0bd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.content-card-title {
    color: #3f111c;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card-title a:hover {
    color: #5a1a2a;
}

.content-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.content-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-wine {
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%);
    color: #d9d0bd;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-wine:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 17, 28, 0.3);
    color: #f4f0e6;
    background: linear-gradient(135deg, #5a1a2a 0%, #3f111c 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slide {
        height: 45vh;
        min-height: 300px;
    }
    
    .wine-club-section {
        padding: 60px 0;
    }
    
    .content-hub-section {
        padding: 60px 0;
    }
    
    .content-tabs .nav-link {
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slide {
        height: 40vh;
        min-height: 250px;
    }
    
    .btn-hero,
    .btn-outline-wine {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .wine-club-title {
        font-size: 2rem;
    }
    
    .content-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .content-tabs .nav-link {
        margin: 5px 0;
        width: 200px;
        text-align: center;
    }
}

/* Tab Content Animation */
.tab-pane {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.show.active {
    opacity: 1;
}

/* Hover effects for different card types */
.blog-card:hover .content-card-type {
    background: #28a745;
}

.podcast-card:hover .content-card-type {
    background: #6f42c1;
}

.evento-card:hover .content-card-type {
    background: #fd7e14;
}

/* Badge de precio para eventos */
.badge.bg-wine {
    background: linear-gradient(45deg, #3f111c, #5a1a2a) !important;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.85rem;
}