/* Custom Styles for Shah Residence */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #1a0a1e;
}

::-webkit-scrollbar-thumb {
    background: #4a1854;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b2277;
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f2ddf4;
}

/* Navbar Transition */
#navbar {
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(26, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

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

/* Room Card Hover Effects */
.room-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Amenity Item Hover */
.amenity-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.amenity-item:hover {
    transform: translateY(-4px);
}

/* Mobile Menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: rgba(212, 160, 23, 0.6) !important;
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.2);
}

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.15);
}

/* Smooth Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Decorative Lines */
.deco-line {
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.3), transparent);
}

/* Gold Gradient Text */
.gold-gradient {
    background: linear-gradient(135deg, #e6b84d, #d4a017, #b8740a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    #rooms .font-serif,
    #amenities .font-serif,
    #experience .font-serif,
    #location .font-serif,
    #contact .font-serif {
        font-size: 2.25rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
