/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Variáveis de Cores para Tema Claro/Escuro */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --text-color: #333;
    --text-color-light: #666;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-lighter: #e9ecef;
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-shadow: rgba(0,0,0,0.1);
    --card-bg: #ffffff;
    --card-shadow: rgba(0,0,0,0.1);
    --border-color: #e9ecef;
    --footer-bg: #2c3e50;
    --footer-text: #bdc3c7;
    --whatsapp-bg: #25d366;
    --instagram-bg: #ff3780;
    --facebook-bg: #3b5998;
    --whatsapp-shadow: rgba(37, 211, 102, 0.3);
}

[data-theme="dark"] {
    --primary-color: #ff6b6b;
    --secondary-color: #ee5253;
    --text-color: #f5f6fa;
    --text-color-light: #ced6e0;
    --background-color: #2c3e50;
    --background-light: #34495e;
    --background-lighter: #3b5973;
    --header-bg: rgba(44, 62, 80, 0.95);
    --header-shadow: rgba(0,0,0,0.3);
    --card-bg: #34495e;
    --card-shadow: rgba(0,0,0,0.3);
    --border-color: #4a698a;
    --footer-bg: #1a2b3c;
    --footer-text: #95a5a6;
    --whatsapp-bg: #25d366;
    --whatsapp-shadow: rgba(37, 211, 102, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Banner de Pagamento */
.payment-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px var(--header-shadow);
}

.payment-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.payment-banner-content span {
    font-size: 18px;
    font-weight: 500;
}

.payment-banner i {
    font-size: 16px;
}

/* Header */
.header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--header-shadow);
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 100px;
    width: auto;
    filter: var(--logo-filter, none); /* Para inverter cores no modo escuro */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 8px 16px var(--card-shadow);
    list-style: none;
    min-width: 200px;
    z-index: 100;
    border-radius: 8px;
    overflow: hidden;
}

.nav-item.has-submenu:hover .submenu {
    display: block;
}

.submenu li a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu li a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Theme Toggle */
.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.theme-toggle-btn:hover {
    color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: var(--whatsapp-bg);
    color: white;
    box-shadow: 0 4px 15px var(--whatsapp-shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--card-shadow);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    background: var(--background-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature p {
    color: var(--text-color-light);
    font-size: 0.95rem;
}

/* Services Section (Updated) */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-lighter) 100%);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-block {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px var(--card-shadow);
    transition: background-color 0.3s ease;
}

.service-block h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-block p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
    text-align: center;
}

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

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-color-light);
}

.contact-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    font-family: inherit;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 90px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-light);
    color: var(--text-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--footer-text);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--whatsapp-shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-2 {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: var(--instagram-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--whatsapp-shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-2:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-3 {
    position: fixed;
    bottom: 30px;
    right: 170px;
    width: 60px;
    height: 60px;
    background: var(--facebook-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--whatsapp-shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-3:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px var(--whatsapp-shadow);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px var(--whatsapp-shadow);
    }
}

/* Image Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1002; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

#modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1003;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-button, .next-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.prev-button {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next-button {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Social Media Modal */
.social-modal .modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px var(--card-shadow);
}

.social-modal h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.social-modal p {
    color: var(--text-color-light);
    margin-bottom: 25px;
}

.social-links-modal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links-modal a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links-modal a.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.social-links-modal a.fa-facebook-f {
    background: #3b5998;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3);
}

.social-links-modal a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.social-modal .close-button {
    position: static;
    margin-top: 20px;
    color: var(--text-color-light);
    font-size: 1rem;
    background: var(--background-lighter);
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-modal .close-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-banner-content {
        font-size: 12px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--card-shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item.has-submenu:hover .submenu {
        display: none; /* Hide on mobile hover */
    }

    .nav-item.has-submenu .submenu {
        position: static;
        box-shadow: none;
        background-color: transparent;
        min-width: auto;
        padding: 0;
        border-radius: 0;
    }

    .submenu li a {
        padding: 8px 0;
        color: var(--text-color-light);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 140px 20px 60px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-list {
        gap: 50px;
    }

    .service-block {
        padding: 30px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .whatsapp-float-2 {
        bottom: 20px;
        right: 80px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .whatsapp-float-3 {
        bottom: 20px;
        right: 140px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .modal-content {
        max-width: 95%;
    }

    .close-button {
        right: 15px;
        font-size: 30px;
    }

    .prev-button, .next-button {
        padding: 10px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-block {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links-modal a {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .service-block,
    .feature,
    .btn,
    .gallery img {
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    }
}

/* Print styles */
@media print {
    .payment-banner,
    .header,
    .whatsapp-float,
    .modal,
    .social-modal {
        display: none;
    }
    
    .hero {
        padding-top: 20px;
    }
}

/* Dark mode specific styles */
[data-theme="dark"] .nav-logo .logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .social-links a {
    background: var(--background-lighter);
    color: var(--text-color);
}

[data-theme="dark"] .social-links a:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
}


