/* /includes/style.css */
/* Base reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: var(--wf-bg);
    color: var(--wf-text);
}

/* Colour palettes using CSS variables */
body {
    --wf-bg: #0f172a;
    --wf-surface: #020617;
    --wf-accent: #f97316;
    --wf-accent-soft: rgba(249,115,22,0.12);
    --wf-border: rgba(148,163,184,0.5);
    --wf-text: #e5e7eb;
    --wf-text-muted: #9ca3af;
}

/* Sunrise: warm oranges */
body.palette-sunrise {
    --wf-bg: #0f172a;
    --wf-surface: #020617;
    --wf-accent: #f97316;
    --wf-accent-soft: rgba(249,115,22,0.13);
    --wf-border: rgba(148,163,184,0.5);
    --wf-text: #f9fafb;
    --wf-text-muted: #9ca3af;
}

/* Forest: greens */
body.palette-forest {
    --wf-bg: #020617;
    --wf-surface: #020617;
    --wf-accent: #22c55e;
    --wf-accent-soft: rgba(34,197,94,0.16);
    --wf-border: rgba(148,163,184,0.5);
    --wf-text: #f9fafb;
    --wf-text-muted: #9ca3af;
}

/* Ocean: blues */
body.palette-ocean {
    --wf-bg: #020617;
    --wf-surface: #020617;
    --wf-accent: #38bdf8;
    --wf-accent-soft: rgba(56,189,248,0.18);
    --wf-border: rgba(148,163,184,0.5);
    --wf-text: #e5f2ff;
    --wf-text-muted: #9ca3af;
}

/* Desert: earthy neutrals */
body.palette-desert {
    --wf-bg: #111827;
    --wf-surface: #020617;
    --wf-accent: #eab308;
    --wf-accent-soft: rgba(234,179,8,0.16);
    --wf-border: rgba(148,163,184,0.5);
    --wf-text: #f9fafb;
    --wf-text-muted: #9ca3af;
}
/* Light background variants (override palette vars when bg-light is present) */

body.bg-light.palette-sunrise {
    --wf-bg: #f9fafb;
    --wf-surface: #ffffff;
    --wf-accent: #f97316;
    --wf-accent-soft: rgba(249,115,22,0.12);
    --wf-border: rgba(15,23,42,0.12);
    --wf-text: #020617;
    --wf-text-muted: #4b5563;
}

body.bg-light.palette-forest {
    --wf-bg: #f0fdf4;
    --wf-surface: #ffffff;
    --wf-accent: #22c55e;
    --wf-accent-soft: rgba(34,197,94,0.12);
    --wf-border: rgba(15,23,42,0.12);
    --wf-text: #022c22;
    --wf-text-muted: #4b5563;
}

body.bg-light.palette-ocean {
    --wf-bg: #eff6ff;
    --wf-surface: #ffffff;
    --wf-accent: #38bdf8;
    --wf-accent-soft: rgba(56,189,248,0.14);
    --wf-border: rgba(15,23,42,0.12);
    --wf-text: #02131f;
    --wf-text-muted: #4b5563;
}

body.bg-light.palette-desert {
    --wf-bg: #fffbeb;
    --wf-surface: #ffffff;
    --wf-accent: #eab308;
    --wf-accent-soft: rgba(234,179,8,0.16);
    --wf-border: rgba(15,23,42,0.12);
    --wf-text: #1f2937;
    --wf-text-muted: #4b5563;
}
/* Light background overrides for header, nav, forms, footer */
body.bg-light .wf-site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--wf-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.09);
}

