/* MD10 Mobile - Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    /* Color Palette from user image */
    --color-primary: #857c85;
    /* Gray-Purple */
    --color-secondary: #dcdbe0;
    /* Light Gray */
    --color-accent: #c6ccca;
    /* Sage/Greenish Gray */
    --color-tertiary: #929581;
    /* Muted Olive */
    --color-quaternary: #e5ccbc;
    /* Peach/Sand */

    --bg-main: #fcfcfc;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;

    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.app-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    /* Space for footer */
}

/* Typography */
.h1,
.h2,
.h3 {
    font-weight: 600;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

/* Components */
.header {
    padding: 12px 20px;
    /* Reducido de 24px */
    background: var(--bg-main);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.logo-container {
    padding: 10px 0;
    /* Reducido de 20px */
}

.logo {
    width: 208px;
    /* Aumentado 30% de 160px */
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    font-size: 0.8rem;
    /* Un poco más pequeño */
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-primary);
    margin: 2px 0;
    /* Aún más apretado */
    font-weight: 400;
}

/* Home Buttons / Menu */
.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Un poco más de espacio entre botones */
    padding: 0 20px 20px;
}

.menu-item {
    background: var(--white);
    padding: 16px 24px;
    border-radius: 100px;
    /* Forma de píldora como en la imagen */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    /* Sombra muy suave y difusa */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    /* Quitamos el borde lateral */
    transition: var(--transition);
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px;
}

/* Colores de iconos específicos de la imagen */
.menu-icon.sparkles {
    color: #c084fc;
    /* Púrpura suave */
}

.menu-icon.boutique {
    color: #94a3b8;
    /* Gris azulado */
}

.menu-icon.academic {
    color: #94a3b8;
    /* Gris azulado */
}

.menu-icon.blog {
    color: #94a3b8;
    /* Gris azulado */
}

.menu-icon.contact {
    color: #94a3b8;
    /* Gris azulado */
}

.menu-item span {
    font-weight: 300;
    /* Más ligero como en la imagen */
    font-size: 1rem;
    color: #71717a;
    /* Color de texto más suave */
}

.chevron {
    color: #d4d4d8;
    /* Gris muy claro para la flecha */
    stroke-width: 1.5px;
}

/* Ajuste específico para el calendario: menos redondeado para albergar más texto */
#event-list .menu-item {
    border-radius: 20px;
    /* Menos redondeado que el menú principal */
    padding: 20px 24px;
    align-items: center;
}

.menu-item:active {
    transform: scale(0.97);
    background-color: #fafafa;
}

/* Slider Custom */
.slider-wrapper {
    width: 100%;
    height: 180px;
    /* Reducido de 280px */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 5px 0 15px;
    /* Menos margen arriba, un poco abajo */
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-content {
    display: flex;
    height: 100%;
}

.slider-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100%;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

/* Search Bar */
.search-container {
    padding: 0 20px 20px;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-secondary);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

.footer strong {
    color: var(--color-primary);
}

/* Utilities */
.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}