/* Custom Styles for The Lodge at Coopers Hawk */

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-text {
    transition: color 0.3s ease;
}

/* Hero Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(254, 253, 248, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    right: 5%;
    animation-delay: -5s;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    border: 3px solid rgba(254, 253, 248, 0.2);
    top: 30%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: -10s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(254, 253, 248, 0.1);
    bottom: 30%;
    left: 10%;
    animation-delay: -7s;
}

.shape-dots {
    background-image: radial-gradient(rgba(254, 253, 248, 0.3) 2px, transparent 2px);
    background-size: 30px 30px;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -3s;
}

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

/* Feature Stats */
.feature-stat {
    transition: transform 0.3s ease;
}

.feature-stat:hover {
    transform: translateY(-5px);
}

/* Room Cards */
.room-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(45, 114, 65, 0.08);
    transition: all 0.4s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 114, 65, 0.15);
}

/* Amenity Cards */
.amenity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(254, 253, 248, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.amenity-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Gallery Items */
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #2d7241;
}

/* Form Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(68, 143, 88, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: #448f58;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d7241;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .room-card {
        padding: 1rem;
    }
}

/* 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;
    }
}
