@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=Kaushan+Script&family=Yeseva+One&display=swap');

/* ============================================
   WildRoot - Global Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
    --color-bg:         #EEE6DB;
    --color-bg-mid:     #E5DDD0;
    --color-bg-deep:    #0B2143;
    --color-text:       #1E3A20;
    --color-text-muted: #6a8c6e;
    --color-border:     rgba(255, 255, 255, 0.12);
    --color-hover:      rgba(255, 255, 255, 0.05);
    --color-accent:     #B0A05F;
    --color-gold:       #B0A05F;
    --color-gold2:      #B0A05F;
    --font-primary:     'Inter', system-ui, sans-serif;
    --font-heading:     'Cormorant Garamond', Georgia, serif;
    --font-size-base:   16px;
    --radius:           8px;
    --transition:       all 0.3s ease;
}

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

/* --- Base --- */
body {
    background: #EEE6DB;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    min-height: 100vh;
    line-height: 1.6;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

/* --- Hide page titles --- */
.page-title, .booking-title { display: none; }

/* --- Kaushan page heading --- */
/* Ensure page content sits above watermark */
.about-wrap, .about-cards, .dashboard-main > * {
    position: relative;
    z-index: 1;
}

.page-heading {
    font-family: 'Kaushan Script', cursive;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 36px;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
    width: 100%;
}

/* --- Buttons --- */
.btn {
    background: var(--color-bg-deep);
    color: #1E3A20;
    border: 1px solid transparent;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-primary);
}

.btn:hover {
    background: #132B4C;
    color: white;
    border-color: transparent;
}

/* --- Inputs --- */
input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--color-text);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-primary);
}

input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}

input::placeholder {
    color: var(--color-text-muted);
}

/* --- Logo --- */
.logo-container img {
    width: 380px;
    max-width: 80vw;
}

/* --- Page Logo (non-home pages) --- */
.page-logo-wrap {
    display: none;
}

/* --- Page Watermark --- */
.page-watermark {
    position: fixed;
    top: 0;
    right: -40px;
    height: 100vh;
    width: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    filter: sepia(1) saturate(1.8) hue-rotate(-20deg);
    -webkit-mask-image: linear-gradient(to top right, transparent 15%, black 55%);
    mask-image: linear-gradient(to top right, transparent 15%, black 55%);
    user-select: none;
}
.page-logo-wrap img {
    width: 250px;
    height: auto;
}
@media (max-width: 900px) {
    .page-logo-wrap {
        display: none;
    }
}

/* --- Canvas --- */
#rootCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heartbeat {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(176,160,95,0.2)); }
    14%  { transform: scale(1.04); filter: drop-shadow(0 0 25px rgba(176,160,95,0.5)); }
    28%  { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(176,160,95,0.2)); }
    42%  { transform: scale(1.03); filter: drop-shadow(0 0 20px rgba(176,160,95,0.4)); }
    70%  { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(176,160,95,0.2)); }
    100% { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(176,160,95,0.2)); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Coming Soon Page --- */
.content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: fadeIn 2s ease forwards;
}

/* --- Ripple Rings --- */
.rings-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(240, 192, 64, 0.4);
    animation: ripple 4s ease-out infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.ring:nth-child(1) { animation-delay: 0s; }
.ring:nth-child(2) { animation-delay: 1.3s; }
.ring:nth-child(3) { animation-delay: 2.6s; }

