/* ===== ENHANCED STYLES WITH ANIMATIONS ===== */

/* Enhanced Logo Animation */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Navigation */
.navbar {
    animation: fadeInDown 0.8s ease-out;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

/* Enhanced Nav Menu Links */
.nav-menu a {
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

/* Enhanced Buttons with Gradient Animation */
.btn-primary {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px rgba(253, 160, 133, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(253, 160, 133, 0.4);
}

/* Enhanced Hero Section with Parallax */
.hero {
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 2;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.5s both;
    background: linear-gradient(135deg, #fff 0%, #f6d365 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.7s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Enhanced Booking Card with Glass Morphism */
.booking-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: scaleIn 1s ease-out 0.9s both;
    transition: all 0.4s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.form-control:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

/* Enhanced Search Button */
.btn-search {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 5px 20px rgba(253, 160, 133, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-search:hover::before {
    left: 100%;
}

.btn-search:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(253, 160, 133, 0.5);
}

.btn-search:hover i {
    transform: scale(1.2) rotate(90deg);
    transition: transform 0.3s ease;
}

/* Enhanced Feature Cards */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 30px rgba(253, 160, 133, 0.5);
}

.feature-card:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Enhanced Room Cards */
.section-header {
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 2px;
}

.room-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.3s; }
.room-card:nth-child(3) { animation-delay: 0.5s; }

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.room-card:hover::before {
    opacity: 0.05;
}

.room-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Enhanced Room Images */
.room-image {
    overflow: hidden;
}

.room-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-card:hover .room-image::after {
    opacity: 1;
}

.room-card:hover .room-image img {
    transform: scale(1.15) rotate(2deg);
}

.room-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Room Content */
.room-card:hover .room-header h3 {
    color: var(--primary-color);
}

.room-rating i {
    transition: transform 0.2s ease;
}

.room-card:hover .room-rating i {
    transform: scale(1.2);
}

.room-card:hover .room-rating i:nth-child(1) { transition-delay: 0s; }
.room-card:hover .room-rating i:nth-child(2) { transition-delay: 0.05s; }
.room-card:hover .room-rating i:nth-child(3) { transition-delay: 0.1s; }
.room-card:hover .room-rating i:nth-child(4) { transition-delay: 0.15s; }
.room-card:hover .room-rating i:nth-child(5) { transition-delay: 0.2s; }

.room-features span {
    transition: all 0.3s ease;
}

.room-card:hover .room-features span {
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.2), rgba(253, 160, 133, 0.2));
    transform: translateY(-2px);
}

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

/* Enhanced Book Button */
.btn-book {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-book::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-book:hover::before {
    width: 300px;
    height: 300px;
}

.btn-book:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(253, 160, 133, 0.5);
}

/* Enhanced Amenities */
.amenities {
    position: relative;
    overflow: hidden;
}

.amenities::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

.amenity-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.amenity-item:nth-child(1) { animation-delay: 0.1s; }
.amenity-item:nth-child(2) { animation-delay: 0.2s; }
.amenity-item:nth-child(3) { animation-delay: 0.3s; }
.amenity-item:nth-child(4) { animation-delay: 0.4s; }
.amenity-item:nth-child(5) { animation-delay: 0.5s; }
.amenity-item:nth-child(6) { animation-delay: 0.6s; }

.amenity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.amenity-item:hover::before {
    opacity: 0.08;
}

.amenity-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.amenity-item i {
    transition: all 0.4s ease;
}

.amenity-item:hover i {
    transform: scale(1.2) rotateY(360deg);
}

.amenity-item:hover h4 {
    color: var(--primary-color);
}

/* Enhanced Gallery */
.gallery {
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 15s ease-in-out infinite;
}

.gallery-item {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
    transition: all 0.4s ease;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(253, 160, 133, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.7;
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

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

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

/* Enhanced Contact Section */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -300px;
    left: -300px;
    animation: float 20s ease-in-out infinite;
}

.contact-info {
    animation: slideInLeft 0.8s ease-out;
}

.contact-item {
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.4s; }
.contact-item:nth-child(3) { animation-delay: 0.6s; }

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(10px);
}

.contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    animation: slideInRight 0.8s ease-out;
}

.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

/* Enhanced Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    bottom: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite reverse;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section ul li {
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Enhanced Social Links */
.social-links a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    transform: scale(0);
    transition: transform 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* Enhanced Newsletter Form */
.newsletter-form button:hover i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.footer-bottom {
    animation: fadeIn 1s ease-out 0.5s both;
}

.footer-bottom:hover p {
    color: rgba(255,255,255,1);
}

/* Responsive Animations */
@media (max-width: 768px) {
    .feature-card:hover,
    .room-card:hover,
    .amenity-item:hover {
        transform: translateY(-10px);
    }
}
