@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

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

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

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

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

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

body {
    padding-top: 0;
}

/* Navigation styles */
nav {
/*     backdrop-filter: blur(10px); */
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.5), transparent);
}

nav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Loading animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal styles */
#enquireModal {
    display: none;
}

#enquireModal.show {
    display: flex;
}

/* Ensure config cards are visible */
.config-card {
    opacity: 1 !important;
}

/* Ensure floor plan cards are visible */
.floorplan-card {
    opacity: 1 !important;
}

/* Amenity icon hover effects */
.amenity-icon:hover > div:first-child {
    transform: scale(1.1);
}

/* Floor plan card hover */
.floorplan-card:hover {
    transform: translateY(-5px);
}

/* Floor plan tab styles */
.floorplan-tab.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.floorplan-tab:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.floorplan-tab {
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border-radius: 9999px;
}

.floorplan-tab:hover {
    color: #d4af37;
}

.floorplan-tab.active {
    background: #d4af37;
    color: #1a1a2e;
}

/* Gallery item hover */
.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}