/* ========================================
   The Ideal Hideaway — Custom Styles
   Premium Dark Luxury · Teal + Gold
======================================== */

/* ---------- Reset & Base ---------- */
*, *::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: rgba(201, 168, 76, 0.3);
    color: #f0f7f7;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1a1a;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ---------- Gold Button ---------- */
.gold-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a84c 0%, #d4af57 50%, #b08d3a 100%);
    color: #0a1a1a;
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.gold-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8d5a0 0%, #c9a84c 50%, #d4af57 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.25), 0 8px 16px rgba(201, 168, 76, 0.15);
}

.gold-button:hover::before {
    opacity: 1;
}

.gold-button span {
    position: relative;
    z-index: 1;
}

/* ---------- Section Label ---------- */
.section-label {
    display: block;
}

/* ---------- Floating Cards ---------- */
.floating-card-1 {
    animation: float-slow 6s ease-in-out infinite;
}
.floating-card-2 {
    animation: float-medium 5s ease-in-out infinite;
    animation-delay: -1.5s;
}
.floating-card-3 {
    animation: float-slow 7s ease-in-out infinite;
    animation-delay: -3s;
}

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

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

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Default state: visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Room Cards ---------- */
.room-card {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .room-card {
        opacity: 0;
        transform: translateY(40px);
    }
    .room-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Experience Cards ---------- */
.exp-card {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .exp-card {
        opacity: 0;
        transform: translateY(30px);
    }
    .exp-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Gallery Scroll ---------- */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* ---------- Date Input ---------- */
.date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* ---------- Text Color Utility ---------- */
.text-white\/45 {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Mobile Menu ---------- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
}

/* ---------- Navbar ---------- */
.nav-scrolled {
    background: rgba(10, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .gold-button {
        width: 100%;
    }
}
