@charset "UTF-8";
/* CSS Document */
/* GLOBAL RESET & VARIABLES */
:root {
    --bg-color: #edede9;
	--bg-color-dark: #353535;
    --text-color: #111111;
    --muted-color: #696969;
    --border-color: #BF9B30;
	--ontop-color: rgba(233,233,233,0.66);
}

/* Ensure the main content doesn't jump up when the nav becomes fixed */
body {
    padding-top: 0; /* Default state */
    transition: padding-top 0.3s ease;
}

body.nav-is-fixed {
    /* Adjust this value based on your actual nav height to prevent content jumping */
    padding-top: 80px; 
}

body.night-mode {
    --bg-color: #212121; /* Deep void black */
    --text-color: #edede9; /* Soft, readable off-white */
    --muted-color: #edede9; /* Dimmer grays for secondary text */
    --border-color: #1a1a1a; /* Barely visible structuring lines */
	--ontop-color: rgba(33,33,33,0.66);
}

body.night-mode .liquid-glass {
    /* Night mode: sheer dark tint */
    background: rgba(10, 10, 10, 0.65); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- LIQUID GLASS UI EFFECT --- */
.liquid-glass {
    /* Day mode: sheer white frost */
    background: rgba(255, 255, 255, 0.65); 
    
    /* The magic blur effect */
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%); /* For Safari */
    
    /* Subtle glass edge */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    
    /* Fixes it to the top of the screen */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

@font-face {
    font-family: 'Earth Tone';
    src: url('EarthTone-Regular.woff2') format('woff2'),
        url('EarthTone-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* --- SCROLL REVEAL ANIMATION FOR IMAGES --- */
.reveal-image {
    opacity: 0;
    transform: scale(0.96); /* Subtle scale down for the starting position */
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
    width: 100%;
    height: auto;
    margin: 3rem 0; /* Generous breathing room around graphics */
    display: block;
    /* Optional: A very subtle grayscale filter to keep images on-brand */
    filter: grayscale(30%); 
}
/* --- NIGHT MODE DYNAMIC OVERRIDES --- */

/* Transform the Welcome Gate Atmosphere */
body.night-mode #welcome-gate {
    background-color: #212121; /* Pitch black space */
}

/* Transform the Sun into the Moon */
body.night-mode .sun-orb {
    /* Shifts from bright white to a softer, slightly cool lunar silver */
    background: radial-gradient(circle, rgba(200, 210, 240, 0.6) 0%, rgba(200, 210, 240, 0) 60%);
    filter: blur(50px);
}

/* Adjust the frosted glass to work in the dark */
body.night-mode .gate-content {
    background-color: rgba(10, 10, 10, 0.65); /* Dark frost */
    border: 1px solid #1a1a1a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); /* Deeper shadow */
}

/* Adjust placeholder text for the access code */
body.night-mode #access-code::placeholder {
    color: #666666;
}

/* Soften the image reveal effect for night viewing */
body.night-mode .reveal-image {
    filter: grayscale(30%) brightness(0.9); /* Dims images slightly so they don't blind the user */
}

.reveal-image.visible {
    opacity: 1;
    transform: scale(1); /* Rests at natural size */
	    filter: grayscale(0%); 
}
.amenities{
	font-size: .8em;
	color: var(--text-color);
	text-transform: uppercase;
	margin: auto;
	text-align: center;
}
.luxury-wording{
	text-decoration: line-through;
}
.habibi-regular {
  font-family: "Habibi", serif;
  font-weight: 400;
  font-style: normal;
}
.intro-code{
	font-size: .8em;
	color: #2a1f2d;
	text-transform: uppercase;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Habibi", serif;
    line-height: 1.8;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
	font-family: 'Earth Tone';
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--text-color); padding-bottom: 0.5rem; }
h3 { font-size: 1.4rem; margin-top: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }

p, ul, ol {
    margin-bottom: 1.5rem;
}

.intro {
    font-size: 1rem;
    color: var(--muted-color);
    font-style: normal;
	letter-spacing: .5px;
}

ul, ol { padding-left: 2rem; }
li { margin-bottom: 0.5rem; }

/* LAYOUT & NAVIGATION */
.content-wrapper {
    max-width: 680px; /* Optimal reading width */
    margin: 0 auto;
    padding: 2rem;
}

nav.navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
	font-family: 'Earth Tone';
}

.nav-links a {
    text-decoration: none;
    color: var(--muted-color);
    transition: color 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-color);
}

/* PAGE TRANSITIONS */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.page.active {
    display: block;
}

.page.fade-in {
    opacity: 1;
}

/* MINIMALIST FORM DESIGN */
.elegant-form fieldset {
    border: none;
    margin-bottom: 3rem;
    padding: 0;
}

