/* Custom Styles for Slabhuntersla */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5fbf9;
}
::-webkit-scrollbar-thumb {
    background: #98d3c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5fb8a1;
}

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

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

.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Section Animations */
.section-label {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-text {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-list {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-image,
.section-images,
.section-form {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Animations */
.hero-badge {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-title {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-text {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-buttons {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.hero-trust {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.hero-images {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Active States */
.visible .section-label,
.visible .section-title,
.visible .section-text,
.visible .section-list,
.visible .section-image,
.visible .section-images,
.visible .section-form,
.visible .hero-badge,
.visible .hero-title,
.visible .hero-text,
.visible .hero-buttons,
.visible .hero-trust,
.visible .hero-images {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Room Cards */
.room-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Amenity Cards */
.amenity-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Navbar */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.05);
}

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

/* Button Hover Effects */
a[href="#contact"] {
    position: relative;
    overflow: hidden;
}

a[href="#contact"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    transition: width 0.6s ease, height 0.6s ease;
}

a[href="#contact"]:hover::after {
    width: 300px;
    height: 300px;
}

/* Image Hover */
.group:hover .group\\:scale-105 {
    transform: scale(1.05);
}

/* Selection Color */
::selection {
    background: #c8e8df;
    color: #0A2540;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid #5fb8a1;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-badge {
        animation: none;
    }
    
    .floating-card,
    .floating-card-delayed {
        display: none;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact,
    footer {
        display: none;
    }
}
