/*
 * istaboo.css — Estilos personalizados de iStaboo
 * Este archivo NO se sobreescribe con updates de JustFans.
 * Agregar aquí todos los ajustes y nuevas secciones custom.
 */

/* ═══════════════════════════════════════════════════════════════
   HOME — Hero sin imagen lateral, texto 100% centrado
   home.css fuerza margin-right:1.5rem y un max-width de 11.5ch
   en el layout de dos columnas. Anulamos todo eso aquí.
   ═══════════════════════════════════════════════════════════════ */

.istaboo-home-page .home-hero-row {
    min-height: auto;
    padding: 2rem 0 1rem;
}

/* Contenedor del hero: centrado, sin margin derecho forzado */
.istaboo-home-page .home-hero-content {
    max-width: 58rem;
    margin-right: auto !important;   /* anula el 1.5rem del @media lg */
    text-align: center !important;
}

/* Título: sin max-width restrictivo, centrado */
.istaboo-home-page .home-hero-title {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    text-align: center !important;
}

/* Las dos líneas del título deben centrar su texto */
.istaboo-home-page .home-hero-title-line,
.istaboo-home-page .home-hero-title-accent {
    display: block;
    text-align: center !important;
    white-space: normal;             /* permite que rompan en móvil */
}

/* Párrafo descriptivo */
.istaboo-home-page .home-hero-copy {
    max-width: 44rem;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    font-size: 1.08rem;
}

/* Botones: siempre centrados */
.istaboo-home-page .home-hero-actions {
    justify-content: center !important;
}

/* Tarjetas del bloque "Dónde quieres estar" */
.istaboo-home-page .home-glass-card {
    border-radius: 1.5rem;
}

/* Dark mode — mismo scope */
.navbar-dark.app-navbar-home ~ .flex-fill .istaboo-home-page .home-hero-row {
    min-height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   HOME HERO — Fotógrafo y cantante a los lados del título
   ═══════════════════════════════════════════════════════════════ */

.istaboo-hero {
    padding: 0 !important;
    overflow: hidden;
}

.istaboo-hero-row {
    min-height: clamp(28rem, 60vh, 42rem);
}

/* Imágenes laterales */
.istaboo-hero-side {
    flex: 0 0 auto;
    width: 28%;
    display: flex;
    align-items: flex-end;
}

.istaboo-hero-person {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    object-position: bottom center;
}

/* Centro del hero */
.istaboo-hero-center {
    flex: 1 1 auto;
    padding: 3rem 1.5rem 2rem;
    max-width: 44rem;
    margin: 0 auto;
    align-self: center;
}

.istaboo-hero-center .home-hero-title {
    max-width: 100%;
}

/* Mobile: padding extra para compensar la ausencia de imágenes */
@media (max-width: 991px) {
    .istaboo-hero-center {
        padding: 2.5rem 1rem 1.5rem;
    }
}

/* Dark mode: tarjetas con bordes y fondo visibles */
.navbar-dark.app-navbar-home ~ .flex-fill .home-glass-card,
.navbar-dark.app-navbar-home ~ .flex-fill .home-feature-card,
.navbar-dark.app-navbar-home ~ .flex-fill .home-creators-wrapper {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Espaciado de secciones */
.istaboo-home-page .home-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.istaboo-home-page .home-section-tight {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.istaboo-home-page .home-section-heading {
    margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR — Logo de marca encima del usuario
   ═══════════════════════════════════════════════════════════════ */

.side-menu-brand {
    padding: 0.5rem 0;
    display: block;
}

.side-menu-brand > a {
    display: inline-flex !important;
    align-items: center;
    text-decoration: none;
}

.side-menu-brand-logo {
    display: block !important;
    height: auto !important;
    max-height: 100px !important;
    max-width: 200px !important;
    object-fit: contain;
    padding: 0 10px 10px 10px;
}

.mobile-feed-brand-logo {
    min-width: 200px !important;
}

.mobile-feed-brand-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 32px !important;
    max-width: 160px !important;
    object-fit: contain;
}