body.bg-light .wf-nav-links {
    background: #ffffff;
    border: 1px solid var(--wf-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

body.bg-light .wf-nav-links li a {
    color: var(--wf-text);
}

body.bg-light .wf-logo {
    color: var(--wf-text);
}

body.bg-light .wf-logo-mark {
    background: var(--wf-accent-soft);
}

/* Inputs & textareas: switch to light backgrounds */
body.bg-light .wf-input,
body.bg-light .wf-textarea {
    background: #ffffff;
    color: var(--wf-text);
    border-color: var(--wf-border);
}

body.bg-light .wf-input::placeholder,
body.bg-light .wf-textarea::placeholder {
    color: var(--wf-text-muted);
}

/* Footer lighter in light mode */
body.bg-light .wf-footer {
    background: #f3f4f6;
    border-top: 1px solid var(--wf-border);
}

body.bg-light .wf-footer-inner,
body.bg-light .wf-footer-links a {
    color: var(--wf-text-muted);
}

/* Layout helpers */
.wf-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.wf-main {
    padding-top: 80px;
}

/* Header / nav */
.wf-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15,23,42,0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wf-border);
}

.wf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
}

.wf-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--wf-text);
    gap: 0.6rem;
}

.wf-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wf-accent-soft);
    font-size: 1.3rem;
}

.wf-logo-text {
    display: inline-flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1rem;
}

.wf-logo-text small {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--wf-text-muted);
}

/* Nav */
.wf-nav {
    position: relative;
}

.wf-nav-toggle {
    display: inline-flex;
    border: 1px solid var(--wf-border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: transparent;
    color: var(--wf-text);
    font-size: 1rem;
    cursor: pointer;
}

.wf-nav-links {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    position: absolute;
    right: 0;
    top: 120%;
    min-width: 180px;
    background: #020617;
    border-radius: 12px;
    border: 1px solid var(--wf-border);
    box-shadow: 0 18px 45px rgba(15,23,42,0.85);
    display: none;
}

.wf-nav-links li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--wf-text);
    text-decoration: none;
    font-size: 0.9rem;
}

.wf-nav-links li a:hover {
    background: rgba(148,163,184,0.18);
}

.wf-nav-open {
    display: block;
}

@media (min-width: 768px) {
    .wf-nav-toggle {
        display: none;
    }
    .wf-nav-links {
        position: static;
        display: flex !important;
        background: transparent;
        box-shadow: none;
        border: none;
        gap: 1rem;
        padding: 0;
    }
    .wf-nav-links li a {
        padding: 0.2rem 0;
    }
}

/* Hero */
.wf-hero {
    padding: 3.5rem 0 3rem;
}

.wf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.wf-hero-title {
    font-size: clamp(2.1rem, 5vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.wf-hero-sub {
    font-size: 1rem;
    color: var(--wf-text-muted);
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.wf-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.wf-btn-primary,
.wf-btn-ghost {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.wf-btn-primary {
    background: var(--wf-accent);
    color: #020617;
    font-weight: 600;
}

.wf-btn-ghost {
    background: transparent;
    color: var(--wf-text);
    border-color: var(--wf-border);
}

.wf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--wf-text-muted);
}

.wf-hero-tag {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--wf-accent-soft);
    color: var(--wf-accent);
}

.wf-hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.wf-hero-image-grid img {
    width: 100%;
    border-radius: 16px;
    height: 140px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .wf-hero {
        padding-top: 4.5rem;
        padding-bottom: 3.8rem;
    }
    .wf-hero-grid {
        grid-template-columns: 1.1fr 1fr;
    }
    .wf-hero-image-grid img {
        height: 190px;
    }
}

/* Sections */
.wf-section {
    padding: 2.5rem 0;
}

.wf-section-header {
    margin-bottom: 1.6rem;
}

.wf-section-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.wf-section-sub {
    color: var(--wf-text-muted);
    font-size: 0.95rem;
    max-width: 32rem;
}

/* Amenities grid */
.wf-grid-amenities {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 1rem;
}

.wf-amenity-card {
    background: var(--wf-surface);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148,163,184,0.5);
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.wf-amenity-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wf-accent-soft);
    color: var(--wf-accent);
    font-size: 1.2rem;
}

