/* 
* Mueltur - Site Institucional
* Estilos personalizados
*/

:root {
    --primary: #003366;
    --accent: #00AA88;
    --text-dark: #212529;
    --text-light: #FFFFFF;
    --bg-light: #F8F9FA;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    padding-top: 76px; /* Compensar o header fixo */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    border: none;
    transition: all 0.3s ease;
    z-index: 999;
    position: relative;
}

.btn-accent:hover {
    background-color: #008866;
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('../images/general/WhatsAppImage2025-05-30at14.56.18.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Carousel */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Special Offer Popup */
.special-offer-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.special-offer-content {
    background-color: white;
    max-width: 500px;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: scaleIn 0.5s ease;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 10;
}

.offer-header {
    background-color: var(--accent);
    color: white;
    padding: 15px;
    text-align: center;
}

.offer-header h3 {
    margin: 0;
    font-size: 24px;
}

.offer-body {
    padding: 20px;
    text-align: center;
}

.offer-body h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.offer-note {
    background-color: var(--bg-light);
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
}

.offer-note p {
    margin-bottom: 5px;
    font-weight: 500;
}

.offer-note small {
    color: #6c757d;
}

.offer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.offer-buttons .btn {
    padding: 10px 20px;
    font-weight: 600;
}

.zindex {
  position: relative;
  z-index: 999;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .carousel-item img {
        height: 300px;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
}

@media (min-width: 768px) {
    .offer-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.pulse {
   position: relative;
   z-index: 1;
   animation: pulseGreen 1.5s ease-out 3;
}


@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 172, 120, 0.6); /* Verde */
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 172, 120, 0); /* Expande e apaga */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 172, 120, 0);
  }
}
