/* Basic Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-heading {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* Colors */
:root {
    --black: #1a1a1a;
    --gray: #f5f5f5;
    /* --dark-gray: #505050; */
    --dark-gray: #666666;
    /* --orange: #ff6a00; */
    --orange: #e88d0c;
    --white: #ffffff;
}

/* Header */
.main-header {
    background-color: black;
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between images */
    text-decoration: none;
}

.logo-img-tropical {
    height: 50px; /* Adjust height as needed */
    width: auto;
}

.logo-img-cartao {
    height: 35px; /* Adjust height as needed */
    width: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav a {
    color: var(--gray);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--orange);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}
/* Hero Section */
.hero-section {
    background-color: var(--black);
    color: var(--white);
    padding-top: 90px; /* Space for the fixed header */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 60vh;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-heading {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subheading {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    color: var(--orange);
    border: 1px solid var(--orange);
}

.btn-secondary:hover {
    background-color: var(--orange);
    color: var(--white);
}

/* About Section */
.about-section {
    background-color: var(--gray);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os itens horizontalmente */
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: left; /* Alinha o texto à esquerda para melhor legibilidade */
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 40px 20px 20px;
    text-align: left;
}

/* Programs Section */
.programs-section {
    background-color: var(--white);
}

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

.program-card {
    background-color: var(--black);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--orange);
}

.program-card h4 {
    font-size: 1.5em;
    margin: 15px 0 10px;
    color: var(--orange);
}

.program-card p {
    color: var(--gray);
}

/* Faculty Section */
.faculty-section {
    background-color: var(--dark-gray);
    color: var(--white);
}

.faculty-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.faculty-member {
    text-align: center;
}

.faculty-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--orange);
}

.faculty-name {
    margin-top: 15px;
    font-size: 1.2em;
    color: var(--orange);
}

/* Footer */
.main-footer {
    background-color: black;
    color: var(--gray);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 300px;
}

.footer-logo-section .logo {
    margin-bottom: 20px;
}

.footer-contact-info {
    margin: 20px 0;
    font-size: 1.1em;
}

.footer-contact-info p {
    margin: 5px 0;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media-links a {
    margin-right: 15px;
}

.social-media-links i {
    font-size: 32px; /* Control icon size */
    color: var(--gray);
    transition: transform 0.3s ease;
}

.social-media-links a:hover i {
    transform: scale(1.1);
    color: var(--orange);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid var(--dark-gray);
    border-radius: 5px;
    background-color: #333;
    color: var(--white);
}

.recaptcha-notice {
    font-size: 0.75em;
    color: var(--dark-gray);
    margin-top: 15px;
    max-width: 350px;
}

.recaptcha-notice a {
    color: var(--dark-gray);
    text-decoration: underline;
}

.grecaptcha-badge { 
    visibility: hidden; 
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--dark-gray);
    padding-top: 20px;
    font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide nav on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: black;
    }

    .main-nav.is-active {
        display: block; /* Show nav when active */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }

    .hero-container {
        flex-direction: column;
        gap: 0; /* Remove o espaço entre a imagem e o texto */
    }

    .hero-content {
        text-align: center;
        order: 2; /* Display text below the image */
        margin-bottom: 20px; /* Adiciona espaço abaixo do botão */
    }

    .hero-image {
        order: 1; /* Display image above the text */
    }

    .hero-image img {
        margin-top: 20px; /* Afasta a imagem do header */
        aspect-ratio: 1 / 1; /* Força a proporção quadrada */
        max-width: 290px; /* Limita a largura máxima */
        max-height: 290px; /* Limita a altura máxima */
    }

    .hero-heading {
        font-size: 2.5em; /* Adjust font size for mobile */
        margin-top: 10px; /* Remove a margem superior para aproximar do texto */
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-heading {
        font-size: 2em;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        text-align: center;
    }
}

/* Custom Alert Modal */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-alert-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.custom-alert-box {
    background-color: var(--white);
    color: var(--black);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.is-visible .custom-alert-box {
    transform: scale(1);
}

.custom-alert-box h4 {
    margin-top: 0;
    font-size: 1.5em;
    color: var(--black);
}

.custom-alert-box p {
    margin-bottom: 25px;
    color: var(--dark-gray);
}
