:root {
    --primary-color: #d4a373;
    --text-color: #2b2d42;
    --text-light: #8d99ae;
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --accent-color: #ef233c;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/accueil-bg-ilovemapoule.JPEG');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 35, 60, 0.05) 0%, rgba(212, 163, 115, 0.1) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.container {
    max-width: 800px;
    width: 90%;
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeIn 1.2s ease-out;
}

.logo-section {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.logo:hover {
    transform: scale(1.05);
}

.content-section {
    background: var(--bg-overlay);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.message-card p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #4a4e69;
}

.message-card .highlight {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.message-card .wishes {
    margin-top: 2rem;
    font-style: italic;
    color: var(--primary-color);
}

.signature {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 3rem !important;
}

.footer-section {
    margin-top: 3rem;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .content-section {
        padding: 2rem 1.5rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .message-card .highlight {
        font-size: 1.2rem;
    }

    .message-card p {
        font-size: 1.05rem;
    }

    .signature {
        font-size: 1.6rem;
    }
}