/* Custom Styles for CattleCoin Ranch */

/* Geometric Shape Animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,175,82,0.4) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation-delay: -5s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(255,255,255,0.2);
    top: 40%;
    right: 10%;
    transform: rotate(15deg);
    animation-delay: -10s;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.3);
    top: 60%;
    left: 15%;
    transform: rotate(45deg);
    animation-delay: -7s;
}

.shape-diamond-1 {
    width: 120px;
    height: 120px;
    background: rgba(212,175,82,0.3);
    transform: rotate(45deg);
    bottom: 20%;
    right: 20%;
    animation-delay: -3s;
}

.shape-circle-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.shape-square-2 {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.2);
    bottom: -50px;
    right: 10%;
    transform: rotate(30deg);
}

.shape-circle-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 139px solid rgba(255,255,255,0.15);
    top: 20%;
    left: 5%;
    transform: rotate(-10deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Room Card Hover Effects */
.room-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover {
    transform: translateY(-8px);
}

.room-card .group:hover img {
    transform: scale(1.1);
}

/* Amenity Card Hover */
.amenity-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

/* Testimonial Card Hover */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c74216;
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .room-card,
    .amenity-card,
    .testimonial-card {
        animation: none;
        transition: none;
    }
    
    .room-card:hover,
    .amenity-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d95a24;
    outline-offset: 2px;
}
