/* ============================================
   Granite Lodge — Custom Styles
   ============================================ */

/* Base reset & smooth scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid #C9A227;
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float-slow 25s ease-in-out infinite;
}

.geo-square-1 {
    width: 300px;
    height: 300px;
    border: 2px solid #C9A227;
    bottom: 20%;
    left: -80px;
    transform: rotate(15deg);
    animation: float-slow 20s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #C9A227;
    top: 45%;
    right: 5%;
    opacity: 0.03;
    animation: float-slow 30s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #C9A227;
    border-radius: 50%;
    top: 60%;
    left: 10%;
    opacity: 0.02;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-diamond-1 {
    width: 150px;
    height: 150px;
    border: 2px solid #C9A227;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.03;
    animation: float-slow 22s ease-in-out infinite;
}

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

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

#navbar.scrolled {
    background-color: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Mobile Menu
   ============================================ */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* ============================================
   Amenity Cards
   ============================================ */
.amenity-card {
    transform: translateY(0);
    transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

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

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   Form Focus States
   ============================================ */
input:focus, textarea:focus {
    outline: none;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background-color: rgba(201, 162, 39, 0.3);
    color: #fff;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .geo-shape,
    #navbar,
    .amenity-card {
        display: none;
    }
}
