/* Explain: Styles for reusable UI components, including card and media gallery. */
.btn-bloom {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--eucalyptus);
    color: #fff;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-bloom:hover {
    background: var(--eucalyptus-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(47, 52, 48, 0.45);
}

.btn-ghost-bloom {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    color: var(--charcoal);
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    border: 1px solid var(--eucalyptus);
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-ghost-bloom:hover {
    background: var(--eucalyptus);
    color: #fff;
}

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--eucalyptus);
}

.soft-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: all 0.35s ease;
}
.soft-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -28px rgba(47, 52, 48, 0.35);
}

.circle-mask {
    border-radius: 50%;
    object-fit: cover;
}

.divider-leaf {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dusk), transparent);
    margin: 0 auto;
}

.field-input {
    width: 100%;
    background: var(--cloud);
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    color: var(--charcoal);
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

/* Standardize height for all inputs and selects on mobile */
input.field-input, select.field-input {
    height: 3.25rem;
    line-height: 1.5;
}

/* Fix for iOS Safari date inputs rendering disproportionately */
input[type="date"].field-input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    min-height: 3.25rem;
}
.field-input:focus {
    outline: none;
    border-color: var(--eucalyptus);
    box-shadow: 0 0 0 3px rgba(91, 123, 106, 0.18);
}
.field-input[aria-invalid="true"] {
    border-color: var(--eucalyptus);
    box-shadow: 0 0 0 3px rgba(91, 123, 106, 0.22);
}
input[type="checkbox"][aria-invalid="true"] {
    outline: 2px solid var(--eucalyptus);
    outline-offset: 2px;
}

/* Package sliders: the prev/next navigation stays fully functional on
   click/tap, but shows no arrow buttons. Each side acts as a wide,
   invisible tap-zone (left = previous, right = next). The pagination
   dots remain visible in the centre. */
.package-swiper .package-nav {
    width: 25%;
    height: 100%;
    top: 0;
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: transparent;
    filter: none;
    opacity: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.package-swiper .package-nav::after {
    content: none;
    display: none;
}
.package-swiper .package-nav i {
    display: none;
}
.package-swiper .swiper-button-prev.package-nav {
    left: 0;
}
.package-swiper .swiper-button-next.package-nav {
    right: 0;
}
.package-swiper .package-nav:hover,
.package-swiper .package-nav:focus-visible {
    background: transparent;
    color: transparent;
    filter: none;
    box-shadow: none;
    outline: none;
}

/* White pagination dots so they stay legible over photos */
.package-swiper .swiper-pagination {
    z-index: 6;
}
.package-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.55;
    box-shadow: 0 1px 4px rgba(45, 45, 45, 0.45);
}
.package-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.5rem;
    padding: 1.2rem 1.75rem;
    border: 1px solid var(--mint);
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(168, 196, 176, 0.16), rgba(232, 221, 208, 0.4));
    color: var(--sage-hover);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.5;
    animation: form-success-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-body {
    font-size: 1.05rem;
}
.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.article-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.article-body li {
    position: relative;
    padding-left: 1.5rem;
}
.article-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--eucalyptus);
    font-weight: bold;
}
.article-body strong {
    color: var(--charcoal);
    font-weight: 600;
}

.form-success i {
    font-size: 1.75rem;
    color: var(--sage);
}

@keyframes form-success-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .form-success {
        animation: none;
    }
}

/* Soft "smoked" magic bubbles used as a decorative backdrop behind
   premium imagery. Minimalist, low-opacity and softly blurred so they
   read as a gentle premium haze rather than a busy graphic. */
.magic-bubbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
}

.magic-bubbles .bubble {
    position: absolute;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 22%),
        radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 48%, rgba(168, 196, 176, 0.3) 66%, rgba(173, 216, 230, 0.34) 75%, rgba(214, 180, 235, 0.34) 82%, rgba(247, 222, 176, 0.46) 89%, rgba(255, 255, 255, 0.85) 96%, rgba(255, 255, 255, 0) 100%);
    box-shadow:
        inset -3px -4px 8px rgba(255, 255, 255, 0.7),
        inset 3px 4px 10px rgba(140, 190, 220, 0.34),
        0 3px 12px rgba(120, 180, 200, 0.2);
    filter: blur(1.5px);
    opacity: 0.92;
    animation: bubble-drift 9s ease-in-out infinite, bubble-twinkle 6s ease-in-out infinite;
    will-change: transform, opacity;
}

.magic-bubbles .bubble-cream {
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 22%),
        radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 48%, rgba(232, 221, 208, 0.32) 66%, rgba(247, 222, 176, 0.4) 78%, rgba(255, 231, 200, 0.46) 86%, rgba(255, 255, 255, 0.85) 96%, rgba(255, 255, 255, 0) 100%);
    box-shadow:
        inset -3px -4px 8px rgba(255, 255, 255, 0.72),
        inset 3px 4px 10px rgba(220, 190, 150, 0.34),
        0 3px 12px rgba(225, 200, 165, 0.2);
}

@keyframes bubble-drift {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-12px) translateX(6px) scale(1.05);
    }
}

@keyframes bubble-twinkle {
    0%, 100% {
        opacity: 0.45;
    }
    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magic-bubbles .bubble {
        animation: none;
    }
}