/* Variables du thème Memorial */
.memorial-theme {
    --memorial-beige: #F4EAD5;
    --memorial-blue: #A3D5FF;
    --memorial-sage: #BFD8B8;
    --memorial-dark: #2c3e50;
    --memorial-gold: #D4AF37;
    --memorial-light: #ffffff;
    background-color: var(--memorial-beige);
    color: #333;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Header et Hero */
.memorial-theme .header,
.memorial-hero {
    background: linear-gradient(135deg, var(--memorial-blue) 0%, #7FB3D3 50%, var(--memorial-sage) 100%);
    position: relative;
    overflow: hidden;
}

.memorial-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.memorial-hero .container {
    z-index: 2;
}

.memorial-hero h1 {
    color: var(--memorial-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.memorial-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    line-height: 1.6;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Boutons */
.memorial-theme .btn-primary {
    background: linear-gradient(45deg, var(--memorial-sage), #A8D1A1);
    border: none;
    color: var(--memorial-dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 216, 184, 0.3);
}

.memorial-theme .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 216, 184, 0.4);
    background: linear-gradient(45deg, #A8D1A1, var(--memorial-sage));
}

.memorial-theme .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--memorial-light);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.memorial-theme .btn-outline-light:hover {
    background: var(--memorial-light);
    color: var(--memorial-dark);
    transform: translateY(-2px);
}

.memorial-theme .btn-outline-primary {
    border: 2px solid var(--memorial-sage);
    color: var(--memorial-sage);
    background: transparent;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.memorial-theme .btn-outline-primary:hover {
    background: var(--memorial-sage);
    color: var(--memorial-dark);
    transform: translateY(-2px);
}

/* Sections */
.memorial-why {
    background: var(--memorial-light);
    position: relative;
}

.memorial-why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--memorial-blue), transparent);
    opacity: 0.1;
}

.memorial-features {
    background: linear-gradient(135deg, var(--memorial-beige) 0%, #F0E6D2 100%);
    position: relative;
}

.memorial-testimonials {
    background: var(--memorial-light);
}

.memorial-cta {
    background: linear-gradient(135deg, var(--memorial-dark) 0%, #34495e 100%);
    color: var(--memorial-light);
}

/* Cards */
.memorial-card {
    background: var(--memorial-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 216, 184, 0.2);
}

.memorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.memorial-icon {
    color: var(--memorial-sage);
    margin-bottom: 1rem;
}

.memorial-icon i {
    transition: all 0.3s ease;
}

.memorial-card:hover .memorial-icon i {
    transform: scale(1.1);
    color: var(--memorial-gold);
}

/* Feature previews */
.feature-image {
    text-align: center;
}

.memorial-preview-card {
    background: var(--memorial-light);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 3px dashed var(--memorial-sage);
    transition: all 0.3s ease;
}

.memorial-preview-card:hover {
    transform: scale(1.05);
    border-color: var(--memorial-gold);
}

/* Testimonials */
.testimonial-card {
    background: var(--memorial-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--memorial-sage);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-left-color: var(--memorial-gold);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--memorial-sage);
    opacity: 0.3;
    font-family: serif;
}

.stars i {
    margin-right: 2px;
}

/* Titres */
.memorial-theme h1,
.memorial-theme h2,
.memorial-theme h3,
.memorial-theme h4,
.memorial-theme h5,
.memorial-theme h6 {
    color: var(--memorial-dark);
    font-weight: 700;
}

.memorial-features h3 {
    color: var(--memorial-sage);
    position: relative;
}

.memorial-features h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--memorial-gold);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .memorial-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .memorial-hero h1 {
        font-size: 2.5rem;
    }
    
    .memorial-hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .memorial-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.memorial-card,
.testimonial-card,
.feature-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll smooth pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Focus states pour l'accessibilité */
.memorial-theme .btn:focus,
.memorial-theme .btn:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(191, 216, 184, 0.5);
    outline: none;
}