/* CSS Variables for Color Palette */
:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFC107;
    --dark-yellow: #F39C12;
    --accent-red: #DC143C;
    --dark-red: #B71C1C;
    --black: #1A1A1A;
    --dark-gray: #2C2C2C;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}


/* Reset and Base Styles */
/* Keep mobile normal (16px is standard) */
html {
    font-size: 16px;
}

/* Only make it bigger on screens wider than 1024px (Laptops/Desktops) */
@media (min-width: 1024px) {
    html {
        font-size: 18px; /* This mimics 125% zoom */
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    color: var(--white);              /* Text becomes white */
    background-color: var(--black);   /* Black background */
    font-size: 1.8rem;
    font-weight: 700;
    padding: 5px 15px;                /* Spacing inside the black box */
    border-radius: 6px;               /* Slightly rounded corners */
    display: inline-block;            /* Makes the box wrap tightly around the text */
    line-height: 1.2;
    margin-bottom: 5px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--black);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-dark);
    background: linear-gradient(135deg, var(--secondary-yellow), var(--dark-yellow));
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    margin-left: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--accent-red);
}

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

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* make sure the toggle has enough space and doesn't clip rotated bars */
    position: relative;
    width: 34px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    /* use absolute positioning so rotations don't get clipped and are centered */
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 34px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* stack the three bars properly */
.mobile-menu-toggle span:nth-child(1) { top: 4px; }
.mobile-menu-toggle span:nth-child(2) { top: 10px; }
.mobile-menu-toggle span:nth-child(3) { top: 16px; }

/* Active (X) state — use translateY + rotate to avoid clipping on the right */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Ensure header/container don't clip the toggle */
.header,
.header .container {
    overflow: visible;
}

/* Hero Section */
.hero {
    /* background moved to pseudo-element so we can control opacity without affecting children */
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background image with controllable opacity (70%) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/Gold_Background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1; /* 90% opacity */
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.75)
}

/* Grain overlay positioned above the background but below content */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.03"/><circle cx="10" cy="60" r="1" fill="%23000" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Desktop: align hero content to the top of the background image
   Keep current behavior for tablet/phone (existing max-width media queries remain) */
@media (min-width: 769px) {
    .hero {
        display: flex;
        align-items: flex-start; /* make content sit at the top of the hero */
        justify-content: center; /* keep content centered horizontally */
    }

    /* Ensure the container doesn't change layout unexpectedly */
    .hero > .container {
        display: block;
        width: 100%;
    }

    /* Make sure the hero content stays full-width inside the centered container */
    .hero-content {
        width: 100%;
    }
}

.hero h2 {
    font-size: 8rem;
    background: linear-gradient(90deg,
        #E53935 0%,      /* Medium red */
        #EF4A36 45%,     /* Between medium and slightly deeper */
        #E53935 100%     /* Slightly deeper red */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 5px var(--shadow);
    animation: fadeInUp 1s ease;
}

.hero h3 {
    font-size: 2.8rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-contact {
    animation: fadeInUp 1s ease 0.6s both;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 1000 ;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.phone-number i {
    color: #25D366;
    font-size: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-red));
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-red));
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--black);
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
}

.reviews-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.review-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.review-card.active {
    display: block;
}

.stars {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.reviewer h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.reviewer span {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.review-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.review-btn {
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.review-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    background: var(--accent-red);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--black);
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--dark-gray);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--black);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
}

.footer-section i {
    color: var(--primary-yellow);
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    line-height: 1;
    margin: auto;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #CCCCCC;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile nav: keep the nav in the DOM and positioned off-screen
       so toggling the .active class can animate it into view. */
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-yellow);
        box-shadow: 0 2px 10px var(--shadow);
        transition: top 0.3s ease;
        z-index: 999;
        display: block; /* ensure it's renderable so .active can show it */
        padding: 0;
    }

    .nav.active {
        top: 70px; /* slide down under header */
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 1rem;
    }

    .nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .mobile-menu-toggle {
        display: flex;
        cursor: pointer;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.3rem;
    }
    
    .phone-number {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .review-navigation {
        gap: 1rem;
    }
    
    .review-btn {
        width: 40px;
        height: 40px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects for Interactive Elements */
.service-card,
.review-card,
.contact-form {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
.nav a:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* --- New Map Section Styles --- */
.map-section {
    padding: 80px 0;
    background: #fff;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

.map-info-box {
    padding: 3rem;
    background: linear-gradient(135deg, var(--black), #2c2c2c);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-box h3 {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.map-address {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.map-contact-list {
    margin-bottom: 2rem;
}

.map-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.map-contact-item i {
    color: var(--primary-yellow);
    width: 25px;
}

.map-contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.map-contact-item a:hover {
    color: var(--primary-yellow);
}

.map-socials-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.map-socials-row .social-link {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.map-socials-row .social-link:hover {
    background: var(--primary-yellow);
    color: var(--black);
}

.map-frame {
    min-height: 400px;
    position: relative;
}

.map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .map-wrapper {
        grid-template-columns: 1fr;
    }
    .map-frame {
        height: 300px;
        min-height: auto;
    }
    .map-info-box {
        padding: 2rem;
    }
}
/* Footer Link Hover */
.footer-bottom a:hover {
    color: var(--primary-yellow) !important;
    text-decoration: underline !important;
}

/* --- Floating WhatsApp Button Styles --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Ensures it stays on top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Animation definition */
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Darker green on hover */
    transform: scale(1.1); /* Slight zoom effect */
    color: #FFF;
}

/* Icon specific adjustment */
.whatsapp-float i {
    margin-top: 2px; /* Slight visual correction for centering */
}

/* Pulse Animation Keyframes */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment (optional) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* --- Cookie Banner Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--black); /* Fundo preto para contraste */
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 10000; /* Garante que fique acima de tudo */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: var(--white);
}

/* Ajuste do botão dentro do banner */
.cookie-content .btn {
    padding: 8px 25px;
    font-size: 0.9rem;
    white-space: nowrap; /* Impede que o texto do botão quebre */
    flex-shrink: 0; /* Impede o botão de ser esmagado */
}

/* Animação de entrada */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Responsivo para Celular */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
}