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

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

body {
    background: #1a0a20;
    background: linear-gradient(135deg, #1a0a20 0%, #250c2e 50%, #1a0a20 100%);
}

::selection {
    background: #F5A623;
    color: #1a0a20;
}

/* === Decorative Blobs === */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob--plum {
    background: #7B2D8B;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob--amber {
    background: #F5A623;
    width: 400px;
    height: 400px;
    opacity: 0.2;
    animation-delay: -7s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === Floating Cards === */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card--top {
    animation-delay: 0s;
}

.card--right {
    animation-delay: -2s;
}

.card--bottom {
    animation-delay: -4s;
}

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

.float-delay-1 { animation-delay: 0s; }
.float-delay-2 { animation-delay: -2s; }
.float-delay-3 { animation-delay: -4s; }

/* === Navbar === */
.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%;
}

#navbar.scrolled {
    background: rgba(26, 10, 32, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* === Room Cards === */
.room-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.room-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Amenity Cards === */
.amenity-card {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.amenity-card.visible {
    opacity: 1;
    transform: translateX(0);
}

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* === Geometric Accents === */
.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* === Hover Effects === */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* === Ripple Effect on Buttons === */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, #F5A623 0%, #ffcc44 50%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a20;
}

::-webkit-scrollbar-thumb {
    background: #7B2D8B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a83d6e;
}

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

/* === Focus Styles === */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* === Print === */
@media print {
    .floating-card,
    .blob {
        display: none;
    }
}
