/* Globals */
:root {
    --primary-color: #893b00;
    --text-color: #444;
    --bg-color: #fff;
    --font-main: Verdana, Geneva, sans-serif;
    --font-heading: Lato, sans-serif;
}

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #662c00;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Topbar */
.topbar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.topbar a {
    color: #fff;
    margin-right: 15px;
}

.topbar span {
    color: #fff;
}

/* Header */
.main-header {
    background: #000 url('/assets/rodape1.png') repeat;
    padding: 20px 0;
}

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

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    background-color: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 3px;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-color);
}

/* Hero Slider */
.hero-slider .hero-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Welcome Section */
.welcome-section {
    padding: 40px 0;
    text-align: center;
}

.welcome-section h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.welcome-section .subtitle {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Gallery */
.features-section {
    padding: 20px 0 60px;
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background: #000 url('/assets/rodape1.png') repeat;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

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

.site-footer .developer {
    font-size: 12px;
    color: #aaa;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    .welcome-section h1 {
        font-size: 28px;
    }
}

/* Internal Pages */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 0;
}

.page-content {
    padding: 50px 0;
    font-size: 16px;
}

.article-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 30px 0 10px;
    font-size: 24px;
}

.article-content h5 {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1em;
}

.article-content strong {
    font-weight: bold;
}

.values-list {
    margin-top: 20px;
    padding-left: 20px;
    list-style-type: none;
}

.values-list li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.values-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

/* Media / Iframe */
.map-container {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

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

.gallery-item {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
}

.gallery-item .caption {
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--primary-color);
    margin: 5px 0;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #662c00;
}

.form-note {
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}

.contact-info-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.phone-numbers {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.whatsapp-link {
    display: inline-block;
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    margin-top: 5px;
}

.whatsapp-link:hover {
    background-color: #128c7e;
    color: #fff;
}

/* Responsive for Contact Page */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}