/* ===== CEPAS PAGES ENHANCED STYLES ===== */

/* Header de Cepa */
.cepa-header-section {
    background: linear-gradient(135deg, #3f111c 0%, #5a1a2a 100%);
    color: #d9d0bd;
    padding: 60px 0;
    position: relative;
}

.cepa-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(217,208,189,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.cepa-info {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(217, 208, 189, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #d9d0bd;
}

.breadcrumb-item.active {
    color: #d9d0bd;
}

.cepa-title {
    font-size: 3rem;
    font-weight: bold;
    color: #d9d0bd;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.cepa-subtitle {
    font-size: 1.2rem;
    color: rgba(217, 208, 189, 0.9);
    margin-bottom: 0;
}

.cepa-type-badge {
    background: rgba(217, 208, 189, 0.2);
    border: 2px solid #d9d0bd;
    border-radius: 50px;
    padding: 1rem 2rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #d9d0bd;
}

.cepa-type-badge.cepa-blanca {
    background: rgba(244, 240, 230, 0.2);
    border-color: #f4f0e6;
    color: #f4f0e6;
}

.cepa-type-badge i {
    font-size: 1.2rem;
}

/* Contenido de Cepa */
.cepa-content-section {
    padding: 80px 0;
    background: #fff;
}

.cepa-description h2 {
    color: #3f111c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.cepa-description h3 {
    color: #3f111c;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.cepa-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Lista de características */
.cepa-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.cepa-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 1rem;
}

.cepa-features i {
    color: #3f111c;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* Grid de maridajes */
.maridajes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.maridaje-item {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.maridaje-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(63, 17, 28, 0.1);
    border-color: #3f111c;
}

.maridaje-item i {
    font-size: 2.5rem;
    color: #3f111c;
    margin-bottom: 1rem;
}

.maridaje-item h4 {
    color: #3f111c;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.maridaje-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Especificaciones */
.cepa-specs {
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede4 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cepa-specs h3 {
    color: #3f111c;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(63, 17, 28, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #3f111c;
    font-size: 0.95rem;
}

.spec-value {
    color: #666;
    font-weight: 500;
    text-align: right;
}

/* Regiones destacadas */
.regiones-destacadas {
    background: #fff;
    border: 2px solid #3f111c;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.regiones-destacadas h3 {
    color: #3f111c;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.regiones-destacadas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.regiones-destacadas li {
    padding: 0.8rem 0;
    color: #666;
    border-bottom: 1px solid rgba(63, 17, 28, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.regiones-destacadas li:before {
    content: '🍇';
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.regiones-destacadas li:last-child {
    border-bottom: none;
}

/* Productos relacionados */
.productos-relacionados {
    background: #f8f6f0;
    padding: 80px 0;
}

.productos-relacionados .section-title {
    color: #3f111c;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cepa-title {
        font-size: 2.2rem;
    }
    
    .cepa-subtitle {
        font-size: 1.1rem;
    }
    
    .cepa-header-section {
        padding: 40px 0;
    }
    
    .cepa-content-section {
        padding: 60px 0;
    }
    
    .maridajes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cepa-type-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
    
    .cepa-specs,
    .regiones-destacadas {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .cepa-title {
        font-size: 1.8rem;
    }
    
    .cepa-description h2 {
        font-size: 1.6rem;
    }
    
    .cepa-description h3 {
        font-size: 1.3rem;
    }
    
    .maridaje-item {
        padding: 1.5rem;
    }
    
    .maridaje-item i {
        font-size: 2rem;
    }
    
    .cepa-specs,
    .regiones-destacadas {
        padding: 1.5rem;
    }
}

/* Animaciones */
.cepa-info,
.cepa-type-badge {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.cepa-type-badge {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.spec-item:hover {
    background: rgba(63, 17, 28, 0.05);
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: all 0.3s ease;
}

.regiones-destacadas li:hover {
    background: rgba(63, 17, 28, 0.05);
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding-left: 2rem;
    padding-right: 0.5rem;
    transition: all 0.3s ease;
}