/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric hero shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #86efac, transparent 70%);
    top: 40%;
    right: 30%;
    border-radius: 50%;
    animation-delay: -2s;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #bbf7d0, transparent 70%);
    bottom: 10%;
    left: 20%;
    border-radius: 50%;
    animation-delay: -4s;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: #4ade80;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    opacity: 0.08;
    animation-delay: -3s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #86efac;
    top: 60%;
    left: 10%;
    opacity: 0.1;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Dot grid animation */
.dot-grid {
    animation: pulse-dot 4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #166534 !important;
}

.nav-scrolled .nav-link {
    color: #4b5563 !important;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Back to top button */
.back-to-top-visible {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

/* Staggered reveal delays */
.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; }

/* Custom selection color */
::selection {
    background: #86efac;
    color: #052e16;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #e8e4d8 0%, #f5f3ed 100%);
}

/* Subtle pattern overlay for cream sections */
.bg-cream-50::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(22, 101, 52, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Amenity card hover glow */
.group:hover .w-14 {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}
