/* ==========================================================================
   --- EDOGO SHOP - ESTILOS GENERALES Y HERO ---
   ========================================================================== */

/* Ajuste general para la sección Hero Premium */
.hero-premium {
    width: 100%;
    min-height: vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px; /* Espacio para el navbar fijo */
}

#logo-container {
    color: #ffffff;
}

#logo-container .hero-titulo {
    font-size: clamp(4.6rem, 1vw, 1.25rem); 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 900;
    line-height: 1.1;
}

/* Clases de texto heredadas y refinadas */
.t1 { 
    font-size: clamp(1rem, 1.8vw, 1.25rem); 
    line-height: 1.5; 
    color: #e2e2e2 !important;
}

.t2 { 
    font-size: clamp(1.25rem); 
    line-height: 1.5; 
    color: #000000 !important;
}


/* Botón Call To Action Principal (Estilo clásico EDOGO evolucionado) */
.button-calltoaction {
    display: inline-block;
    padding: 1rem 2.5rem; 
    background-color: #FFC851;
    color: #303030 !important;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 4px 4px 1px #f86842;
}

.button-calltoaction:hover {
    background-color: #ffa200;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 6px 6px 1px #f86842;
}

/* Modificadores para animaciones del elemento visual en Hero */
.unique-transform {
    transition: transform 0.5s ease;
}
.unique-transform:hover {
    transform: rotate(-1deg) scale(1.02);
}

/* ==========================================================================
   --- PRODUCTOS Y SERVICIOS DESTACADOS (TARJETAS) ---
   ========================================================================== */
.productos-container {
    background-image: url("images/tramaedogo.webp");
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.titulo-destacado {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #323232;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Estructura de tarjeta oscura premium */
.producto-card {
    background: #25252b !important; /* Fondo oscuro unificado */
    border-radius: 24px !important; 
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* Efecto de elevación interactiva */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25) !important;
}

.producto-card .card-img-top { 
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Textos informativos dentro de la tarjeta (Corregido contraste) */
.producto-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #e2e2e2 !important;
}

.producto-card .text-muted {
    color: #ebebeb !important; /* Gris claro legible */
}

/* Botones internos de las tarjetas */
.producto-card .btn-outline-primary {
    border-color: #FFC851;
    color: #FFC851;
    border-radius: 50px;
    transition: 0.3s;
}

.producto-card .btn-outline-primary:hover {
    background-color: #FFC851;
    border-color: #FFC851;
    color: #25252b;
}

/* ==========================================================================
   --- GALERÍA DE PROYECTOS (ESTILO MASONRY) ---
   ========================================================================== */
.servicios-galeria { 
    background-color: #0f0f12 !important; /* Ajustado a fondo oscuro continuo */
}

.galeria-grid-edogo {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.galeria-item { 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
    background-color: #25252b;
}

.galeria-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.galeria-item:hover img { 
    transform: scale(1.06); 
}

/* Asignación de espacios en Grid de escritorio */
.item-grande-h { grid-column: span 8; }
.item-alto { grid-column: span 4; grid-row: span 2; }
.item-grande-v { grid-column: span 4; }
.item-pequeno { grid-column: span 4; }

/* ==========================================================================
   --- SECCIÓN FINAL CALL TO ACTION ---
   ========================================================================== */
.final-cta {
    position: relative;
    overflow: hidden;
}

.cta-titulo {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cta-texto {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 35px;
    font-weight: 400;
}

/* Botones del CTA Final */
.btn-cta-principal, .btn-cta-secundario {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.btn-cta-principal {
    background-color: #25252b !important;
    color: #ffffff !important;
    border: none;
}
.btn-cta-principal:hover {
    background-color: #000000 !important;
    transform: translateY(-2px);
}

.btn-cta-secundario {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background-color: transparent;
}
.btn-cta-secundario:hover {
    background-color: #ffffff !important;
    color: #25252b !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   --- FOOTER ---
   ========================================================================== */
.main-footer {
    background-color: #0f0f12 !important; /* Sincronizado con look premium */
}

.main-footer h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.social-links-edogo a {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
}

.social-links-edogo a:hover {
    color: #0f0f12 !important;
    background-color: #FFC851 !important;
    border-color: #FFC851 !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   --- RESPONSIVE DESIGN (MEDIA QUERIES) ---
   ========================================================================== */

@media (max-width: 991px) {
    .galeria-grid-edogo {
        grid-auto-rows: minmax(140px, auto);
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .hero-premium {
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .galeria-grid-edogo {
        display: flex;
        flex-direction: column;
    }

    .galeria-item { 
        width: 100%;
        aspect-ratio: 4 / 3; /* Proporción fotográfica excelente para móviles */
    }
    
    .final-cta { 
        padding: 60px 0; 
    }
    
    /* Separación de bloques en columnas del footer móvil */
    .main-footer .footer-section-bootstrap { 
        margin-bottom: 2rem; 
    }
    .main-footer .footer-section-bootstrap:last-child { 
        margin-bottom: 0; 
    }
}