/*
Theme Name: Gobierno Soconusco 2026
Theme URI: http://soconusco.gob.mx
Author: H. Ayuntamiento de Soconusco
Description: Tema oficial para el H. Ayuntamiento de Soconusco 2026-2029
Version: 1.0
Text Domain: soconusco
*/

:root {
    --brand-primary: #e65100;
    --brand-primary-dark: #bf360c;
    --brand-accent: #ff9800;
    --brand-accent-light: #ffe0b2;
    --brand-accent-soft: #fff3e0;
    --brand-dark: #161c24;
}

body {
    background-color: #f8f9fa;
    border-top: 6px solid var(--brand-primary);
    color: #212529;
}

/* Clases utilitarias institucionales */
.bg-brand-maroon { background-color: var(--brand-primary) !important; }
.bg-brand-gold {
    background-color: var(--brand-accent) !important;
    color: #111 !important;
    font-weight: 600;
    border: none;
}
.bg-brand-gold:hover { background-color: var(--brand-primary) !important; color: #fff !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.text-brand-maroon { color: var(--brand-primary) !important; }
.text-brand-gold { color: var(--brand-accent) !important; }

/* Encabezado */
.header-logo { height: 72px; width: 72px; object-fit: contain; }
.header-banner-bg {
    background-color: var(--brand-dark);
    padding: 18px 0;
}
.header-banner-bg h4 { color: #ffffff !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
.header-banner-bg small { color: var(--brand-accent-light) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

/* Navegación */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--brand-primary) !important; }
.dropdown-menu { border-top: 3px solid var(--brand-primary) !important; border-radius: 0; margin-top: 0; }
.dropdown-item { font-size: 14px; }
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
    background-color: var(--brand-accent-soft);
    color: var(--brand-primary-dark);
}

/* Hero */
.hero-banner {
    background-color: var(--brand-dark);
    min-height: 420px;
}

/* Botones y tarjetas */
.dark-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 8px 18px;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.dark-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.outline-maroon-btn {
    background: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 8px 16px;
    text-decoration: none;
    transition: 0.25s;
    display: inline-block;
    font-weight: 500;
}
.outline-maroon-btn:hover { background: var(--brand-primary); color: #fff; }

.service-card-horiz {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--brand-primary);
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card-horiz:hover {
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.14);
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    border-left-color: var(--brand-primary);
}

/* LGCG y Tarjetas */
.lgcg-header-text { text-align: justify; font-size: 14px; color: #333; line-height: 1.6; margin-bottom: 36px; }
.lgcg-top-title, .lgcg-main-title { color: var(--brand-primary-dark); font-weight: 700; text-align: center; }
.lgcg-top-title { margin-bottom: 24px; }
.lgcg-main-title { text-transform: uppercase; margin-bottom: 20px; }

.lgcg-card {
    border: 2px solid var(--brand-primary);
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: #fff;
    height: 100%;
    min-height: 160px;
}
.lgcg-card:hover {
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.16);
    transform: translateY(-4px);
    background-color: var(--brand-accent-soft);
}
.lgcg-card .card-text { color: var(--brand-primary-dark); font-size: 15px; font-weight: 600; margin: 0; }

.trimester-card {
    border: 2px solid var(--brand-primary);
    border-radius: 10px;
    background: #fff;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.trimester-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 14px 0;
    border-bottom: 2px solid var(--brand-primary);
    margin: 0;
    color: var(--brand-primary-dark);
}
.trimester-body { padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.trimester-item-box {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    background-color: #fcfcfc;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: 0.2s;
}
.trimester-item-box:hover {
    border-color: var(--brand-primary);
    background-color: var(--brand-accent-soft);
    color: var(--brand-primary-dark);
}
.trimester-item-box i { color: var(--brand-primary); margin-right: 10px; margin-top: 2px; }

/* Footer */
footer a { color: #cccccc; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--brand-accent-light); text-decoration: underline; }