/* Frota Page Specific Styles */

/* Frota Hero Section */
.frota-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('imagen/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.frota-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.frota-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.frota-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Frota Gallery Section */
.frota-gallery-section {
    padding: 5rem 0;
    background: var(--primary-soft);
}

.frota-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.frota-card {
    background: var(--surface-mid);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 300px;
    position: relative;
}

.frota-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.frota-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.frota-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.frota-card:hover .frota-overlay {
    opacity: 1;
}

/* Frota Videos Section */
.frota-videos-section {
    padding: 5rem 0;
    background: var(--surface-dark);
}

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

.frota-video-card {
    background: var(--surface-mid);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.frota-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 9:16 Aspect Ratio */
    background: #000;
}

.frota-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@media (max-width: 768px) {
    .frota-hero {
        background-attachment: scroll;
    }
    .frota-title {
        font-size: 2.5rem;
    }
    
    .frota-hero {
        min-height: 300px;
    }
    
    .frota-grid, .frota-videos-grid {
        grid-template-columns: 1fr;
    }
}
