/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Header */
.header {
    background-color: #373737;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo img,
.footer-logo img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo img {
    height: 90px;
}

.footer-logo img {
    height: 70px;
}

.logo img:hover,
.footer-logo img:hover {
    transform: scale(1.05);
}

.social-icons a {
    margin-left: 15px;
}

.social-icons img {
    height: 35px;
    width: 35px;
}

.nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid #FFD700;
}

.nav a {
    text-decoration: none;
    width: 300px;
    height: 60px;
    padding-top: 20px;
    text-align: center;
    color: #FFD700;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: #F1AF09;
    color: #373737;
}

.social img {
    height: 30px;
}

/* Banner */
.banner {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    color: #ffff00;
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
}

.mid {
    height: 1px;
    background-color: #373737;
    display: flex;
    justify-content: center;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    text-shadow: 0 0 10px black;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.service-card:hover::before {
    background-color: rgba(0, 0, 0, 0);
}

.service-card span {
    position: relative;
    z-index: 2;
    padding: 10px;
    font-size: 14px;
}

/* Tabela e GIF */
.tabela-container,
.gif-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tabela-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.gif-container {
    text-align: center;
    height: 570px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #FFD700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-wrap: wrap;
    border-top: 1px solid #FFD700;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.footer-info {
    text-align: right;
    line-height: 1.8;
    font-size: 14px;
}

.footer-info p {
    margin: 4px 0;
    transition: color 0.3s;
}

.footer-info p:hover {
    font-weight: bold;
}

/* WhatsApp & Floating Buttons */
.whatsapp-float,
.professor-float {
    position: fixed;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float { bottom: 200px; }
.professor-float { bottom: 500px; }

.whatsapp-btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.whatsapp-btn img {
    width: 180px;
    height: 180px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover img {
    width: 200px;
    height: 200px;
}

.whatsapp-menu {
    display: none;
    flex-direction: column;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 180px;
}

.whatsapp-menu a {
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.whatsapp-menu a:hover {
    background: #f5f5f5;
}

#toggle-whatsapp:checked + .whatsapp-btn + .whatsapp-menu {
    display: flex;
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    resize: none;
}

.contact-form button {
    background-color: #5a5d6c;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #444857;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 690px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #FFD700;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(90, 93, 108, 0.1);
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    color: #FFD700;
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #ffff00;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 200px;
        height: 100vh;
        background-color: #373737;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .menu-toggle:checked ~ .nav { right: 0; }
    .hamburger { display: flex; }
    .header { justify-content: space-between; padding: 10px 20px; }
    .header-top { flex-direction: column; gap: 10px; padding: 15px 20px; }
    .social-icons img { height: 24px; width: 24px; }
}

@media (max-width: 600px) {
    .service-card,
    .service-card:hover {
        height: 150px;
        font-size: 12px;
    }

    .banner {
        background-image: url('src/imp_fot.png');
        height: 300px;
    }

    .banner h1 {
        font-size: 18px;
        padding: 0 10px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        height: auto;
    }

    .footer-logo img { height: 60px; }

    .carousel { height: 560px; }
    .carousel-caption { font-size: 16px; padding: 8px 12px; }

    .nav a {
        width: 100%;
        padding-top: 15px;
        height: 50px;
        font-size: 14px;
    }

    .whatsapp-btn img { width: 130px; height: 130px; }
    .whatsapp-btn:hover img { width: 150px; height: 150px; }
}

/* Extra */
.cont { height: 50px; }

/* Matricula Page */
.matricula-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
}

.matricula-page .banner-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background: linear-gradient(180deg, #e0e0e0, #f8f8f8);
}
