/* Reset e Variáveis */
:root {
    --primary-color: #001f3f; /* Azul Marinho */
    --secondary-color: #D4AF37; /* Amarelo Ouro */
    --accent-color: #f5f5dc; /* Bege */
    --text-color: #000000; /* Preto */
    --light-bg: #f4f1ea; /* Fundo Bege Claro */
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Moderno */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

header nav ul li a:hover {
    color: var(--primary-color);
}

.btn-login {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

.btn-login.admin {
    background: var(--primary-color);
    color: var(--white) !important;
}

.btn-login.admin:hover {
    background: #0a1f40;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3c70 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #e5cfb5;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.services h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.services h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--secondary-color);
}

.service-item i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}
/* Responsive Design (Mobile) */
@media (max-width: 768px) {
    /* Header Stack Layout */
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding-bottom: 10px;
    }
    
    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 8px;
    }

    /* Buttons full width on mobile */
    .btn-login {
        display: block;
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }

    /* Hero Section Adjustment */
    .hero {
        padding: 4rem 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    /* Generic Section Padding */
    .services, .about, .video-section, .news-section {
        padding: 3rem 0 !important;
    }

    /* Service Grid Adjustments */
    .service-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    
    .service-item {
        padding: 30px 20px;
    }

    /* Typography Adjustments */
    h3 {
        font-size: 1.5rem !important;
    }
    
    .about p {
        font-size: 1rem !important;
    }
    
    /* Navigation slider buttons */
    .slider-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem;
    }
    
    .news-slider-wrapper {
        padding: 0 10px !important;
    }
}

