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

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #040B16;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #38A169 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #68D391 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.shape-diamond {
    width: 200px;
    height: 200px;
    background: #38A169;
    transform: rotate(45deg);
    top: 20%;
    left: 45%;
    animation: spin 20s linear infinite;
}

.shape-diamond-2 {
    width: 150px;
    height: 150px;
    background: #68D391;
    transform: rotate(45deg);
    top: 30%;
    right: 10%;
    animation: spin 15s linear infinite reverse;
}

.shape-diamond-3 {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.4);
    transform: rotate(45deg);
    bottom: 20%;
    left: 15%;
    animation: spin 12s linear infinite;
}

.shape-rect {
    width: 100px;
    height: 250px;
    background: #152D58;
    top: 15%;
    right: 30%;
    border-radius: 16px;
    animation: float 7s ease-in-out infinite;
}

.shape-rect-2 {
    width: 80px;
    height: 200px;
    background: #152D58;
    bottom: 10%;
    left: 8%;
    border-radius: 12px;
    animation: float 9s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #38A169;
    top: 60%;
    left: 10%;
    opacity: 0.06;
    animation: float 11s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ROOM CARDS ===== */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    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 ===== */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* ===== BUTTONS ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #68D391;
    outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(56, 161, 105, 0.3);
    color: #ffffff;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .room-card:hover,
    a:hover {
        animation: none;
        transition: none;
    }
    .room-card:hover {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}
