:root {
    --primary-color: #004AAD; /* Deep Blue */
    --accent-color: #FFC300; /* Bright Yellow/Gold */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #fff;
    --spacing-unit: 1rem;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100vh;
}

/* Garante que o scroll por âncora considere a altura do header fixo */
section {
    scroll-margin-top: 140px;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3 {
    margin-bottom: var(--spacing-unit);
    font-weight: 900;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #ffda6a; /* slightly lighter yellow */
    transform: translateY(-2px);
}

/* Header & Navigation (Mobile First) */
.main-header {
    background-color: #004AAD; /* Deep Blue, matching logo */
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-container {
    line-height: 0; /* Prevents vertical space below inline elements */
}

.logo {
    height: 120px; /* Adjusted size based on user request (25% decrease from 160px) */
    width: auto;
    /* Recurso Visual: Efeito de destaque oscilante */
    filter: drop-shadow(0 0 4px rgba(255, 195, 0, 0.5)); /* Initial subtle glow */
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: glow-pulse 2s infinite alternate ease-in-out;
}

.logo:hover {
    animation-play-state: paused;
    transform: scale(1.03); /* Slight zoom on hover */
    filter: drop-shadow(0 0 8px var(--accent-color)); /* Enhanced glow on hover */
    cursor: pointer;
}

/* Keyframes for the oscillating visual resource */
@keyframes glow-pulse {
    0% {
        filter: drop-shadow(0 0 4px rgba(255, 195, 0, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 10px var(--accent-color));
    }
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 10px;
    min-width: 44px; /* Touch target minimum */
    min-height: 44px;
}

.nav-menu {
    position: absolute;
    top: 100%; /* Below the header */
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.open {
    max-height: 300px; /* Sufficient height for links */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.nav-menu li a {
    display: block;
    padding: 1rem;
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.nav-menu li a:hover {
    background-color: #003a85;
}

/* Hero Section */
.hero-section {
    /* Using a generic automotive shop background */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('auto_center_modern_blurred.png') no-repeat center center/cover;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    padding: 1rem;
    max-width: 90%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services-section {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    font-size: 1.2rem;
    margin-top: 0;
    color: var(--text-color);
}

/* Promoções Section */
.promos-section {
    background-color: var(--white);
    padding: 3rem 0;
}

.promos-section h2 {
    margin-bottom: 2rem;
}

.promos-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.promo-card {
    display: flex;
    gap: 0.75rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f7f9fc);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    padding: 0.9rem;
    align-items: center;
}

.promo-image-wrapper {
    flex: 0 0 90px;
}

.promo-image-wrapper img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(0, 74, 173, 0.12);
    background-color: #f0f0f0;
}

.promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.promo-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.promo-prices {
    font-size: 0.92rem;
    color: #555;
}

.promo-prices span {
    display: block;
}

.promo-prices span:first-child {
    font-weight: 700;
    color: #1b5e20;
}

.promo-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.promo-whatsapp-link-icon svg {
    width: 38px;
    height: 38px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.promo-whatsapp-link:hover svg {
    transform: scale(1.08);
    filter: brightness(1.1);
}
/*
.promo-whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #20b858);
    box-shadow: 0 4px 10px rgba(32, 184, 88, 0.35);
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.promo-whatsapp-link-icon {
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-whatsapp-link-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.promo-whatsapp-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(32, 184, 88, 0.45);
    filter: brightness(1.05);
}
*/
/* Features/Differentiators Section */
.features-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.features-section h2 {
    color: var(--accent-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.feature-item .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding-bottom: 4rem;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.map-container {
    margin-top: 2rem;
}

.map-container h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 300px; /* Default height for mobile */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: 2px solid var(--accent-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.contact-info h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}


/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-bg);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.admin-link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.admin-link:hover {
    text-decoration: underline;
}


/* Tablet and Desktop Adjustments (Responsiveness) */
@media (min-width: 768px) {
    .main-header {
        padding: 1rem 2rem; /* Adjusted padding to accommodate new logo size */
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        max-height: none;
        width: auto;
        box-shadow: none;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 1.5rem;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 4px;
    }
    
    .nav-menu li a:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .promo-card {
        padding: 1.1rem;
    }

    .promo-image-wrapper {
        flex: 0 0 110px;
    }

    .promo-image-wrapper img {
        width: 110px;
        height: 110px;
    }

    .promo-title {
        font-size: 1.05rem;
    }

    .promo-prices {
        font-size: 0.95rem;
    }

    .feature-list {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .feature-item {
        flex: 1;
        max-width: 30%;
    }
    
    .contact-section .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    /* Ensure H2 and Intro span both columns */
    .contact-section h2, .contact-intro {
        grid-column: 1 / -1;
    }
    
    .contact-form {
        grid-column: 1;
    }

    .contact-info {
        grid-column: 2;
    }
    
    .map-container {
        grid-column: 1 / -1; /* Span all columns */
        margin-top: 3rem;
    }
    
    .map-container iframe {
        height: 450px; /* Taller on desktop */
    }
}

