/* ============================================
   Monley Lake House — Custom Styles
   ============================================ */

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #D4A017;
    color: #0A1628;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    top: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10,22,40,0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-circle-3 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(212,160,23,0.08);
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite;
}

.geo-tri-1 {
    top: 40%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: rgba(212,160,23,0.05);
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-1 {
    bottom: 10%;
    right: 20%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(10,22,40,0.06);
    transform: rotate(30deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-dots {
    top: 30%;
    right: 30%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(212,160,23,0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* --- Navbar --- */
#navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A017;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #D4A017;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-logo-icon {
    color: #D4A017;
    transition: transform 0.3s ease;
}

a:hover .nav-logo-icon {
    transform: scale(1.05);
}

/* --- Hamburger --- */
#mobile-menu-btn {
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #D4A017;
}

/* --- Hero --- */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(3, 9, 18, 0.4) 0%, transparent 40%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: #D4A017;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
}

.gold-dot {
    width: 8px;
    height: 8px;
    background: #D4A017;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #D4A017 0%, #b8860b 100%);
    color: #0A1628;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
    background: linear-gradient(135deg, #efc23d 0%, #D4A017 100%);
}

.btn-gold.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: #D4A017;
    color: #D4A017;
    transform: translateY(-2px);
}

.btn-outline-light.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Room Cards --- */
.room-card {
    background: transparent;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* --- Amenities --- */
.amenity-item {
    transition: transform 0.3s ease;
}

.amenity-item:hover {
    transform: translateX(4px);
}

.amenity-item:hover .w-14 {
    background: #D4A017;
}

.amenity-item:hover .w-14 svg {
    color: #0A1628;
}

/* --- Form --- */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: #D4A017;
    background: rgba(212, 160, 23, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-input option {
    background: #0A1628;
    color: #fff;
}

/* --- Reveal Animations (progressive enhancement) --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle-1,
    .geo-circle-2,
    .geo-circle-3,
    .geo-tri-1,
    .geo-rect-1,
    .geo-dots {
        display: none;
    }
}
