/* Explain: Styling for buttons, panels, cards, menus, and form elements. - */
.btn-oasis {
    align-items: center;
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    color: #FFFFFF;
    display: inline-flex;
    font-weight: 500;
    gap: 0.65rem;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.95rem 1.75rem;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn-oasis:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.btn-sand {
    align-items: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-color);
    display: inline-flex;
    font-weight: 500;
    gap: 0.65rem;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.95rem 1.75rem;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
    box-shadow: var(--shadow-card);
}

.btn-sand:hover {
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-card) !important;
    backdrop-filter: blur(18px);
}

.organic-card {
    background: var(--surface-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-organic) !important;
    box-shadow: var(--shadow-card) !important;
}

.blob {
    border-radius: 42% 58% 64% 36% / 48% 35% 65% 52%;
    filter: blur(0.2px);
}

.blob-soft {
    background: linear-gradient(135deg, rgba(132, 158, 130, 0.25), rgba(215, 196, 165, 0.2), rgba(234, 190, 166, 0.15));
    opacity: 0.7;
    filter: blur(2rem);
}

.image-orbit {
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    position: relative;
}

.image-orbit::before,
.image-orbit::after {
    border-radius: 999px;
    content: '';
    inset: -1.1rem;
    position: absolute;
    z-index: -1;
}

.image-orbit::before {
    background: linear-gradient(135deg, #F8F5F2, #D7C4A5);
    transform: rotate(-5deg);
}

.image-orbit::after {
    border: 1px solid var(--border-color);
    inset: -2rem;
    transform: rotate(8deg);
}

.layer-frame {
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.layer-frame::before {
    background: rgba(215, 196, 165, 0.75);
    border-radius: 2rem;
    content: '';
    inset: 1.2rem -1.2rem -1.2rem 1.2rem;
    position: absolute;
    z-index: -1;
}

.fullscreen-menu {
    background:
        radial-gradient(circle at 18% 18%, rgba(234, 190, 166, 0.32), transparent 22rem),
        radial-gradient(circle at 82% 70%, rgba(132, 158, 130, 0.3), transparent 26rem),
        rgba(250, 249, 246, 0.96);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transform: scale(1.02);
    transition: opacity 260ms ease, transform 260ms ease;
    z-index: 40;
}

.fullscreen-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.menu-link {
    color: var(--text-color);
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 6.5vw, 5rem);
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.menu-link:hover {
    color: var(--primary-color);
}

.booking-field {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    min-height: 3.35rem;
    padding: 0.8rem 1rem;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.booking-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 139, 123, 0.15);
    outline: none;
}

.booking-field::placeholder {
    color: rgba(111, 118, 107, 0.78);
}

.form-status {
    border-radius: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.form-status.is-success {
    background: rgba(132, 158, 130, 0.14);
    color: var(--primary-hover);
    padding: 0.7rem 1rem;
}

.form-status.is-error {
    background: rgba(234, 190, 166, 0.24);
    color: #8f4f37;
    padding: 0.7rem 1rem;
}

.mobile-book-button {
    bottom: 1rem;
    box-shadow: 0 18px 44px rgba(47, 59, 49, 0.24);
    left: 1rem;
    position: fixed;
    right: 1rem;
    z-index: 35;
}

.booking-overlay {
    background: rgba(47, 59, 49, 0.42);
    inset: 0;
    opacity: 0;
    padding: 1rem;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease;
    z-index: 50;
}

.booking-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.booking-widget {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin: auto;
    max-width: 32rem;
    transform: translateY(1rem);
    transition: transform 220ms ease;
    width: 100%;
}

.booking-overlay.is-open .booking-widget {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .mobile-book-button {
        display: none;
    }
}
