:root {
    --bg-dark: #030617;
    --bg-darker: #040921;
    --text-white: #ffffff;
    --text-black: #000000;
    --color-gold: #fbbb63;
    --color-gold-dark: #e7b764;
    --color-orange: #ce8b15;
    --color-orange-light: #e0ab5c;
    --color-blue: #344c7d;

    --font-heading: "Montserrat", sans-serif;
    --font-body: "Montserrat", sans-serif;
    --font-secondary: "Poppins", sans-serif;

    --container-width: 1043px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.highlight-gold {
    color: var(--color-gold-dark);
}

.text-white {
    color: var(--text-white) !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-image: linear-gradient(90deg, #fbbb63 0%, #fbd08f 100%);
    color: #030617;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2.9px;
    padding: 15px 30px;
    border: 1px solid #fbbb63;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 2px #fbbb63;
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background: transparent;
    color: #fbbb63;
    background-image: linear-gradient(180deg, #030617 0%, #030617 100%);
}

.btn-dark {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    background-color: #091121;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.btn-dark:hover {
    opacity: 0.9;
}

/* Header */
.site-header {
    background-color: #130b03;
    border-bottom: 1px solid #725b55;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 90px;
    height: auto;
    transition: 0.7s;
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-family: var(--font-secondary);
    font-size: 15px;
    color: #ffffff;
    transition: 0.2s;
    position: relative;
    line-height: 2;
}

.main-nav a:hover,
.main-nav .has-submenu:hover > a {
    color: #f64648;
}

.main-nav .has-submenu {
    position: relative;
}

.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 4px;
}

.main-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .submenu a {
    color: #333333;
    padding: 10px 15px;
    display: block;
    font-size: 13px;
    padding: 10px;
}

.main-nav .submenu a:hover {
    background-color: #f64648;
    color: #ffffff;
}

.btn-support {
    background-color: #f64648;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 14px;
    padding: 9px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-support:hover {
    background-color: #fd2d2f;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background-color: #060d1e;
    background-image: url("https://corredentora.com.br/wp-content/uploads/2024/09/pag1.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 300px 0 100px;
    min-height: 800px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0px;
}

.hero-subtitle {
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.flags-container {
    align-self: flex-end;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding-right: 10px;
}

.flags-container img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.video-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    margin-bottom: 44px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

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

/* Contribution Section */
.contribution-section {
    background-image: url("https://corredentora.com.br/wp-content/uploads/2024/09/Prancheta-3-2.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 150px 0;
    min-height: 600px;
}

.contribution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 6, 23, 0.5);
}

.contribution-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.contribution-text {
    width: 55%;
    text-align: left;
    font-size: 25px;
}

.contribution-text h1, .contribution-text h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.contribution-text p {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
}

/* Graphic */
.graphic-section {
    background-color: #ffffff;
    padding: 50px 0;
}

.graphic-title {
    color: #000;
    font-size: 31px;
    margin-bottom: 30px;
}

.graphic-image {
    max-width: 100%;
    height: auto;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #ffedd7;
    padding: 60px 0;
    color: #030617;
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.newsletter-form-wrapper {
    width: 45%;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 14px;
}

.newsletter-text-wrapper {
    width: 55%;
}

.newsletter-text-wrapper h4,
.newsletter-text-wrapper h6 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Timeline */
.timeline-section {
    background-color: #030617;
    padding: 60px 0 100px;
}

.timeline-title {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 80px;
    line-height: 1.2;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: var(--color-orange);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-year {
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 40px 0;
}

.timeline-year {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #222;
    font-weight: bold;
    padding: 5px 15px;
    border: 3px solid #e0e0e0;
    border-radius: 5px;
    font-size: 18px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    right: -22.5px;
    background-color: white;
    border: 2px solid #eaeaea;
    top: 30px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
}

.timeline-item.right .timeline-icon {
    left: -22.5px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    color: #222;
}

.timeline-item.left .timeline-content {
    border-right: 4px solid #605be5;
}

.timeline-item.right .timeline-content {
    border-left: 4px solid #605be5;
}

.timeline-content img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.timeline-content time {
    position: absolute;
    top: 30px;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    width: 180px;
    text-align: center;
}

.timeline-content time span {
    display: block;
    color: #7a7a7a;
    font-size: 12px;
    font-weight: normal;
}

.timeline-item.left time {
    right: -220px;
    color: #fff; /* It's visible over the dark background */
}
.timeline-item.right time {
    left: -220px;
    color: #fff;
}

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

.timeline-text h5 {
    color: #444;
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-text p {
    color: #808080;
    font-size: 15px;
}

/* Schedule Section */
.schedule-location-section {
    background-color: #030617;
    padding: 0 0 80px;
}

.schedule-location-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.schedule-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

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

.map-container iframe {
    width: 100%;
    height: 374px;
    border-radius: 5px;
}

.map-address {
    margin-top: 20px;
    font-family: var(--font-secondary);
    font-size: 20px;
    text-align: center;
}

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

.hours-box {
    background-color: #fff;
    padding: 0;
    border: 15px solid #fff;
    border-radius: 10px;
    overflow: hidden;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #f9f9f9;
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
}

.hour-item:nth-child(odd) {
    background-color: #ffffff;
}

.hour-item:hover {
    background-color: #f7f7f7;
}

.hour-item.highlight-orange {
    background-color: #e0ab5c !important;
}

.hour-item.highlight-blue {
    background-color: #344c7d !important;
}

/* Footer */
.site-footer {
    background-color: #040921;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #e0ab5c;
    font-size: 30px;
    transition: 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    color: #e0ab5c;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contribution-text {
        width: 100%;
        text-align: center;
    }

    .newsletter-container {
        flex-direction: column;
    }

    .newsletter-form-wrapper,
    .newsletter-text-wrapper {
        width: 100%;
        text-align: center;
    }

    .timeline::after {
        left: 50px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 100px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 27px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        border-left: 4px solid #605be5;
        border-right: none;
    }

    .timeline-year {
        left: 50px;
        transform: translateX(-50%);
        position: absolute;
    }

    .timeline-content time {
        position: static;
        width: auto;
        color: #222;
        margin-bottom: 10px;
        padding: 0;
    }

    .timeline-content time span {
        display: inline;
        margin-left: 5px;
    }

    .timeline-item.left time,
    .timeline-item.right time {
        color: #605be5;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px;
    }

    .main-nav, .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        background-image: url("https://corredentora.com.br/wp-content/uploads/2024/09/mobile-1.png");
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .contribution-section {
        background-image: url("https://corredentora.com.br/wp-content/uploads/2024/09/mobile-2.png");
    }

    .contribution-text h1 {
        font-size: 32px;
    }

    .contribution-text p {
        font-size: 18px;
    }

    .graphic-title {
        font-size: 24px;
    }
}
