/* Home Page Specific Styles */

.home-body {
    background: #f0f6fa;
    color: #f0f6fa;
    padding: 0 !important;
}

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(104, 39, 56, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Hidden state for login overlay - IMPORTANT! */
.login-overlay.hidden {
    display: none !important;
}

/* Main content hidden state */
#mainContent.hidden {
    display: none !important;
}

.login-container {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.login-container h1 {
    font-size: 2.5em;
    color: #682738;
    margin-bottom: 10px;
}

.login-container .heart {
    font-size: 2em;
    color: #682738;
    margin: 20px 0;
}

.login-container .subtitle {
    color: #21285a;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Header */
.header {
    background: #682738;
    padding: 1rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.header h1 {
    font-size: 1.5rem;
    color: #f4e0dc;
    text-align: left;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.welcome-text {
    font-size: 1rem;
    color: #f4e0dc;
}

.logout-btn {
    background: #f4e0dc;
    color: #682738;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 0;
}

.logout-btn:hover {
    background: #c88626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 45, 37, 0.4);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: auto 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.hero h2 {
    font-size: 6rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #21285a;
    border-bottom: none !important;
}

.hero h2 .break-mobile {
    display: none;
}

.hero .date {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #21285a;
}

.hero .location {
    font-size: 1.7rem;
    color: #21285a;
}

.location .venue {
    font-size: 2.5rem;
}

.divider {
    width: 200px;
    height: 2px;
    background: #21285a;
    margin: 1rem auto;
    opacity: 0.6;
}

/* Navigation Cards */
.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background: #682738;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(69, 64, 102, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 300px;
    min-height: 200px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(69, 64, 102, 0.5);
    background: #c88626;
}

.card-icon {
    font-size: 7rem;
    margin-bottom: auto;
    margin-top: 0.5rem;
    filter: brightness(1.8) sepia(0.3) hue-rotate(330deg) saturate(0.5);
}

.card h3 {
    font-size: 1.7rem;
    color: #f4e0dc;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: auto;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.95);
}

.status-pending {
    color: #21285a;
}

.status-completed {
    color: #682738;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    color: #21285a;
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 2rem;
        margin: 0.5rem auto;
    }

    .hero h2 {
        font-size: 3rem;
        line-height: 0.5;
    }

    .hero h2 .break-mobile {
        display: block;
    }

    .cards-container {
        flex-direction: column;
        padding: 0 2rem;
        align-items: center;
    }

    .card {
        flex: 0 0 auto;
        min-width: 200px;
        max-width: 280px;
        width: 100%;
    }

    .header h1 {
        font-size: 1.2rem;
    }
    
    .welcome-text {
    display: block;
    }

    .welcome-text strong {
    display: block;
    }

    .divider {
        width: 100px;
        height: 2px;
        background: #21285a;
        margin: 2rem auto;
        opacity: 0.6;
        margin-bottom: 1rem;
    }
    
    .hero .date {
        font-size: 1.7rem;
        margin-bottom: 1rem;
        color: #21285a;
    }

    .hero .location {
        font-size: 1.1rem;
        color: #21285a;
    }
    
    .location .venue {
        font-size: 1.7rem;
    }
    
    .header-logo {
        width: 80px;
        height: 80px;
    }

    .user-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .login-container {
        padding: 40px 30px;
    }

    .login-container h1 {
        font-size: 2em;
    }
}
