/* Custom styles for Tranquil Waters Cabin */

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: #E8735A;
    color: #fff;
}

/* Hero image subtle parallax on scroll */
@media (prefers-reduced-motion: no-preference) {
    #hero img {
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* Thin underline animation on hover for links */
a {
    text-decoration: none;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #E8735A !important;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Mobile menu overlay backdrop */
#mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: -1;
}

/* Navbar transition */
#navbar {
    background: transparent;
}

#navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Hamburger animation */
.menu-line {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

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

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

#menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 24px;
}

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

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

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

/* Amenity item hover */
/* (amenities are simple list items, no hover needed) */

/* Subtle card hover lift */
/* (cards use border-based design, no lift needed) */

/* Print styles */
@media print {
    nav, #mobile-menu, button, iframe {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
