/* Hub Guides — Premium Regional Guide Styles
   Design System: betosuperhost.com
   Palette: accent-warm / accent-cool / accent-blue
   BG: bg-primary / bg-card / bg-surface   Text: text-primary / text-body / text-muted
*/

:root {
    --beto-bg-primary: #191919;
    --beto-bg-card: #252525;
    --beto-bg-surface: #1e1e1e;
    --beto-border: #333;
    --beto-border-subtle: #2a2a2a;
    --beto-text-primary: #fff;
    --beto-text-body: #d4d4d4;
    --beto-text-muted: #9b9b9b;
    --beto-accent-warm: #cb7b37;
    --beto-accent-cool: #4f9768;
    --beto-accent-blue: #447acb;
}

/* ── Navigation ── */
.hg-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(25, 25, 25, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--beto-border);
    border-radius: 12px;
    padding: 0;
    margin: 0 0 2.5rem;
    overflow: hidden;
}
.hg-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}
.hg-nav li {
    flex: 1;
    display: flex;
}
.hg-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0.5rem;
    background: transparent;
    color: var(--beto-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
}
.hg-nav a:hover,
.hg-nav a:focus {
    color: var(--beto-accent-warm);
    border-bottom-color: var(--beto-accent-warm);
    background: rgba(203, 123, 55, 0.06);
}
/* Nav separator between items */
.hg-nav li + li {
    border-left: 1px solid var(--beto-border-subtle);
}

/* ── Section ── */
.hg-section {
    margin: 3rem 0 1.5rem;
    padding-top: 1rem;
}
.hg-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--beto-accent-warm);
}
.hg-section-subtitle {
    font-size: 0.95rem;
    color: var(--beto-text-muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* ── Card ── */
.hg-card {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--beto-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--beto-bg-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hg-card:hover {
    border-color: var(--beto-accent-warm);
    box-shadow: 0 4px 24px rgba(203, 123, 55, 0.1);
}

@media (min-width: 600px) {
    .hg-card {
        grid-template-columns: 220px 1fr;
    }
}
@media (min-width: 900px) {
    .hg-card {
        grid-template-columns: 280px 1fr;
    }
}

/* Card image */
.hg-card-visual {
    position: relative;
    overflow: hidden;
    min-height: 180px;
}
.hg-card-img-link {
    display: block;
    height: 100%;
}
.hg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.hg-card:hover .hg-card-img {
    transform: scale(1.03);
}
.hg-card-map-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(79, 151, 104, 0.9);
    color: var(--beto-text-primary);
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.hg-card:hover .hg-card-map-badge {
    opacity: 1;
}

/* Card body */
.hg-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hg-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: var(--beto-accent-cool);
}
.hg-card-desc,
.hg-card-desc p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--beto-text-muted);
    margin: 0;
}

/* Dica do Beto (inside card) */
.hg-card-tip {
    background: rgba(203, 123, 55, 0.08);
    border-left: 3px solid var(--beto-accent-warm);
    padding: 0.6rem 0.8rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--beto-text-body);
    font-style: italic;
}

/* Map link (when no image) */
.hg-card-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--beto-accent-cool);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.25rem;
}
.hg-card-map-link:hover {
    text-decoration: underline;
}

/* ── Tip block (standalone) ── */
.hg-tip-block {
    background: rgba(203, 123, 55, 0.06);
    border-left: 3px solid var(--beto-accent-warm);
    padding: 0.8rem 1rem;
    border-radius: 0 10px 10px 0;
    margin: 1rem 0;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--beto-text-body);
}

/* Tip label */
.hg-tip-label {
    font-weight: 600;
    font-style: normal;
    color: var(--beto-accent-warm);
}

/* ── Extras (also worth visiting) ── */
.hg-extras {
    background: var(--beto-bg-card);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1rem 0 2rem;
}
.hg-extras-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    color: var(--beto-accent-cool);
}
.hg-extras ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hg-extras li {
    background: var(--beto-bg-primary);
    border: 1px solid var(--beto-border);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--beto-text-muted);
}

/* ── Info grid ── */
.hg-info {
    background: var(--beto-bg-primary) !important;
    border: 1px solid var(--beto-border);
    border-radius: 12px;
    padding: 1.75rem;
    margin: 2.5rem 0;
}
.hg-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--beto-accent-cool);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hg-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 500px) {
    .hg-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.hg-info-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--beto-border-subtle);
    background: transparent !important;
}
.hg-info-item:last-child {
    border-bottom: none;
}
@media (min-width: 500px) {
    .hg-info-item:nth-child(odd) {
        border-right: 1px solid var(--beto-border-subtle);
        padding-right: 1rem;
    }
    .hg-info-item:nth-child(even) {
        padding-left: 1rem;
    }
    .hg-info-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}
.hg-info-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 151, 104, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(79, 151, 104, 0.25);
}
.hg-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.hg-info-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--beto-text-primary);
    display: block;
    line-height: 1.3;
}
.hg-info-value {
    font-size: 0.8rem;
    color: var(--beto-text-muted);
    display: block;
    line-height: 1.4;
}

/* ── CTA ── */
.hg-table-wrap {
    margin: 1.5rem 0;
}
.hg-table-title {
    color: var(--beto-accent-warm);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}
.hg-table-scroll {
    overflow-x: auto;
    border: 1px solid var(--beto-border);
    border-radius: 10px;
}
.hg-table {
    width: 100%;
    min-width: 430px;
    border-collapse: collapse;
    background: var(--beto-bg-surface);
    font-size: 0.82rem;
}
.hg-table th,
.hg-table td {
    padding: 0.7rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--beto-border-subtle);
    color: var(--beto-text-body);
}
.hg-table th {
    color: var(--beto-text-primary);
    background: var(--beto-bg-card);
    font-weight: 600;
}
.hg-table tr:last-child td {
    border-bottom: none;
}

.hg-cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin: 3rem 0 2rem;
    border-top: 1px solid var(--beto-border);
    border-bottom: 1px solid var(--beto-border);
}
.hg-cta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--beto-accent-cool);
    margin: 0 0 0.75rem;
    font-weight: 600;
}
.hg-cta-title {
    font-size: 1.5rem;
    font-weight: 200;
    margin: 0 0 0.75rem;
    color: var(--beto-text-primary);
}
.hg-cta-text {
    font-size: 0.9rem;
    color: var(--beto-text-muted);
    margin: 0 0 1.5rem;
    max-width: 550px;
    margin-inline: auto;
    line-height: 1.6;
    font-weight: 200;
}
.hg-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--beto-text-primary);
    border: 1px solid var(--beto-text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.hg-cta-button:hover {
    background: var(--beto-text-primary);
    color: var(--beto-bg-primary);
}
