/* --- Variables & Colors --- */
:root {
    /* Brand Colors */
    --purple-deep: #582a84;
    --purple-light: #d9d2e9;
    --purple-mid: #b4a7d6;
    --text-dark: #444444;
    --heading-black: #000000;
    --pure-white: #ffffff;

    /* Glassmorphism Configuration */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(88, 42, 132, 0.1);
    --glass-blur: none;
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Global Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--pure-white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--heading-black);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--purple-deep);
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--purple-mid);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Animated Background Blobs --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfdfd, #f5f3fa);
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--purple-light);
    top: -100px;
    left: -100px;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--purple-mid);
    bottom: 10vh;
    right: -50px;
    animation-delay: -5s;
}
.blob-3 {
    width: 600px;
    height: 600px;
    background: rgba(88, 42, 132, 0.15); /* very faint deep purple */
    top: 30vh;
    left: 40vw;
    animation-delay: -10s;
}
.blob-4 {
    width: 300px;
    height: 300px;
    background: var(--purple-light);
    bottom: -100px;
    left: 10vw;
    animation-delay: -15s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Glassmorphism Utilities --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    z-index: 2;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px 0 rgba(88, 42, 132, 0.3);
}

.glass-card:hover::before {
    left: 200%;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--purple-deep);
    color: var(--pure-white);
    border: none;
    box-shadow: 0 4px 15px rgba(88, 42, 132, 0.2);
}
.btn-primary:hover {
    background: var(--purple-mid);
    color: var(--pure-white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(88, 42, 132, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--purple-deep);
    border: 1px solid var(--purple-deep);
}
.btn-secondary:hover {
    background: var(--purple-deep);
    color: var(--pure-white);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: #ffffff;
    border: 1px solid rgba(88, 42, 132, 0.1);
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 70px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-deep);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--heading-black);
    position: relative;
    padding: 0.2rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--purple-deep);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--purple-deep);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-contact {
    background: var(--purple-deep);
    color: var(--pure-white) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-contact::after {
    display: none; /* Hide underline for button */
}
.btn-contact:hover {
    background: var(--purple-mid);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(88, 42, 132, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--purple-deep);
    border-radius: 3px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--purple-deep);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.image-card {
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.image-card img {
    border-radius: 16px;
    width: 100%;
    height: 70vh; /* Responsive height */
    max-height: 800px;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--glass-shadow);
}
.image-card:hover {
    transform: translateY(-5px);
}
.image-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 25px 50px rgba(88, 42, 132, 0.25);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2rem;
}
.about-text h3 {
    font-size: 2rem;
    color: var(--purple-deep);
}
.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.stat h4 {
    font-size: 2.5rem;
    color: var(--purple-deep);
    margin-bottom: 0.2rem;
}
.stat p {
    font-weight: 500;
}

/* --- Rooms Section --- */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.room-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.room-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.room-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.room-card:hover .room-img img {
    transform: scale(1.1);
}
.room-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(88, 42, 132, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}
.room-card:hover .room-img::after {
    opacity: 1;
}
.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: var(--purple-deep);
}
.room-details h3 {
    font-size: 1.5rem;
}
.room-details p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.room-features {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--purple-deep);
}

/* --- Amenities Section --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.amenity-card {
    text-align: center;
    padding: 3rem 2rem;
}
.amenity-card i {
    font-size: 2.5rem;
    color: var(--purple-deep);
    margin-bottom: 1.5rem;
    display: inline-block;
}
.amenity-card:hover i {
    animation: bounce 0.6s ease infinite alternate;
}
@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); color: var(--purple-mid); }
}
.amenity-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.gallery-item {
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(88, 42, 132, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%) scale(0.5);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none;
}
.gallery-item:hover img {
    transform: scale(1.15);
}
.gallery-item:hover::before {
    opacity: 1;
}
.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.gallery-item.wide {
    grid-column: span 2;
}

/* --- Locations Section --- */
.locations-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0;
    overflow: hidden;
}
.location-info {
    padding: 3rem;
}
.location-info h3 {
    color: var(--purple-deep);
    font-size: 2rem;
}
.location-list {
    list-style: none;
    margin-top: 2rem;
}
.location-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}
.location-list li:hover {
    transform: translateX(10px);
    background: rgba(88, 42, 132, 0.05);
    color: var(--purple-deep);
}
.location-list i {
    color: var(--purple-mid);
    margin-top: 5px;
    transition: transform 0.3s ease;
}
.location-list li:hover i {
    transform: scale(1.3);
}
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.review-card {
    padding: 2.5rem;
}
.stars {
    color: #e5b300;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}
.review-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--purple-deep);
    text-align: right;
}

/* --- Contact Section & 3D Map --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-details h3 {
    font-size: 2rem;
    color: var(--purple-deep);
}
.contact-methods {
    margin: 2rem 0;
}
.method {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}
.method i {
    color: var(--purple-mid);
    font-size: 1.2rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--purple-light);
    padding: 1rem;
    border-radius: 12px;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--purple-deep);
    background: rgba(255, 255, 255, 0.8);
}
.map-container {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    border-radius: 24px;
}
.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 1rem;
    border-radius: 16px;
    pointer-events: none;
}
.map-overlay h4 {
    margin-bottom: 0.2rem;
    color: var(--purple-deep);
}
.map-overlay p {
    font-size: 0.85rem;
}

/* --- Footer --- */
.glass-footer {
    background: #ffffff;
    border-top: 1px solid rgba(88, 42, 132, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand h3 {
    color: var(--purple-deep);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--purple-deep);
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-deep);
    font-size: 1.2rem;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--purple-deep);
    color: var(--pure-white);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(88, 42, 132, 0.4);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--purple-light);
    font-size: 0.9rem;
}


/* --- Responsive Enhancements --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .image-card img {
        height: 60vh;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        padding: 2rem;
        border-radius: 0;
        box-shadow: none;
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        background: rgba(255, 255, 255, 0.95); /* subtle background for readability while active, or keep it trans if they insist */
    }
    .nav-menu.active {
        background: transparent !important;
        padding-top: 5rem; /* Push down to avoid overlap */
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    .nav-menu a {
        color: rgb(88, 42, 132) !important; /* Deep Purple explicitly */
        font-size: 1.4rem;
        font-weight: 800;
        text-shadow: 2px 2px 15px rgba(255, 255, 255, 1), -2px -2px 15px rgba(255, 255, 255, 1);
        letter-spacing: 1px;
    }
    .btn-contact {
        background: rgb(88, 42, 132) !important;
        color: white !important;
        width: auto;
        margin-top: 2rem;
        padding: 0.8rem 2rem !important;
    }
    .menu-toggle {
        display: flex;
    }
    
    .hero-container, .about-grid, .locations-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .image-card img {
        height: 50vh;
        min-height: 350px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .gallery-item.wide {
        grid-column: span 1;
    }
    .location-image, .about-stats {
        order: -1;
    }
    .glass-footer {
        padding: 3rem 1.5rem 1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .image-card img {
        height: 45vh;
        min-height: 300px;
    }
    .glass-card {
        padding: 1.5rem;
    }
    .about-text h3, .location-info h3 {
        font-size: 1.6rem;
    }
}

/* --- Background Blobs Layering --- */
.background-blobs {
    z-index: -2 !important;
}

/* --- Real-Time Color Shade --- */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(88, 42, 132, 0.15) 0%, rgba(88, 42, 132, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
}

.cursor-follower.visible {
    opacity: 1;
}

img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.image-card:hover img, .gallery-item:hover img, .room-image:hover img {
    transform: scale(1.08) !important;
    filter: brightness(1.05);
}
