/* home.css - estilos para la página home */

/* Import de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Great+Vibes&display=swap');

/* ===== Base ===== */
body {
    font-family: 'Montserrat', sans-serif;
    background: #0B0C0E;
    color: #EDEDED;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal de la home */
.profile_wrapper {
    padding: 15px 20px 20px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

/* Cabecera del perfil */
.profile_head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Thumb / logo redondo */
.thumb {
    margin-top: 15px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #C9A45B;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Nombre / marca */
.brand-calligraphy {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #EDEDED;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    margin: 10px 0 8px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Bio */
.profile_head_bio {
    margin-top: 6px;
}

.profile_head_bio p {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 580px;
    color: #BFBFBF;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Links / acciones */
.profile_links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 20px;
}

/* Social / CTA link */
.SocialLink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #EDEDED;
    background-color: #141518;
    padding: 11px 18px;
    border-radius: 10px;
    width: 100%;
    justify-content: center;
    max-width: 520px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border: 1px solid #272727;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.SocialLink:hover {
    background-color: #1E1F24;
    color: #C9A45B;
    border-color: #C9A45B;
    box-shadow: 0 5px 14px rgba(201,164,91,0.25);
}

/* Logo pequeño dentro del link */
.asset-logo {
    width: 26px;
    height: 26px;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 0 0 2px rgba(201,164,91,0.25);
}

.SocialLink:hover .asset-logo {
    transform: scale(1.08);
}

.SocialLink_body h3 {
    margin: 0;
    font-size: 15px;
}

/* CTA Consulta - estilo destacado */
.SocialLink.vibrar {
    background-color: #C9A45B;
    color: #0B0C0E;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(201,164,91,0.35);
    cursor: pointer;
    border-color: #C9A45B;
    margin-bottom: 8px;
}

.SocialLink.vibrar:hover {
    background-color: #B38B3A;
    transform: scale(1.02);
}

.reserva-link .SocialLink_body h3 {
    font-size: 18px;
}

/* Toast de bienvenida */
.toast-welcome {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1A1B1E;
    color: #EDEDED;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, top 0.4s ease, visibility 0.4s;
    pointer-events: none;
    z-index: 9999;
    border: 1px solid #C9A45B;
    max-width: 90%;
}

.toast-welcome.show {
    opacity: 1;
    visibility: visible;
    top: 15px;
    pointer-events: auto;
}

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vibrar {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.vibrar {
    animation: vibrar 0.2s linear infinite;
}

/* ===== Responsive por altura (ajustes pequeños) ===== */
@media (max-height: 700px) {
    .thumb {
        width: 85px;
        height: 85px;
        margin-top: 10px;
    }
    
    .brand-calligraphy {
        font-size: 1.9rem;
        margin: 8px 0 6px;
    }
    
    .profile_head_bio p {
        font-size: 0.88rem;
    }
    
    .SocialLink {
        padding: 9px 16px;
    }
}

@media (min-height: 900px) {
    .profile_wrapper {
        padding-top: 40px;
    }
}

/* ===== Ajustes para pantallas grandes (desktop) =====
   Evitan que el contenido se estire demasiado y disminuyen la sensación de "todo gigante"
*/
@media (min-width: 1024px) {
    /* Limitar ancho del contenedor de la home para desktop */
    .profile_wrapper {
        max-width: 980px;
        margin: 0 auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Reducir ligeramente el tamaño del título y del thumb */
    .brand-calligraphy {
        font-size: 1.9rem; /* antes 2.2rem */
    }
    .thumb {
        width: 95px; /* antes 100px */
        height: 95px;
    }

    /* Texto bio más compacto y con límite de ancho */
    .profile_head_bio p {
        font-size: 0.95rem; /* más compacto en desktop */
        max-width: 760px;   /* para que no se estire mucho en monitores anchos */
    }

    /* SocialLink más contenido y ancho máximo mayor */
    .SocialLink {
        padding: 10px 18px;
        max-width: 720px;
    }

    /* Ajustes generales para evitar paddings enormes */
    .profile_wrapper {
        padding-top: 20px;
        padding-bottom: 24px;
    }
}

/* Mantener la experiencia móvil sin cambios importantes */
@media (max-width: 768px) {
    .brand-calligraphy { font-size: 2.2rem; } /* mantiene tamaño agradable en móvil */
    .SocialLink {
        max-width: 520px;
        padding: 11px 14px;
    }
}

/* Pequeños ajustes extra para pantallas muy pequeñas */
@media (max-width: 480px) {
    .thumb {
        width: 70px;
        height: 70px;
    }
    .brand-calligraphy {
        font-size: 1.7rem;
    }
    .profile_head_bio p {
        font-size: 0.88rem;
        padding: 0 8px;
    }
    .SocialLink {
        font-size: 0.95rem;
        padding: 9px 12px;
    }
}

/* ===== Utilidades específicas para mantener consistencia con el layout global ===== */

/* Forzar que la sección principal no se estire demasiado en pantallas gigantes */
@media (min-width: 1400px) {
    .profile_wrapper {
        max-width: 1100px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Mantener enlaces centrados visualmente */
.SocialLink_body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

/* Asegurar que los h3 dentro mantengan una sola línea y no rompan el layout */
.SocialLink_body h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fin de home.css */