/* Custom styles for Eagle One Resort */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(201, 168, 108, 0.3);
    color: #E8D5C4;
}

/* Body text base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar transition states */
.nav-scrolled {
    background-color: rgba(15, 20, 25, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 108, 0.1);
}

/* Mobile menu animation */
.mobile-menu-open #bar1 {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-open #bar2 {
    opacity: 0;
}
.mobile-menu-open #bar3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 24px;
}

.mobile-menu-open #menuBtn {
    cursor: pointer;
}

/* Mobile menu visible state */
.mobile-menu-visible #mobileMenu {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1A2128 0%, #0F1419 100%);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C9A86C;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Subtle pattern overlay for dark sections */
.section-pattern {
    background-image: radial-gradient(rgba(201, 168, 108, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gold divider animation on hover */
.gold-divider {
    position: relative;
}
.gold-divider::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #C9A86C, transparent);
    transition: width 0.4s ease;
}
.gold-divider:hover::after {
    width: 100%;
}

/* Button press effect */
.btn-press {
    transition: transform 0.1s ease;
}
.btn-press:active {
    transform: scale(0.97);
}

/* Custom image aspect ratios */
.img-portrait {
    aspect-ratio: 3/4;
}
.img-landscape {
    aspect-ratio: 4/3;
}
.img-square {
    aspect-ratio: 1/1;
}
