/* ========================================
   CSS COMPLETO - PÁGINA PRINCIPAL
   Projeto: ProtectionKids & SentinelaPrime
   Professor: James | Aluno: Usuário
   Data: Julho 2025
   ======================================== */

/* ========================================
   RESET CSS BÁSICO
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2c3e50;
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   HERO SECTION COM SUA IMAGEM
   AQUI QUE A MÁGICA ACONTECE!
   ======================================== */

.hero-section {
    height: 100vh;                          /* Altura total da tela */
    
    /* MUDE AQUI: Coloque o nome da sua imagem */
    background-image: url('assets/images/image1.png');
    
    /* CONFIGURAÇÃO PARA MÁXIMA COBERTURA */
    background-size: 100% 100%;                 /* Cobre toda a tela */
    background-position: center center;     /* Centraliza a imagem */
    background-repeat: no-repeat;           /* Não repete */
    background-attachment: scroll;          /* Compatibilidade mobile */
    
    /* LAYOUT DO CONTEÚDO */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* COR DE BACKUP (caso a imagem não carregue) */
    background-color: #2c3e50;
}

/* ========================================
   OVERLAY SUAVE (OPCIONAL)
   Remove se quiser a imagem 100% visível
   ======================================== */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.3);      /* Overlay leve (30%) */
    z-index: 1;
}

/* ========================================
   CONTEÚDO DO HERO (TEXTO + BOTÃO)
   ======================================== */

.hero-content {
    text-align: center;
    z-index: 2;                             /* Acima do overlay */
    position: relative;
    max-width: 800px;
    padding: 40px;
    
    /* FUNDO ELEGANTE PARA O TEXTO */
    background: rgba(44, 62, 80, 0.85);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    
    /* GRADIENTE DOURADO NO TEXTO */
    background: linear-gradient(45deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    color: #ecf0f1;
}

/* ========================================
   BOTÃO CALL-TO-ACTION AVANÇADO
   ======================================== */

.cta-button {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.4);
    background: linear-gradient(45deg, #c0392b, #a93226);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* ========================================
   SEÇÃO DE SERVIÇOS
   ======================================== */

.services-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    color: #2c3e50;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-container h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #34495e;
    font-weight: bold;
}

.services-container > p {
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: #7f8c8d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

/* ========================================
   CARDS DOS SERVIÇOS
   ======================================== */

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    left: 100%;
}

.service-card.kids {
    border-color: #27ae60;
}

.service-card.adult {
    border-color: #8e44ad;
}

.service-card:hover.kids {
    border-color: #27ae60;
    box-shadow: 0 25px 50px rgba(39, 174, 96, 0.2);
}

.service-card:hover.adult {
    border-color: #8e44ad;
    box-shadow: 0 25px 50px rgba(142, 68, 173, 0.2);
}

.service-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #95a5a6;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h4 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: bold;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #34495e;
}

/* ========================================
   LISTA DE FEATURES
   ======================================== */

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    padding: 0;
}

.features li {
    padding: 10px 0;
    font-size: 1rem;
    color: #27ae60;
    font-weight: 500;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.3s ease;
}

.features li:hover {
    padding-left: 10px;
    color: #229954;
}

.features li:last-child {
    border-bottom: none;
}

/* ========================================
   BOTÕES DOS SERVIÇOS
   ======================================== */

.service-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.kids-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 8px 15px rgba(39, 174, 96, 0.3);
}

.kids-btn:hover {
    background: linear-gradient(45deg, #229954, #27ae60);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(39, 174, 96, 0.4);
}

.adult-btn {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
    box-shadow: 0 8px 15px rgba(142, 68, 173, 0.3);
}

.adult-btn:hover {
    background: linear-gradient(45deg, #7d3c98, #8e44ad);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(142, 68, 173, 0.4);
}

/* ========================================
   FOOTER SIMPLES
   ======================================== */

footer {
    background-color: #1a252f;
    color: #ecf0f1;
    text-align: center;
    padding: 40px 20px;
    font-size: 1rem;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ======================================== */

@media (max-width: 768px) {
    
    /* HERO RESPONSIVO */
    .hero-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    /* SERVIÇOS RESPONSIVOS */
    .services-section {
        padding: 60px 20px;
    }
    
    .services-container h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-icon {
        font-size: 3.5rem;
    }
    
    .service-card h4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-container h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card h4 {
        font-size: 1.6rem;
    }
}

/* ========================================
   ANIMAÇÕES EXTRAS (BONUS)
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}