/* Variáveis CSS para cores personalizadas */
:root {
    --text-dark: #333;
    --bg-light: #f8f9fa;
    
    --whatsapp-color: #25D366;
    --button-hover-color: #128C7E;

    --text-white: white;
    --text-success: #25D366;
    --text-failure: #ff4d4d;
    --text-warning: #ffff66;
}

.gas-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
    position: relative;
    top: -2px;
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

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

#store-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
}

.open {
    color: var(--text-success);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.closed {
    color: var(--text-failure);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.fail {
    color: var(--text-warning);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Botão de fazer pedido */
.order-btn {
    background-color: #0d6efd; /* Azul padrão Bootstrap, você pode trocar */
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.order-btn:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    color: var(--text-white);
}

/* Botão WhatsApp personalizado */
.whatsapp-btn {
    background-color: var(--whatsapp-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: var(--text-white);
}

.order-btn,
.whatsapp-btn {
    min-width: 330px;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    transition: all 0.3s ease;
}

.order-btn i,
.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Seções gerais */
.section {
    padding: 5rem 0;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Seção alternada com fundo */
.section-alt {
    background-color: var(--bg-light);
}

/* Cards customizados */
.custom-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Container para imagens dos serviços */
.service-image-container {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    /* mantém proporção de 1:1 */
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 3px solid #e9ecef;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-card:hover .service-image {
    transform: scale(1.1);
}

/* Google Maps responsivo */
.map-container {
    width: 100%;
    min-width: 400px;
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 480px) {
    .map-container {
        min-width: 100%;
        height: 300px;
    }
}

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

/* Links rápidos lado a lado com separador */
.quick-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.quick-links li {
    margin: 0;
}

.quick-links a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #25D366;
}

.quick-links li:not(:last-child)::after {
    content: " - ";
    color: #ccc;
    margin: 0 0.5rem;
    pointer-events: none;
}

/* Responsividade mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

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

    .order-btn,
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }
}