/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

::selection {
    background-color: #10b981;
    color: white;
}

/* Geometric Background Decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    background: rgba(16, 185, 129, 0.03);
    border-radius: 24px;
    transform: rotate(45deg);
}

.geo-rect--1 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 5%;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent rgba(16, 185, 129, 0.05) transparent;
    transform: rotate(-15deg);
}

.geo-triangle--1 {
    top: 60%;
    right: 8%;
}

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

.float-card-2 {
    animation: float-2 5s ease-in-out infinite;
}

.float-card-3 {
    animation: float-3 7s ease-in-out infinite;
}

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

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

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

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: justify-center;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

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

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

.room-card:hover .rounded-3xl img {
    transform: scale(1.05);
}

/* Feature Items */
.feature-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Nearby Cards */
.nearby-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.nearby-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.12);
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #064e3b;
}

/* Header Scroll State */
#site-header.scrolled {
    background: rgba(255, 254, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

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

/* Input Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-rect--1 {
        width: 100px;
        height: 100px;
    }
    
    .float-card-3 {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