.wf-amenity-name {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.wf-amenity-desc {
    font-size: 0.85rem;
    color: var(--wf-text-muted);
}

@media (min-width: 640px) {
    .wf-grid-amenities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 960px) {
    .wf-grid-amenities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Gallery - legacy grid (kept in case it's used elsewhere) */
.wf-gallery-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 0.8rem;
}

.wf-gallery-grid img {
    width: 100%;
    border-radius: 14px;
    height: 170px;
    object-fit: cover;
}

@media (min-width: 640px) {
    .wf-gallery-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .wf-gallery-grid img {
        height: 170px;
    }
}

/* Horizontal image gallery with medium thumbnails */
.wf-gallery-strip {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.wf-gallery-strip::-webkit-scrollbar {
    height: 6px;
}
.wf-gallery-strip::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.6);
    border-radius: 999px;
}

.wf-gallery-strip-inner {
    display: flex;
    gap: 1rem;
    min-width: 100%;
}

.wf-gallery-card {
    flex: 0 0 auto;
    width: 220px;              /* medium size */
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--wf-border);
    background: var(--wf-surface);
}

.wf-gallery-card img {
    display: block;
    width: 100%;
    height: 150px;             /* medium thumbnail height */
    object-fit: cover;
}

/* Contact form */
.wf-contact-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 1.6rem;
}

.wf-form-card {
    background: var(--wf-surface);
    border-radius: 18px;
    border: 1px solid var(--wf-border);
    padding: 1.4rem 1.2rem;
}

/* Generic info card for About / FAQs */
.wf-info-card {
    background: var(--wf-surface);
    border-radius: 18px;
    border: 1px solid var(--wf-border);
    padding: 1.4rem 1.3rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.16);
}

body.bg-light .wf-info-card {
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}

.wf-info-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--wf-text);
}

.wf-info-body p {
    margin: 0 0 0.9rem;
}

.wf-info-body p:last-child {
    margin-bottom: 0;
}

.wf-info-empty {
    font-size: 0.9rem;
    color: var(--wf-text-muted);
    margin: 0;
}


.wf-field {
    margin-bottom: 1rem;
}

.wf-label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.wf-input,
.wf-textarea {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--wf-border);
    background: rgba(15,23,42,0.8);
    color: var(--wf-text);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    outline: none;
}

.wf-textarea {
    border-radius: 16px;
    min-height: 120px;
    resize: vertical;
}

.wf-input:focus,
.wf-textarea:focus {
    border-color: var(--wf-accent);
    box-shadow: 0 0 0 1px var(--wf-accent-soft);
}

.wf-checkbox-group {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.wf-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--wf-text-muted);
}

.wf-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Footer */
.wf-footer {
    padding: 2.2rem 0 1.4rem;
    border-top: 1px solid var(--wf-border);
    margin-top: 2.5rem;
    background: rgba(15,23,42,0.98);
}

.wf-footer-inner {
    text-align: center;
    font-size: 0.8rem;
    color: var(--wf-text-muted);
}

.wf-footer-links {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.wf-footer-links a {
    color: var(--wf-text-muted);
    text-decoration: none;
}

.wf-footer-links a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   Click-to-enlarge image modal (lightbox)
-------------------------------------------------- */
.wf-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.wf-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

#wf-lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* Cursor hint */
.wf-gallery-thumb {
    cursor: zoom-in;
}
.wf-lightbox {
    cursor: zoom-out;
}

/* FAQ Block formatting */
.faq-block {
    margin-bottom: 1.4rem;
    padding: 0.6rem 0;
}

.faq-block p {
    margin: 0.25rem 0;
    line-height: 1.6;
}

.faq-block strong {
    color: var(--wf-text);
}

.faq-block em {
    color: var(--wf-text-muted);
}
.wf-footer-credits {
    margin-top: 6px;
    font-size: 0.95rem;
    opacity: 0.8;
}
.wf-footer-credits a {
    text-decoration: none;
}
/* Make images harder to drag / select */
img {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Optional: apply to elements you really don't want selected */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
