:root {
    --primary-color: #d4af37; /* Or léger / premium */
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --btn-hover: #b8982f;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
}

/* Background Photo */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fond.jpeg');
    background-size: cover;
    background-position: center 15%; /* Aligné vers le haut pour garder vos têtes ! */
    z-index: -2;
}

/* Sombrir l'image pour l'élégance et rendre le texte lisible */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

header {
    margin-bottom: 2rem;
}

.date {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 2px;
}

h1 span {
    color: var(--primary-color);
    font-style: italic;
}

/* Glassmorphism effet pour le texte principal */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
}

.glass-card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.glass-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* Actions layout */
.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

/* Boutons Premium */
.upload-btn, .view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.upload-btn {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.upload-btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
}

.view-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
}

.view-btn:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    position: absolute;
    bottom: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem; 
    }
    
    .glass-card {
        padding: 2rem 1rem; 
        width: 90%; 
    }
    
    .glass-card h2 {
        font-size: 1.2rem;
    }
    
    .glass-card p {
        font-size: 1rem;
    }
    
    .upload-btn, .view-btn, .ceremony-btn {
        width: 100%;
        max-width: none;
        padding: 1rem 0.5rem; 
        font-size: 1rem; 
    }
}

/* ✨ Bouton Cérémonie Laïque — Effet shimmer premium */
.ceremony-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
    background: linear-gradient(90deg, #c8a84b, #f5d98b, #d4af37, #f5d98b, #c8a84b);
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5), 0 0 0 1px rgba(212,175,55,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceremony-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.7), 0 0 20px rgba(245, 217, 139, 0.4);
}

@keyframes shimmer {
    0%   { background-position: 100% 0; }
    50%  { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

@media (max-width: 768px) {
    .ceremony-btn {
        max-width: none;
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
}
