:root {
    --primary-color: #1a472a;
    --secondary-color: #2d8c3e;
    --accent-color: #44b54f;
    --dark-accent: #1a1a1a;
    --red-accent: #8b0000;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.header {
    background: linear-gradient(135deg, var(--dark-accent), var(--primary-color) 50%, var(--red-accent));
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    width: 100px;
    height: 50px;
}

.logo-img {
    position: relative;
    z-index: 1;
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 71, 42, 0.9), rgba(45, 140, 62, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.hero h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 500;
}

.hero h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.hero h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: 2px solid var(--accent-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.services {
    padding: 5rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--background-color);
}

.services h2, .gallery h2, .contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, #fff, #f8f8f8);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.gallery {
    padding: 5rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.contact {
    padding: 5rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--background-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.submit-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: scale(1.02);
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-info h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.contact-info h5 {
    color: var(--primary-color);
    margin-top: 1.2rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 5px;
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.social-button i {
    margin-right: 0.5rem;
}

.social-button.instagram {
    background: linear-gradient(45deg, var(--dark-accent), var(--primary-color));
}

.social-button.whatsapp {
    background: var(--secondary-color);
}

.social-button:hover {
    transform: scale(1.05);
}

.footer {
    background: linear-gradient(135deg, var(--dark-accent), var(--primary-color) 50%, var(--red-accent));
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
    
    .hero h4 {
        font-size: 1.2rem;
    }
    
    .hero h5 {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
}

/* Blog Styles */
.blog {
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.blog-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.post-button:hover {
    transform: scale(1.05);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-media {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.post-media img,
.post-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.like-button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.like-button:hover {
    color: var(--accent-color);
}

.like-button.liked {
    color: #e74c3c;
}

.delete-post {
    display: none !important;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-button {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pagination-button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Post Modal Styles */
.post-modal {
    max-width: 700px;
}

.media-upload {
    margin: 1.5rem 0;
}

.media-preview {
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.media-preview:hover {
    background-color: rgba(0,0,0,0.05);
}

.media-preview i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.media-preview.has-media {
    border: none;
    padding: 0;
}

.media-preview.has-media img,
.media-preview.has-media video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.post-form textarea {
    min-height: 150px;
}

@media (max-width: 768px) {
    .blog-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .post-media {
        height: 300px;
    }

    .post-content {
        padding: 1.5rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
}

.modal-caption h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.modal-caption p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Promo Card Styles */
.promo-card {
    width: 150px;
    height: 60px;
    position: relative;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: scale(1.05);
}

.promo-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
    outline: none;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

.whatsapp-message {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    color: var(--text-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-message.show {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

/* Estilos para headings */
h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Ajustes específicos */
.hero h1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-header h2 {
    margin-bottom: 0.5rem;
}

.blog-header h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-form h4,
.contact-info h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.contact-info h5 {
    color: var(--primary-color);
    margin-top: 1.2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
}

/* Link do Admin no Rodapé */
.admin-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-link i {
    margin-right: 8px;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Fim do arquivo */ 