/* Modern Footer Adaptado para PROTADOM con colores originales - Estructura idéntica a modern-footer */

/* Variables CSS para mantener consistencia con colores de protadom */
:root {
    --protadom-primary-dark: #272727;
    --protadom-primary-medium: #1b1b1b;
    --protadom-accent-gold: #c5b36e;
    --protadom-text-light: #BF9E6E;
    --protadom-text-dark: #2c1810;
    --protadom-text-medium: #5c4a3a;
    --protadom-bg-light: #e5e5e5;
    --protadom-bg-cream: #5d5c5a;
    --protadom-shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.1);
    --protadom-shadow-md: 0 4px 20px rgba(44, 24, 16, 0.15);
    --protadom-shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.2);
    --protadom-border-radius: 12px;
    --protadom-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Content Sections - Idénticos a recursoh pero con colores de protadom */
.content-section {
    padding: 6rem 0;
    position: relative;
    background-color: #C9C9C9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--protadom-text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--protadom-text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Cards Grid - Idénticos a recursoh */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modern-card {
    background: var(--protadom-bg-light);
    border-radius: var(--protadom-border-radius);
    overflow: hidden;
    box-shadow: var(--protadom-shadow-sm);
    transition: var(--protadom-transition);
    position: relative;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--protadom-shadow-lg);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--protadom-transition);
}

.modern-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--protadom-text-dark);
}

.card-description {
    color: var(--protadom-text-medium);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--protadom-accent-gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--protadom-transition);
}

.card-link:hover {
    gap: 1rem;
}

/* Modern Slideshow - Transiciones aleatorias */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(27, 27, 27, 0.4) 0%, rgba(39, 39, 39, 0.2) 100%);
}

/* Transiciones aleatorias */
.slide.fade-transition {
    transition: opacity 1.5s ease-in-out;
}

.slide.slide-left {
    transform: translateX(-100%);
    transition: transform 1s ease-in-out;
}

.slide.slide-left.active {
    transform: translateX(0);
}

.slide.slide-right {
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
}

.slide.slide-right.active {
    transform: translateX(0);
}

.slide.slide-up {
    transform: translateY(100%);
    transition: transform 1s ease-in-out;
}

.slide.slide-up.active {
    transform: translateY(0);
}

.slide.slide-down {
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
}

.slide.slide-down.active {
    transform: translateY(0);
}

.slide.zoom-in {
    transform: scale(0.8);
    transition: transform 1.2s ease-in-out, opacity 1s ease-in-out;
}

.slide.zoom-in.active {
    transform: scale(1);
}

.slide.zoom-out {
    transform: scale(1.2);
    transition: transform 1.2s ease-in-out, opacity 1s ease-in-out;
}

.slide.zoom-out.active {
    transform: scale(1);
}

.slide.rotate-in {
    transform: rotate(-5deg) scale(0.9);
    transition: transform 1.3s ease-in-out, opacity 1s ease-in-out;
}

.slide.rotate-in.active {
    transform: rotate(0deg) scale(1);
}

.slide.blur-transition {
    filter: blur(10px);
    transition: filter 1.5s ease-in-out, opacity 1s ease-in-out;
}

.slide.blur-transition.active {
    filter: blur(0);
}

/* Navigation */
.slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 1000;
}

.slide-nav-btn {
    background: rgba(197, 179, 110, 0.8);
    color: #131313;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav-btn:hover {
    background: #c5b36e;
    transform: scale(1.1);
}

/* Indicators */
.slide-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 1000;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #c5b36e;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(197, 179, 110, 0.8);
}

/* Logo positioning over slideshow */
.slidepri1logo1 {
    z-index: 1001;
}

/* Modern Product Showcase - Idéntico a recursoh */
.product-showcase {
    background: linear-gradient(135deg, var(--protadom-bg-light) 0%, var(--protadom-bg-cream) 100%);
    padding: 6rem 0;
    min-height: 1200px; /* Aumentado para que se vean todos los productos */
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: var(--protadom-bg-light);
    border: 2px solid var(--protadom-accent-gold);
    border-radius: var(--protadom-border-radius);
    color: var(--protadom-text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--protadom-transition);
}

.tab-button.active,
.tab-button:hover {
    background: var(--protadom-accent-gold);
    color: var(--protadom-text-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--protadom-bg-light);
    border-radius: var(--protadom-border-radius);
    padding: 2rem;
    box-shadow: var(--protadom-shadow-sm);
    transition: var(--protadom-transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--protadom-shadow-md);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--protadom-text-dark);
}

.product-type {
    color: var(--protadom-accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-details {
    text-align: left;
    color: var(--protadom-text-medium);
}

.product-detail-item {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.product-detail-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--protadom-accent-gold);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Reproductor de Videos */
.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
    top: 10px;
}

.contenidoB {
    background-color: #181818;
}

.video-background {
  position: absolute;
  width: 758px;
  height: 473px;
  background-color: /*#706545*/ #ffe06e;
  border-radius: 15px;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  top: 70px;
}

.video-player {
    position: relative;
    width: 800px;
    height: auto;
    border-radius: 15px;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    outline: none;
    top: 50px;
}

/* Responsive para el video */
@media (max-width: 850px) {
    .video-player {
        width: 90%;
        max-width: 600px;
    }
    
    .video-background {
        width: 90%;
        max-width: 500px;
        height: 300px;
    }
}

@media (max-width: 650px) {
    .video-player {
        width: 95%;
        max-width: 400px;
    }
    
    .video-background {
        width: 95%;
        max-width: 350px;
        height: 250px;
    }
}

/* Modern Footer con colores de protadom - Misma estructura y altura que modern-footer */
.modern-footer-protadom {
    background-image: url(../img/bg/fd4.png);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #131313;
    color: #BF9E6E;
    padding: 4rem 0 2rem;
/*    margin-top: 6rem;*/
    font-family: 'Baloo 2', cursive;
}

.footer-content-protadom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section-protadom h3 {
    color: #c5b36e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section-protadom p,
.footer-section-protadom ul {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section-protadom ul {
    list-style: none;
}

.footer-section-protadom ul li {
    margin-bottom: 0.5rem;
}

.footer-section-protadom a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-section-protadom a:hover {
    color: #c5b36e;
}

.footer-bottom-protadom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(197, 179, 110, 0.2);
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design para el footer - Idéntico al modern-footer original */
@media (max-width: 768px) {
    .footer-content-protadom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}
