.theme-item h5{margin-bottom:6px;font-weight:600}
.theme-item p{margin:0;color:#4a4a4a}
.theme-item i{color:#9CAF88;margin-right:6px}
.theme-palette{display:flex;gap:18px;align-items:center;margin-top:8px}
.palette-item{display:flex;align-items:center;gap:8px}
.swatch{width:40px;height:40px;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,0.12);border:1px solid rgba(0,0,0,0.06);display:inline-block}
.swatch.orange{background:#9CAF88}
.swatch.beige{background:#FFFFFF}
.swatch.brown{background:#E7C4C4}
.palette-label{font-size:0.95rem;color:#333}
@media (max-width:480px){.theme-palette{flex-direction:column;align-items:flex-start;gap:10px}}

.palette-showcase {
    margin-top: 10px;
}

.palette-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.palette-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.palette-card-media {
    height: 190px;
    background: #f7f7f7;
}

.palette-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.palette-card-body {
    padding: 16px 18px 18px;
}

.palette-card-body h6 {
    margin-bottom: 6px;
    font-size: 24px;
}

.palette-role {
    margin-bottom: 4px;
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.palette-hex {
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #9CAF88;
    font-weight: 700;
}

.rsvp-title-meta {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    letter-spacing: 0.4px;
    line-height: 1.25em;
}

.gift-option-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #5C6B4C;
    line-height: 1.3em;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .rsvp-title-meta {
        font-size: 28px;
    }

    .gift-option-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .palette-card-media {
        height: 160px;
    }
}

/* ===== Slider Banner Animation ===== */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideshow 16s infinite;
}

.slider-slide:nth-child(1) { animation-delay: 0s; }
.slider-slide:nth-child(2) { animation-delay: 4s; }
.slider-slide:nth-child(3) { animation-delay: 8s; }
.slider-slide:nth-child(4) { animation-delay: 12s; }


@keyframes slideshow {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    25%  { opacity: 1; }
    35%  { opacity: 0; }
    100% { opacity: 0; }
}

.header.slider-container .container {
    position: relative;
    z-index: 2;
}

/* Ensure consistent image dimensions in the whenwhere carousel */
.whenwhere-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.whenwhere-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .whenwhere-img {
        height: 200px;
    }
}

/* Enhanced Radio Button Styling */
.form-check-input {
    width: 22px;
    height: 22px;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #9CAF88;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
    background-color: #fff;
    flex-shrink: 0;
}

.form-check-input:hover {
    border-color: #7E9270;
    box-shadow: 0 0 8px rgba(156, 175, 136, 0.2);
}

.form-check-input:checked {
    background: linear-gradient(135deg, #9CAF88 0%, #7E9270 100%);
    border-color: #7E9270;
    box-shadow: 0 2px 6px rgba(156, 175, 136, 0.3);
}

.form-check-input:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #333;
    transition: color 0.2s ease;
}

.form-check-input:checked + .form-check-label {
    color: #9CAF88;
    font-weight: 600;
}

/* Form Inputs Border Radius */
.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #9CAF88;
    box-shadow: 0 0 0 0.2rem rgba(156, 175, 136, 0.15);
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn.buttono {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn.buttono:hover {
    box-shadow: 0 4px 12px rgba(156, 175, 136, 0.25);
}

/* Select Options Styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CAF88' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: #fff;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

select.form-control:hover {
    border-color: #9CAF88;
}

select.form-control:focus {
    border-color: #9CAF88;
    box-shadow: 0 0 0 0.2rem rgba(156, 175, 136, 0.15);
}

select.form-control option {
    padding: 8px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
}

select.form-control option:checked {
    background: linear-gradient(#9CAF88, #9CAF88);
    background-color: #9CAF88;
    color: white;
}

.highlight-link {
    color: #E7C4C4;
    font-weight: bold;
    text-decoration: none; /* Removes the standard underline */
    position: relative;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

/* Creating a custom underline effect */
.highlight-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #E7C4C4;
    transition: width 0.3s;
}

/* What happens when you hover */
.highlight-link:hover {
    color: #f3dede; /* Lightens slightly on hover */
    text-shadow: 0px 0px 8px rgba(231, 196, 196, 0.4); /* Subtle glow */
}

.highlight-link:hover::after {
    width: 100%; /* Underline slides in */
}

.story-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    line-height: 1.75;
    color: #5C6B4C; /* ton vert sauge élégant */
    max-width: 800px;
    margin: 0 auto 20px;
    font-weight: 400;
}


.content-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #4A2F22; /* élégante variante foncée de ton marron */
    font-weight: 400;
    margin-bottom: 18px;
    letter-spacing: 0.2px; /* donne un effet luxe léger */
}