/* =========================================
   SAFE VISUAL ENHANCEMENTS
   - No global selectors
   - No transforms on clickable elements
   - Preserves existing color scheme
   - Only enhances non-interactive elements
   ========================================= */

/* Hero Section Enhancements */
.hero-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1.2s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1.4s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Room Cards Hover Enhancement */
.room-card-large {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card-large:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.room-card-large img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card-large:hover img {
    transform: scale(1.05);
}

/* Amenity Cards Hover */
.amenity-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

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

.amenity-card i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.amenity-card:hover i {
    transform: scale(1.15);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Gallery Item Hover */
.gallery-item-full {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item-full:hover {
    transform: scale(1.02);
}

.gallery-item-full img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-full:hover img {
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Hover Enhancements (non-booking buttons) */
.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 15, 35, 0.3);
}

.btn-primary:active,
.cta-button:active {
    transform: translateY(0);
}

/* Section Headers */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

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

/* Image Fade In on Load */
img {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Footer Social Links */
.social-links a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.amenity-icon {
    animation: float 3s ease-in-out infinite;
}

.amenity-card:nth-child(1) .amenity-icon {
    animation-delay: 0s;
}

.amenity-card:nth-child(2) .amenity-icon {
    animation-delay: 0.2s;
}

.amenity-card:nth-child(3) .amenity-icon {
    animation-delay: 0.4s;
}

.amenity-card:nth-child(4) .amenity-icon {
    animation-delay: 0.6s;
}

.amenity-card:nth-child(5) .amenity-icon {
    animation-delay: 0.8s;
}

.amenity-card:nth-child(6) .amenity-icon {
    animation-delay: 1s;
}

/* Stagger Animation for Cards on Page Load */
.room-card-large,
.amenity-card,
.testimonial-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: backwards;
}

.room-card-large:nth-child(1),
.amenity-card:nth-child(1),
.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.room-card-large:nth-child(2),
.amenity-card:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.room-card-large:nth-child(3),
.amenity-card:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.room-card-large:nth-child(4),
.amenity-card:nth-child(4) {
    animation-delay: 0.4s;
}

.room-card-large:nth-child(5),
.amenity-card:nth-child(5) {
    animation-delay: 0.5s;
}

.room-card-large:nth-child(6),
.amenity-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .hero-title,
    .hero-subtitle {
        animation-duration: 0.8s;
    }
    
    .amenity-icon {
        animation: none; /* Disable floating on mobile for performance */
    }
    
    .room-card-large:hover,
    .gallery-item-full:hover {
        transform: none; /* Disable hover effects on touch devices */
    }
}
