/* Custom Styles for Rustic River Retreat */

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

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

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

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(244, 114, 182, 0.3);
    top: 25%;
    left: 10%;
    animation: rotate 15s linear infinite;
}

.shape-rect {
    width: 100px;
    height: 100px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    bottom: 30%;
    right: 25%;
    animation: rotate 20s linear infinite reverse;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 60%;
    left: 20%;
    animation: float 12s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Navbar Transition */
.nav-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be185d, #f59e0b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d174d, #d97706);
}

/* Selection Color */
::selection {
    background: rgba(190, 24, 93, 0.3);
    color: #831443;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .scroll-reveal,
    button,
    a,
    img {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Card Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Gradient Text Fallback */
.text-transparent.bg-clip-text.bg-gradient-to-r {
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading State for Buttons */
button:disabled,
input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
