/* Boomer's Guides — Homepage Styles (Lavender Theme) */

:root {
    --bg-color: #e8e0f0;        /* Soft lavender */
    --card-bg: #ffffff;
    --text-primary: #4a3b5c;     /* Dark purple */
    --text-secondary: #6b5b7d;
    --accent-color: #9b7cb6;
    --shadow: 0 4px 12px rgba(74, 59, 92, 0.15);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    min-height: 100vh;
    padding: 20px;
}

.homepage-header {
    text-align: center;
    margin: 2rem 0;
}

.homepage-header h1 {
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-style: italic;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.hero p {
    color: var(--text-secondary);
}

/* Guide Cards */
.guides {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.guide-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 180px;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(74, 59, 92, 0.2);
}

.guide-card.selected {
    border: 3px solid var(--accent-color);
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-card h3 {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--text-primary);
}

/* Action Buttons */
.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

button {
    font-family: inherit;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    min-width: 220px;
    min-height: 60px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.icon {
    font-size: 1.3rem;
}

.btn-primary {
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: white;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.btn-tertiary {
    background: transparent;
    color: var(--text-secondary);
    text-decoration: underline;
    box-shadow: none;
    min-width: auto;
}

.btn-tertiary:hover {
    color: var(--text-primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 59, 92, 0.5);
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #f0e8f5;  /* Pale purple */
    border-radius: 20px;
    padding: 1.5rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(74, 59, 92, 0.3);
}

.modal-content p {
    color: #2c3e50;  /* Dark blue */
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.modal-prompt {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 0.5rem;
    font-style: italic;
}

.btn-modal {
    background: #d4c5e0;
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(74, 59, 92, 0.2);
}

.btn-modal:hover {
    background: #c5b5d5;
}

footer {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 3rem;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .homepage-header h1 {
        font-size: 2.2rem;
    }
    
    .guides {
        gap: 1rem;
    }
    
    .guide-card {
        width: 150px;
        padding: 1rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    button {
        width: 100%;
        max-width: 280px;
    }
}