.elegant-form legend {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input[type="text"], 
input[type="date"], 
textarea {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, 
input[type="date"]:focus, 
textarea:focus {
    border-bottom: 1px solid var(--text-color);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.radio-group, .checkbox-group {
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted-color);
    cursor: pointer;
}

input[type="radio"], input[type="checkbox"] {
    accent-color: var(--text-color);
}

.submit-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 1rem 3rem;
    font-family: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}
/* --- WELCOME GATE STYLES (ELEVATED) --- */
#app-container {
    display: none; /* Hidden until unlocked */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#welcome-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    overflow: hidden; /* Contains the generative art */
    
    /* GENERATIVE CSS SOLAR BACKGROUND ART 
       We use stacked radial gradients to simulate light diffusions. 
       Note: We keep the palette monochrome-adjacent (warm whites, light grays, 
       one tiny hint of soft peach/gold) to honor the black and white constraint 
       while providing the "light patterns of the sun" aesthetic.
    */
    background-color: #ffffff; /* Base layer */
    background-image: 
        /* Diffusion 1 (Soft cool light wash) */
        radial-gradient(circle at 10% 20%, rgba(240, 248, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%),
        /* Diffusion 2 (Noon high light) */
        radial-gradient(circle at 50% -30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%),
        /* Diffusion 3 (Warm Afternoon light/Transit path) */
        radial-gradient(circle at 90% 80%, rgba(255, 245, 230, 0.5) 0%, rgba(255, 255, 255, 0) 50%),
        /* Diffusion 4 (Deep soft shadow) */
        radial-gradient(circle at 0% 100%, rgba(245, 245, 245, 0.3) 0%, rgba(255, 255, 255, 0) 40%);
    
    /* Applies a deep blur effect across the entire background stack */
    backdrop-filter: blur(10px);
}

/* Animated pseudo-element to add dynamic movement 
   to the light, simulating the 'transit'.
*/
#welcome-gate::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 252, 240, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    filter: blur(20px);
    animation: solarTransit 120s linear infinite; /* 2-minute cycle, extremely subtle */
    z-index: -1; /* Placed behind content */
}

@keyframes solarTransit {
    0% {
        transform: translate(-10%, -10%);
    }
    25% {
        transform: translate(10%, -20%);
    }
    50% {
        transform: translate(20%, 10%);
    }
    75% {
        transform: translate(0%, 20%);
    }
    100% {
        transform: translate(-10%, -10%);
    }
}

/* Ensures content remains readable and elegant over the new background */
.gate-content {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    border: 1px solid var(--border-color); /* Subtle frame for the form */
    background-color: rgba(255, 255, 255, 0.85); /* Frosty opacity for readability */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); /* Elegant, soft depth */
}

.gate-content h1 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
}
.gate-content h3 {
    font-size: .88rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
}

.gate-content .intro {
    margin-bottom: 0.75rem;
    font-size: .9rem;
    color: var(--muted-color);
}

.gate-input-group {
    margin-top: 3.5rem;
}

#access-code {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.6em; /* Increased wide spacing for luxury feel */
    text-transform: uppercase;
    width: 280px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--text-color); /* Darker border for input */
    background: transparent;
    color: var(--text-color);
    outline: none;
    font-family: inherit;
}

#access-code::placeholder {
    letter-spacing: 0.25em;
    color: #1a1a1a;
    opacity: 0.6;
}

.error {
    color: #999999; /* Subtle error color, less alarming */
    font-size: 0.85rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error.show {
    opacity: 1;
}
/* --- WELCOME GATE & ATMOSPHERE --- */
#welcome-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    overflow: hidden; 
    
    /* A soft, pale atmospheric gray so the pure white sun stands out */
    background-color: #f4f4f4; 
}

/* --- THE SUN ORB --- */
.sun-orb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 80vw; /* Massive size for softness */
    height: 80vw;
    max-width: 1000px;
    max-height: 1000px;
    border-radius: 50%;
    
    /* Pure white core fading into total transparency */
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
    
    /* Extreme blur to make it feel like scattered light rather than a solid object */
    filter: blur(60px);
    
    /* The transit animation */
    animation: sunTransit 90s linear infinite;
    z-index: 0;
    pointer-events: none; /* Ensures it doesn't block clicks on the form */
}

/* Ensures the form sits above the moving light */
.gate-content {
    position: relative;
    z-index: 1; 
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.6); /* Very sheer frost */
    backdrop-filter: blur(10px); /* Blurs the sun slightly when it passes behind the form */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* --- THE TRANSIT ANIMATION --- */
@keyframes sunTransit {
    0% {
        /* Dawn: Bottom left, faded */
        transform: translate(-100vw, 20vh) scale(0.8);
        opacity: 0;
    }
    15% {
        /* Morning: Rising, becoming fully visible */
        opacity: 0.8;
    }
    50% {
        /* Zenith (Noon): High center, brightest and largest */
        transform: translate(10vw, -40vh) scale(1.2);
        opacity: 1;
    }
    85% {
        /* Afternoon: Descending, starting to fade */
        opacity: 0.8;
    }
    100% {
        /* Dusk: Bottom right, completely faded out */
        transform: translate(100vw, 20vh) scale(0.8);
        opacity: 0;
    }
}

/* MOBILE FIRST ADJUSTMENTS */
@media (min-width: 768px) {
    nav.navigation {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 4rem;
    }
    .logo {
        margin-bottom: 0;
    }
    .content-wrapper {
        padding: 10rem 2rem;
    }
}
@media (max-width: 480px) {
ul.nav-links {
    line-height: 1;
    font-size: .8rem;
    letter-spacing: 1px;
    text-align: justify;
	}
	.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
	}
nav.navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .4rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: var(--ontop-color);
}
}
/* --- WELCOME GATE STYLES --- */
#app-container {
    display: none; /* Hidden until unlocked */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#welcome-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bg-color-dark);
    z-index: 9999;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.inner-header{
	font-size: .9rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.gate-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.gate-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.gate-content .intro {
    margin-bottom: 2rem;
    font-size: .9rem;
	letter-spacing: 1px;
}

.gate-input-group {
    margin-top: 3rem;
}

#access-code {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    width: 250px;
    padding: 0.5rem;
}

#access-code::placeholder {
    letter-spacing: 0.2em;
    color: #cccccc;
}

.error {
    color: #555555;
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error.show {
    opacity: 1;
}