/* Grid de secciones/tarjetas */
.section-cards {
display: grid;
grid-template-columns: repeat(3, minmax(400px, 1fr));
gap: 3rem;
margin: 4rem 0;
justify-content: center;
}

/* Tarjetas */
.card {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 20px;
padding: 0;
overflow: hidden;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
height: 100%;
position: relative;
}

/* Efectos de tarjetas */
.card::after {
content: '';
position: absolute;
bottom: -25px;
left: 50%;
transform: translateX(-50%);
width: 85%;
height: 50px;
background: radial-gradient(ellipse at center, 
rgba(253, 184, 19, 0.5) 0%, 
rgba(253, 184, 19, 0.3) 30%, 
rgba(253, 184, 19, 0.2) 60%, 
transparent 100%);
opacity: 0;
transition: all 0.4s ease;
filter: blur(20px);
z-index: 0;
}

.card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(253, 184, 19, 0.3), transparent);
transition: left 0.6s ease;
z-index: 1;
}

.card:hover::before {
left: 100%;
}

.card:hover {
transform: translateY(-15px) scale(1.04);
box-shadow: 
0 35px 60px rgba(0, 0, 0, 0.6),
0 0 50px rgba(253, 184, 19, 0.5),
0 0 100px rgba(253, 184, 19, 0.4);
border-color: rgba(253, 184, 19, 0.8);
filter: brightness(1.2);
}

.card:hover::after {
opacity: 1;
bottom: -30px;
width: 95%;
height: 60px;
filter: blur(25px);
}

/* Imagen de tarjeta */
.card-image {
width: 100%;
height: 280px;
object-fit: cover;
display: block;
transition: transform 0.4s ease;
position: relative;
z-index: 2;
}

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

/* Contenido de tarjeta */
.card-content {
padding: 2.2rem;
position: relative;
z-index: 2;
background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.9) 100%);
}

.card-content h3 {
font-size: 1.8rem;
margin-bottom: 1rem;
color: #FDB813;
transition: color 0.3s ease;
font-weight: 600;
}

.card:hover .card-content h3 {
color: #FFD700;
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.card-content p {
color: #e0e0e0;
font-size: 1.2rem;
line-height: 1.7;
transition: color 0.3s ease;
}

.card:hover .card-content p {
color: #ffffff;
}

/* ================== GRID MODERNO CON OVERLAY ================== */
.fotos-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2.5rem;
margin: 3rem 0;
padding: 0 2rem;
}

.foto-item {
position: relative;
border-radius: 20px;
overflow: hidden;
cursor: pointer;
aspect-ratio: 4/3;
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
box-shadow: 
0 8px 30px rgba(0, 0, 0, 0.3),
0 2px 10px rgba(0, 0, 0, 0.2);
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.08);
}

.foto-miniatura {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.5s ease;
filter: brightness(0.95);
}

/* Overlay elegante que se desliza */
.foto-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(
to top, 
rgba(0, 0, 0, 0.9) 0%, 
rgba(0, 0, 0, 0.7) 50%, 
rgba(0, 0, 0, 0) 100%
);
padding: 3rem 2rem 2rem;
color: white;
transform: translateY(100%);
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
backdrop-filter: blur(5px);
}

/* Efecto de brillo dorado en el borde superior del overlay */
.foto-overlay::before {
    content: '';
/* Solo mostrar el título sin overlay */
.foto-overlay {
position: absolute;
    top: 0;
    bottom: 0;
left: 0;
right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #FDB813, 
        transparent
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        transparent 100%
);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem 1rem 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.foto-title {
    font-size: 1.4rem;
    font-size: 1.2rem;
font-weight: 600;
    margin-bottom: 0.8rem;
color: #FDB813;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
line-height: 1.3;
    text-align: center;
}

/* Oculta completamente el texto descriptivo */
.foto-desc {
display: none;
}

/* Efectos hover */
.foto-item:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 
0 20px 50px rgba(0, 0, 0, 0.5),
0 0 30px rgba(253, 184, 19, 0.3);
border-color: rgba(253, 184, 19, 0.3);
}

.foto-item:hover .foto-miniatura {
transform: scale(1.08);
filter: brightness(1.1);
}

.foto-item:hover .foto-overlay {
transform: translateY(0);
}

.foto-item:hover .foto-overlay::before {
opacity: 1;
}

.foto-item:hover .foto-desc {
opacity: 1;
transform: translateY(0);
}

/* Efecto de carga progresiva */
.foto-item {
opacity: 0;
animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Retraso escalonado para la animación */
.foto-item:nth-child(2) { animation-delay: 0.1s; }
.foto-item:nth-child(3) { animation-delay: 0.2s; }
.foto-item:nth-child(4) { animation-delay: 0.3s; }
.foto-item:nth-child(5) { animation-delay: 0.4s; }
.foto-item:nth-child(6) { animation-delay: 0.5s; }
/* ================== SECCIÓN INSPIRATION - TEXTO MÁS GRANDE ================== */
#inspiration-section > div > div:first-child {
text-align: left;
max-width: 640px;
margin: 0 auto;
}

#inspiration-section h2 {
font-size: 2.8rem !important; /* Mucho más grande */
margin: 0 0 1.5rem !important;
color: #FDB813 !important;
font-weight: 600 !important;
line-height: 1.2 !important;
text-shadow: 0 0 20px rgba(253, 184, 19, 0.4) !important;
letter-spacing: 0.5px !important;
}

#inspiration-section p {
font-size: 1.5rem !important; /* Mucho más grande */
line-height: 1.8 !important;
margin: 0 0 1.5rem !important;
color: #f0f0f0 !important;
font-weight: 300 !important;
}

#inspiration-section p:last-child {
margin-bottom: 0 !important;
}

/* Para pantallas grandes */
@media (min-width: 1200px) {
#inspiration-section > div {
padding: 45px !important; /* Más padding */
}

#inspiration-section h2 {
font-size: 3rem !important;
}

#inspiration-section p {
font-size: 1.6rem !important;
}
}

/* Para tablets */
@media (max-width: 900px) {
#inspiration-section > div {
grid-template-columns: 1fr !important;
gap: 25px !important;
padding: 35px !important; /* Más padding en móvil */
}

#inspiration-section h2 {
font-size: 2.2rem !important;
text-align: center !important;
}

#inspiration-section p {
font-size: 1.3rem !important;
text-align: center !important;
}
}

/* Para móviles */
@media (max-width: 480px) {
#inspiration-section {
padding: 0 15px !important;
margin: 50px auto !important;
}

#inspiration-section > div {
padding: 25px !important;
}

#inspiration-section h2 {
font-size: 1.9rem !important;
}

#inspiration-section p {
font-size: 1.1rem !important;
}
}
/* ================== BOTÓN SCROLL TO TOP ================== */
.scroll-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: rgba(253, 184, 19, 0.9);
color: #000;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
box-shadow: 0 4px 20px rgba(253, 184, 19, 0.4);
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 999;
opacity: 0;
visibility: hidden;
transform: translateY(20px);
}

.scroll-to-top.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.scroll-to-top:hover {
background: #FDB813;
transform: translateY(-5px) scale(1.1);
box-shadow: 0 6px 25px rgba(253, 184, 19, 0.6);
}

.scroll-to-top:active {
transform: translateY(-2px) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
.scroll-to-top {
bottom: 20px;
right: 20px;
width: 45px;
height: 45px;
font-size: 1.3rem;
}
}

@media (max-width: 480px) {
.scroll-to-top {
bottom: 15px;
right: 15px;
width: 40px;
height: 40px;
font-size: 1.2rem;
}
}
