/* homepage.css - Styles for the new homepage */

body {
    background-color: var(--sim-bg-page, #f4f7f9);
    font-family: var(--font-primary, 'Lato', sans-serif);
    color: var(--text-color, #333);
    line-height: 1.6;
    margin: 0;
    padding-top: 50px; /* AJUSTADO: 50px para limpiar el fixed switcher y ser más cercano al responsive de style.css */
}

.homepage-container { /* Specific container for homepage layout */
    max-width: 1200px; /* Kept wider for homepage grid */
    margin: 0 auto; 
    padding: 2rem 1.5rem;
}

.homepage-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0px; /* AÑADE ESTA LÍNEA */
}

.homepage-subtitle { /* Subtitle on homepage */
    font-size: clamp(1.1rem, 3vw, 1.3rem); 
    line-height: 1.4; 
    color: var(--muted-color, #555); 
    font-family: var(--font-headings, 'Montserrat', sans-serif); 
    font-weight: 500; /* Standardized */
    text-transform: none; /* Standardized */
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}

.language-switcher {
    position: fixed; 
    top: 10px;
    right: 15px;
    display: flex;
    gap: 0.5rem;
    z-index: 1000; 
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 5px;
    border-radius: var(--card-radius, 4px);
}

#options-container {
    margin-top: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.option-card {
    background-color: var(--card-bg, #ffffff); 
    border-radius: var(--card-radius, 8px); 
    box-shadow: var(--card-shadow, 0 4px 12px rgba(0, 0, 0, 0.08)); 
    border: 1px solid var(--border-color, #e0e0e0); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex; 
    flex-direction: column; 
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.option-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    height: 100%; 
    box-sizing: border-box;
    flex-grow: 1; 
}

.option-card-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.option-card-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--primary-action-color, #a70080); 
}

.option-card h3 { /* Titles within homepage option cards */
    font-family: var(--font-headings, 'Montserrat', sans-serif); 
    color: var(--primary-action-color, #a70080); 
    font-size: clamp(1.2rem, 3vw, 1.35rem);
    font-weight: 700; /* Standardized */
    text-transform: none; /* Standardized */
    margin-top: 0;
    margin-bottom: 0.75rem;
    text-align: center;
}

.option-card p {
    font-family: var(--font-primary, 'Lato', sans-serif); 
    color: var(--text-color-secondary, #555); 
    font-size: 0.95rem;
    line-height: 1.6; 
    flex-grow: 1;
    margin-bottom: 0;
    text-align: center;
}

/*
The footer for index.html (homepage) is styled by the global 'footer' styles in style.css,
as the index.html uses a plain <footer> tag.
The .homepage-footer class definition below would only apply if an element had class="homepage-footer".
If it's unused and the goal is full standardization via style.css for the <footer> tag, it could be removed.
For now, keeping it as it was in the original file, but noting that style.css's footer rules will take precedence
for the actual <footer> tag in index.html unless this class is explicitly added to it.
The request was to use the footer from bonificaciones.html, which implies using the standard style.css footer styling.
*/
.homepage-footer { /* This rule currently might not be applied to the <footer> in index.html if it doesn't have this class */
    text-align: center;
    margin-top: 3rem; /* Standardized with style.css footer */
    padding-top: 1.5rem; /* Standardized with style.css footer */
    border-top: 1px solid var(--border-color); /* Standardized with style.css footer */
    font-size: 0.9rem; /* Standardized with style.css footer */
    color: var(--muted-color); /* Standardized with style.css footer */
}


@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .homepage-subtitle { 
        font-size: clamp(1.1rem, 3vw, 1.3rem); 
    }
    .option-card h3 {
        font-size: 1.2rem;
    }
    .option-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .homepage-container {
        padding: 1.5rem 1rem;
        margin-top: 1rem; /* To align with .container from style.css at this breakpoint */
    }
     .option-card a {
        padding: 1.5rem 1rem;
    }
}