/* ARQUIVO: public/css/style_Offroad.css */
/* Página Off-Road - CAAC Arena Cataratas */

/* ============================================ */
/* FUNDO DINÂMICO */
/* ============================================ */

.offroad-body {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85)), 
                url('/public/img/fundo.jpg');
    background-size: cover;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

body.offroad-body.bg-street-focus {
    background-position: 15% center !important;
}

body.offroad-body.bg-offroad-focus {
    background-position: 85% center !important;
}

/* ============================================ */
/* CONTAINER E UTILITÁRIOS */
/* ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 87, 34, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff5722;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-tag.muted {
    background: rgba(255,255,255,0.05);
    color: #666;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.section-header h2 span {
    color: #ff5722;
}

.section-header p {
    color: #aaa;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.offroad-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: -70px;
    padding-top: 70px;
}

.offroad-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.offroad-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 87, 34, 0.2);
    border: 1px solid #ff5722;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff5722;
    margin-bottom: 30px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-title-accent {
    background: linear-gradient(135deg, #fff, #ff5722);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff5722;
    color: #fff;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #e04e1f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.hero-scroll span {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 5px;
}

.hero-scroll i {
    color: #ff5722;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================ */
/* SOBRE OFF-ROAD */
/* ============================================ */

.offroad-sobre {
    padding: 80px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.sobre-texto p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.caracteristicas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.carac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.carac-item i {
    font-size: 1.3rem;
    color: #ff5722;
}

.carac-item span {
    font-size: 0.85rem;
    color: #ccc;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ============================================ */
/* TRILHAS */
/* ============================================ */

.offroad-trilhas {
    padding: 80px 0;
    background: rgba(0,0,0,0.3);
}

.trilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.trilha-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s;
}

.trilha-card:hover {
    transform: translateY(-5px);
}

.trilha-imagem {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.trilha-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.trilha-card:hover .trilha-imagem img {
    transform: scale(1.05);
}

.trilha-dificuldade {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.trilha-dificuldade.facil {
    background: #28a745;
    color: #fff;
}

.trilha-dificuldade.moderado {
    background: #ffc107;
    color: #000;
}

.trilha-dificuldade.dificil {
    background: #dc3545;
    color: #fff;
}

.trilha-info {
    padding: 20px;
}

.trilha-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.trilha-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    color: #888;
}

.trilha-meta i {
    margin-right: 4px;
    color: #ff5722;
}

.trilha-info p {
    color: #aaa;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-saiba {
    width: 100%;
    padding: 10px;
    background: #ff5722;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-saiba:hover {
    background: #e04e1f;
}

/* ============================================ */
/* MODALIDADES */
/* ============================================ */

.offroad-modalidades {
    padding: 80px 0;
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.modalidade-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 20px;
    transition: 0.2s;
}

.modalidade-card:hover {
    background: rgba(30, 30, 30, 0.7);
    transform: translateY(-3px);
}

.modalidade-card i {
    font-size: 2.5rem;
    color: #ff5722;
    margin-bottom: 15px;
}

.modalidade-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
}

.modalidade-card p {
    font-size: 0.8rem;
    color: #aaa;
}

/* ============================================ */
/* REGULAMENTO */
/* ============================================ */

.offroad-regulamento {
    padding: 80px 0;
    background: rgba(0,0,0,0.3);
}

.regulamento-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,87,34,0.3);
    max-width: 800px;
    margin: 0 auto;
}

.regulamento-icon i {
    font-size: 3rem;
    color: #ff5722;
    margin-bottom: 20px;
}

.regulamento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.regulamento-card p {
    color: #aaa;
    margin-bottom: 25px;
}

.regulamento-card ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
}

.regulamento-card li {
    padding: 8px 0;
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.regulamento-card li i {
    color: #28a745;
    width: 20px;
}

.btn-regulamento {
    background: transparent;
    border: 1px solid #ff5722;
    padding: 12px 30px;
    border-radius: 40px;
    color: #ff5722;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-regulamento:hover {
    background: #ff5722;
    color: #fff;
}

/* ============================================ */
/* AGENDAMENTO */
/* ============================================ */

.offroad-agendamento {
    padding: 80px 0;
}

.agendamento-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,87,34,0.3);
    max-width: 600px;
    margin: 0 auto;
}

.agendamento-icon i {
    font-size: 3rem;
    color: #ff5722;
    margin-bottom: 20px;
}

.agendamento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.agendamento-card p {
    color: #aaa;
    margin-bottom: 25px;
}

.agendamento-valores {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.valor-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
}

.valor-item span {
    color: #ccc;
    font-size: 0.85rem;
}

.valor-item strong {
    color: #ff5722;
    font-size: 1rem;
}

.btn-agendar {
    width: 100%;
    padding: 14px;
    background: #ff5722;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-agendar:hover {
    background: #e04e1f;
}

/* ============================================ */
/* GALERIA */
/* ============================================ */

.offroad-galeria {
    padding: 80px 0 100px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.2s;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* ============================================ */
/* MODAL GALERIA */
/* ============================================ */

.modal-galeria {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-galeria img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* ============================================ */
/* RESPONSIVO */
/* ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .caracteristicas {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .trilhas-grid {
        grid-template-columns: 1fr;
    }
    
    .modalidades-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .agendamento-card {
        padding: 25px;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-prev, .modal-next {
        font-size: 1rem;
        padding: 8px;
    }
}