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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
}

::selection {
    background: #f5a623;
    color: #3d0847;
}

/* === Geometric Background Shapes === */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

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

.shape-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 45, 142, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.shape-circle-3 {
    top: 50%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite;
}

.shape-square-1 {
    top: 30%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(245, 166, 35, 0.06);
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.shape-diamond-1 {
    bottom: 30%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(123, 45, 142, 0.06);
    border-radius: 16px;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite reverse;
}

.shape-arc-1 {
    top: 60%;
    right: 15%;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(245, 166, 35, 0.08);
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: spin-slow 15s linear infinite;
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

.card-plum {
    animation-delay: 1.3s;
}

.card-white {
    animation-delay: 2.6s;
}

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

/* === Amenity Cards === */
.amenity-card {
    animation: float-card 5s ease-in-out infinite;
}

.amenity-card:nth-child(1) { animation-delay: 0s; }
.amenity-card:nth-child(2) { animation-delay: 0.8s; }
.amenity-card:nth-child(3) { animation-delay: 1.6s; }
.amenity-card:nth-child(4) { animation-delay: 2.4s; }
.amenity-card:nth-child(5) { animation-delay: 3.2s; }
.amenity-card:nth-child(6) { animation-delay: 4s; }

/* === Gallery Items === */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* === Scroll Reveal (Progressive Enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s 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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* === Navbar Scroll State === */
.navbar-scrolled {
    background: rgba(253, 240, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.1);
}

/* === Mobile Menu Transition === */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .shape-circle-1,
    .shape-circle-2,
    .shape-circle-3,
    .shape-square-1,
    .shape-diamond-1,
    .shape-arc-1 {
        display: none;
    }
}
