/* Memorial Section - Shared Styles */
:root {
    --primary-color: #5B2A83;
    --secondary-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography & Hero Styles */
.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.memHead {
    font-size: 3rem;
    font-weight: 500;
    background-color: rgba(128, 0, 0, 0.72);
    padding: 0.6rem 1rem 0.3rem 1rem;
}
.memSubHead {
    background-color: rgba(128, 0, 0, 0.72);
    padding: 0.4rem 0.8rem 0.2rem 0.8rem;
    width: fit-content;
}
.memMinHead {
    background-color: rgba(128, 0, 0, 0.72);
    padding: 0.4rem 1.1rem 0.2rem 1.1rem;
    width: fit-content;
}
/* Hero Section */
.hero-banner {
    height: 300px;
    background-image: url('/memorial/images/memorialBg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-color: #2f1b4a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    min-height: 300px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 23, 23, 0.5);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 64, 64, 0.6), rgba(91, 42, 131, 0.3));
    z-index: 1;
}

.min-vh-50 {
    min-height: 50vh;
}

@media (max-width: 991px) {
    .hero-banner {
        background-attachment: scroll !important;
    }
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6);
}

.memorial-hero {
    background: linear-gradient(120deg, rgba(91, 42, 131, 0.08), rgba(118, 75, 162, 0.05));
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem 2rem;
}

.hero-img,
.anniversary-logo {
    max-height: 280px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Card & Content Styles */
.memorial-card {
    /* background: rgb(168, 161, 161); */
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Callout/Alert Boxes */
.callout,
.anniv-callout {
    background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
    border: 1px solid #f0e6d6;
    border-left: 6px solid var(--warning-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.callout .icon,
.anniv-callout .icon {
    font-size: 2.5rem;
    color: #d39e00;
}

.callout .subtitle,
.anniv-callout .subtitle {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.anniv-cta {
    margin-top: 1rem;
}

.anniv-cta .btn,
.callout .btn {
    font-weight: 600;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    background: none;
    font-weight: 600;
    margin-right: 0.5rem;
}

.user-info-value {
    display: inline-block;
    color: #495057;
    font-weight: 500;
}

.required::after {
    content: " *";
    color: var(--danger-color);
}

label.required {
    border: none;
}

/* Checkbox Styling */
.my-large-checkbox {
    transform: scale(1.5);
    margin-top: 0.4rem;
}

/* Button Styles */
.confirm-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(91, 42, 131, 0.3);
    display: inline-flex;
    align-items: center;
}

.confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 42, 131, 0.4);
}

.confirm-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.confirm-btn.confirmed {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.confirm-btn.confirmed:hover {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Lottery Form */
.lottery-form {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid #e0e0e0;
    border-left: 6px solid var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

/* Responsive Flex Layout */
.anniv-flex {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.anniv-image {
    width: 140px;
    flex: 0 0 140px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .memorial-hero {
        padding: 2.5rem;
    }
    .anniversary-logo {
        max-height: 280px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .memorial-hero {
        padding: 1.5rem;
    }
    .hero-img,
    .anniversary-logo {
        max-height: 200px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .confirm-btn {
        width: 100%;
    }
    .anniv-flex {
        flex-direction: column;
    }
}
