/* css/custom-style.css */
:root {
    --bs-primary: #004AAD; /* Azul Rapidão Gás - Ajuste conforme seu logo */
    --bs-secondary: #6c757d; /* Cinza padrão Bootstrap */
    --bs-success: #198754; /* Verde padrão Bootstrap */
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --primary-accent: #FF7A00; /* Laranja Rapidão Gás - Ajuste */
    --font-family-sans-serif: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family-sans-serif);
    background-color: var(--bs-light);
    color: var(--bs-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}


/* Navbar */
.navbar {
    background-color: #fff !important; /* Forçar branco para o navbar */
}
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}
.navbar .nav-link {
    font-weight: 500;
    color: var(--bs-dark) !important; /* Links escuros no navbar claro */
    padding-left: 1rem;
    padding-right: 1rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--primary-accent) !important;
}
.navbar .dropdown-menu {
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}
.navbar .btn-sm-custom { /* Botão "Pedir Agora" no navbar */
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}
.navbar .btn-sm-custom:hover {
    background-color: #146c43;
    border-color: #13653f;
}


/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover {
    background-color: #003a8c; /* Darker primary */
    border-color: #003a8c;
}
.btn-primary-accent {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #fff;
}
.btn-primary-accent:hover {
    background-color: #e06c00; /* Darker accent */
    border-color: #e06c00;
    color: #fff;
}

/* Page Headers (Breadcrumbs replacement) */
.page-header-modern {
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
    position: relative;
}
.page-header-modern::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.page-header-modern .container {
    position: relative; /* To be above overlay */
    z-index: 1;
}
.page-header-modern h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-header-modern .breadcrumb {
    background: none;
    padding: 0;
    justify-content: center;
}
.page-header-modern .breadcrumb-item a {
    color: #f0f0f0;
}
.page-header-modern .breadcrumb-item.active {
    color: #fff;
}

/* Section Styling */
.section-padding {
    padding: 60px 0;
}
.section-title {
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--bs-primary);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
    margin: 10px auto 0; /* Center if text-center is on parent */
}
.text-center .section-title::after {
    margin-left: auto; margin-right: auto;
}


/* Product Card */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    overflow: hidden; /* To contain image hover effect */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-card .card-img-top {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Or 'cover' if images are varied */
    padding: 10px;
    transition: transform 0.3s ease;
}
.product-card:hover .card-img-top {
    transform: scale(1.05);
}
.product-card .card-body {
    text-align: center;
}
.product-card .price-old {
    text-decoration: line-through;
    color: var(--bs-secondary);
    font-size: 0.9em;
}
.product-card .price-new {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 1.3em;
}

/* About Us Tabs */
.nav-tabs-modern .nav-link {
    color: var(--bs-primary);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin-right: 5px;
}
.nav-tabs-modern .nav-link.active {
    color: var(--primary-accent);
    border-bottom-color: var(--primary-accent);
    background-color: transparent;
}
.tab-content-modern {
    padding-top: 20px;
}

/* Testimonial / Quote */
.quote-modern {
    background-color: #f0f8ff; /* Light blue background */
    padding: 20px;
    border-left: 5px solid var(--primary-accent);
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}
.quote-modern img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--primary-accent);
}

/* Contact Form */
.form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-accent-rgb), .25); /* Needs --primary-accent-rgb */
}

/* Footer */
.footer-modern {
    background-color: var(--bs-dark); /* Dark background */
}
.footer-modern h5 {
    color: var(--primary-accent);
}
.footer-modern a, .footer-modern p {
    color: #adb5bd;
    text-decoration: none;
}
.footer-modern a:hover {
    color: #fff;
}
.footer-modern .btn-outline-light {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}
.footer-modern .btn-outline-light:hover {
    background-color: var(--primary-accent);
    color: #fff;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95); /* Dark with slight transparency */
    color: #fff;
    z-index: 1050; /* Above most elements */
    display: none; /* JS will show it */
    font-size: 0.9rem;
}
#cookie-banner a {
    text-decoration: underline;
}
#cookie-banner a:hover {
    color: #fff;
}

/* WhatsApp Fixed Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1030;
    width: 55px;
    height: 55px;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Preloader */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}
.preloader.fade-out {
    opacity: 0;
    pointer-events: none; /* Allow interaction with page after fade */
}

/* For --primary-accent-rgb if needed for box-shadow on focus */
/* You'll need to convert your --primary-accent hex to RGB. e.g., FF7A00 -> 255, 122, 0 */
/* :root { --primary-accent-rgb: 255, 122, 0; } */

/* Responsive Adjustments */
@media (max-width: 767px) {
    .page-header-modern h1 {
        font-size: 2rem;
    }
    .navbar-nav .btn-sm-custom { /* Make button full width on mobile dropdown */
        width: 100%;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}