:root {
    --primary-color: #e74c3c; /* Vermelho */
    --secondary-color: #2c3e50; /* Azul Escuro/Grafite */
    --text-color: #34495e; /* Cinza Escuro */
    --light-bg-color: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Montserrat', sans-serif;
    --container-width: 1100px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.5); /* Reduced opacity from 0.7 to 0.5 */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.about-us {
    background-color: var(--white-color);
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.services {
    background-color: var(--light-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Courses Section */
.courses {
    background-color: var(--white-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.course-card {
    background-color: var(--light-bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-icon {
    height: 60px;
    margin-bottom: 20px;
}

.course-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.testimonials {
    background-color: var(--white-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0 40px;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.map-container iframe {
    border-radius: var(--border-radius);
    width: 100%;
    height: 250px;
}

.address {
    margin-top: 20px;
}

.address h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.address p {
    color: #bdc3c7;
}

.footer p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.social-links a {
    color: var(--white-color);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #25d366; /* WhatsApp green */
}

.social-links svg {
    width: 32px;
    height: 32px;
}

.social-links a[href*="wa.me"] svg {
    stroke: #25d366;
}

.social-links a[href*="wa.me"]:hover svg {
    stroke: #128c7e;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 65px;
        left: 0;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 20px;
    }
}