/* ============================================
   Average JoeD — Waldport Lodging
   Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(185, 76, 138, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 60%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(245, 166, 35, 0.1);
    top: 45%;
    left: 5%;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(185, 76, 138, 0.06);
    top: 30%;
    left: 15%;
    animation: float 9s ease-in-out infinite reverse;
}

/* ============================================
   Navigation
   ============================================ */
.nav-glass {
    background: rgba(35, 13, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 45, 91, 0.3);
    transition: all duration-500;
}

.nav-glass.scrolled {
    background: rgba(35, 13, 30, 0.95);
    border-bottom-color: rgba(245, 166, 35, 0.2);
}

.nav-link {
    position: relative;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn-amber {
    background: linear-gradient(135deg, #F5A623 0%, #E8930F 100%);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.25);
    transition: all 0.3s ease;
}

.btn-amber:hover {
    box-shadow: 0 8px 32px rgba(245, 166, 35, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid rgba(245, 166, 35, 0.5);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #F5A623;
    background: rgba(245, 166, 35, 0.1);
}

/* ============================================
   Room Cards
   ============================================ */
.room-card {
    background: rgba(93, 36, 75, 0.25);
    border: 1px solid rgba(107, 45, 91, 0.4);
    border-radius: 20px;
    padding: 12px;
    transition: all 0.4s ease;
}

.room-card:hover {
    background: rgba(93, 36, 75, 0.4);
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(245, 166, 35, 0.08);
}

.room-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.room-card-img {
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-img {
    transform: scale(1.08);
}

.room-card-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: #F5A623;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    position: relative;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-18px) rotate(2deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-24px); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    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; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
        right: -80px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 70px;
        height: 70px;
    }
    
    .geo-triangle-1 {
        border-left-width: 35px;
        border-right-width: 35px;
        border-bottom-width: 60px;
    }
}

/* ============================================
   Focus Styles
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #F5A623;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: rgba(245, 166, 35, 0.3);
    color: #fff;
}