@keyframes ripple {
    0%   { width: 100px; height: 100px; opacity: 0.8; transform: translate(-50%, -50%) scale(0); }
    100% { width: 100vmax; height: 100vmax; opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.logo-container {
    animation: heartbeat 1.6s ease-in-out infinite;
}

.coming-soon-text {
    color: #1E3A20;
    font-size: 18px;
    letter-spacing: 6px;
    text-transform: uppercase;
    animation: shimmer 3s ease-in-out infinite;
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 33, 67, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px;
    width: 360px;
    max-width: 90vw;
    animation: slideUp 0.3s ease;
    box-shadow: 0 8px 40px rgba(19, 43, 76, 0.12);
}

.modal h2 {
    color: var(--color-text);
    font-size: 20px;
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-align: center;
}

.modal input {
    margin-bottom: 16px;
}

.modal-error {
    color: #c0392b;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
    display: none;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    color: var(--color-text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

/* --- Dev Login Button --- */
.dev-login-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: rgba(253, 247, 244, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.header.visible {
    transform: translateY(0);
}

/* --- Header Logo --- */
.header-logo {
    height: 100%;
    width: auto;
    padding: 20px;
    object-fit: contain;
}

/* --- Main Content --- */
.main-content {
    padding-top: 220px;
    min-height: 200vh;
    color: var(--color-text);
    padding-left: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header {
        height: 120px;
    }

    .main-content {
        padding-top: 140px;
    }
}

/* --- Top Nav --- */
.topnav-brand {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px 24px 0 20px;
    flex-shrink: 0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.topnav-brand img {
    position: relative;
    z-index: 1;
}


/* --- Ambient Particles --- */
.ambient-fx {
    position: fixed;
    pointer-events: none;
    z-index: 199;
    transition: opacity 0.6s ease;
    transform: translate(-50%, -50%);
}

.ambient-particle {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(220,170,30,0.95) 0%, rgba(176,160,95,0.4) 65%, transparent 100%);
    box-shadow: 0 0 5px rgba(176,160,95,0.5);
    animation: particleFloat var(--dur, 3s) ease-out forwards;
}

@keyframes particleFloat {
    0%   { opacity: 0;   transform: translate(-50%, -50%) translateY(0px)   translateX(0px); }
    18%  { opacity: 0.9; }
    100% { opacity: 0;   transform: translate(-50%, -50%) translateY(-110px) translateX(var(--drift, 0px)); }
}
.topnav-brand img {
    width: 90px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 201;
    transition: width 0.4s ease;
}
.topnav-brand {
    flex: 1;
}
.topnav-brand + .nav-item {
    margin-left: 0;
}
.topnav-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-item.nav-cta {
    align-self: center;
    background: #B0A05F;
    color: #0B2143 !important;
    border-radius: 50px;
    padding: 8px 22px !important;
    margin: auto 20px auto 12px;
    border-bottom: none !important;
    font-weight: 600;
    flex-shrink: 0;
}
.nav-item.nav-cta:hover {
    background: rgba(184, 134, 11, 0.82) !important;
    color: #0B2143 !important;
}

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0;
    background: rgba(30, 58, 32, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    overflow: visible;
    scrollbar-width: none;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease, padding 0.4s ease;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav.scrolled {
    height: 56px;
    padding: 0;
    background: rgba(30, 58, 32, 0.97);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}
.topnav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #B0A05F;
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-primary);
}
.topnav .nav-item:hover {
    color: #C9B870;
    background: rgba(255, 255, 255, 0.05);
}
.topnav .nav-item.active {
    display: none;
    background: transparent;
}

/* --- Right user menu (desktop) --- */
.nav-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    color: rgba(240,235,224,0.8);
    border-radius: 6px;
    transition: background 0.2s;
}
.nav-user-btn:hover {
    background: rgba(255,255,255,0.07);
}
.nav-user-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}
.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 8px;
    background: #0d1a10;
    border: 1px solid rgba(176,160,95,0.25);
    border-radius: 8px;
    padding: 8px;
    min-width: 160px;
    display: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
    z-index: 300;
}
.nav-user-dropdown.open {
    display: block;
}
.nav-user-dropdown .nav-item {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    border-bottom: none !important;
}
@media (max-width: 900px) {
    .nav-user-btn { display: none; }
    .nav-user-dropdown { display: none !important; }
}

/* --- Hamburger / Mobile Nav --- */
.topnav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    color: #d0e8d0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.topnav-hamburger svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}
.topnav-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 51, 32, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(176, 160, 95, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 199;
}
.topnav.nav-open .topnav-mobile-menu {
    display: flex;
}
.topnav-mobile-menu > a {
    display: flex;
    align-items: center;
    padding: 13px 24px;
    color: rgba(240, 235, 224, 0.78);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: var(--transition);
    border-bottom: none !important;
}
.topnav-mobile-menu > a:hover {
    color: #C9B870;
    background: rgba(255, 255, 255, 0.05);
}
.topnav-mobile-menu > a.nav-cta {
    margin: 10px 24px 0;
    border-radius: 50px;
    padding: 10px 22px;
    background: #B0A05F;
    color: #0B2143 !important;
    font-weight: 600;
    justify-content: center;
}
.topnav-mobile-menu > a.nav-cta:hover {
    background: rgba(184, 134, 11, 0.82) !important;
}
.topnav-mobile-menu > a.active {
    display: none !important;
}
@media (max-width: 900px) {
    .topnav-hamburger { display: flex; }
    .topnav > a.nav-item { display: none !important; }
    .topnav-right { display: none !important; position: static; }
    .topnav { justify-content: flex-start; }
    .topnav {
        height: auto !important;
        min-height: 44px;
        padding: 2px 0;
    }
    .topnav.scrolled {
        height: auto !important;
        min-height: 44px;
    }
    .topnav-brand { flex: 1; }
    .topnav-brand img { width: 90px; }
}
.topnav.scrolled .nav-item { color: #B0A05F; }
.topnav.scrolled .nav-item:hover { color: #C9B870; background: rgba(255, 255, 255, 0.05); }
.topnav .nav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-item.nav-book-now {
    padding: 6px 12px;
    background: none;
    text-transform: none;
    letter-spacing: 0;
}
.nav-item.nav-book-now img {
    display: block;
    height: 36px;
    width: auto;
}
.nav-item.nav-book-now:hover {
    background: none;
    opacity: 0.85;
    transform: translateY(-1px);
}

/* --- Password Visibility Toggle --- */
.password-field {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
}

.password-field:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}

.password-field input {
    flex: 1;
    border: none;
    background: transparent;
    margin-bottom: 0;
    padding-right: 8px;
}

.password-field input:focus {
    box-shadow: none;
    border-color: transparent;
}

.toggle-password {
    flex-shrink: 0;
    padding: 0 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--color-text);
}

.toggle-password svg {
    width: 18px;
    height: 18px;
}

/* --- Site Footer --- */
.site-footer {
    background: #1a3320;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    border-top: 2px solid #B0A05F;
    position: relative;
    z-index: 3;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.site-footer-disclaimer {
    font-size: 18px;
    color: rgba(240,235,224,0.75);
    line-height: 1.65;
    margin-bottom: 8px;
}

.site-footer-disclaimer strong {
    color: #f0ebe0;
    font-weight: 600;
}

.site-footer-copy {
    font-size: 16px;
    color: rgba(240,235,224,0.45);
    letter-spacing: 0.04em;
}

.site-footer-copy a {
    color: #B0A05F;
    text-decoration: none;
    margin: 0 4px;
    transition: opacity 0.2s ease;
}

.site-footer-copy a:hover {
    opacity: 0.75;
}

.site-footer-copy a + a::before {
    content: '|';
    color: #B0A05F;
    margin-right: 8px;
    font-size: 22px;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .site-footer { height: auto; padding: 16px 12px; }
    .site-footer-disclaimer { font-size: 10px; }
    .site-footer-copy {
        font-size: 11px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 10px;
    }
    .site-footer-copy a + a::before { display: none; }
    .site-footer-copy a { margin: 0; }

    /* Watermark — shrink so it doesn't crowd content */
    .page-watermark {
        height: 60vh;
        opacity: 0.12;
    }

    /* Page headings */
    .page-heading { font-size: 28px; }

    /* Inner page content padding */
    .page-wrap { padding: 80px 20px 60px; }
}
