/* Footer Premium Styles */
.footer-premium {
    background: #111 !important;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* 3D About Section Styles */
.about-image-wrapper-3d {
    position: relative;
    perspective: 1500px;
}

.image-3d-inner {
    position: relative;
    transform: rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.6s ease-out;
}

.about-image-wrapper-3d:hover .image-3d-inner {
    transform: rotateY(0deg) rotateX(0deg);
}

.main-img {
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.2) !important;
}

.floating-badge {
    bottom: 10%;
    left: -10%;
    z-index: 10;
    min-width: 220px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* CTA 3D & Advanced Styles */
.cta-3d-card {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.cta-3d-card:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02) !important;
}

.pulse-button {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(124, 58, 237, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

.transition-up {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.transition-up:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Gallery Detail Crops */
.gallery-crop-1 {
    object-position: left center;
    transform: scale(1.5);
    transition: transform 0.5s ease;
}

.gallery-crop-2 {
    object-position: center bottom;
    transform: scale(1.8);
    transition: transform 0.5s ease;
}

.gallery-crop-3 {
    object-position: right top;
    transform: scale(1.6);
    transition: transform 0.5s ease;
}

.gallery-crop-1:hover,
.gallery-crop-2:hover,
.gallery-crop-3:hover {
    transform: scale(1);
}

.special-card img {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.special-card:hover img {
    transform: scale(1.1);
}

:root {
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary-color: #64748b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s ease;
}

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

/* Navbar Styling */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar-scrolled {
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    margin-top: -88px;
    /* Offset for transparent navbar */
}

.carousel-item {
    transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out;
    color: var(--white);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid var(--white);
    background-color: transparent;
    opacity: 0.5;
    transition: var(--transition);
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Section Styling */
.section-padding {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Room Cards */
.room-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.room-image-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.room-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-image-wrapper img {
    transform: scale(1.1);
}

.room-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.room-details {
    padding: 24px;
}

.room-meta {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* 3D Card Styling */
.room-card-3d {
    perspective: 1500px;
    height: 600px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.room-card-3d:hover .card-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

/* If you want a flip effect, uncomment this and use it */
/* .room-card-3d:hover .card-inner { transform: rotateY(180deg); } */

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-back {
    background: var(--dark-color);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Swiper Navigation Controls */
.slider-controls .swiper-btn-prev,
.slider-controls .swiper-btn-next {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slider-controls .swiper-btn-prev:hover,
.slider-controls .swiper-btn-next:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 25px !important;
    border-radius: 5px !important;
}

/* Facility Styling */
.facility-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--light-color);
    transition: var(--transition);
}

.facility-item:hover {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.1);
    transform: translateY(-5px);
}

.facility-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.75rem;
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.facility-item:hover .facility-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-section {
        margin-top: 0;
        height: 80vh;
    }

    .navbar {
        background: var(--white) !important;
        padding: 0.5rem 0;
    }

    .section-padding {
        padding: 60px 0;
    }

    .about-image-wrapper-3d {
        margin-top: 40px;
    }

    .image-3d-inner {
        transform: none !important;
    }

    .room-card-3d {
        height: 500px;
    }

    .cta-3d-card {
        transform: none !important;
        padding: 2rem !important;
        border-radius: 2rem !important;
    }

    .cta-section {
        margin-top: 0 !important;
        padding: 0 15px;
    }

    .cta-bg-wrapper {
        margin: 0 !important;
        border-radius: 2rem !important;
        min-height: 300px !important;
    }

    .about-image-wrapper-3d .bg-primary {
        transform: translate(15px, 15px) !important;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .floating-badge {
        left: 0;
        bottom: 5%;
        min-width: 180px;
    }

    .footer-premium {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .contact-icon {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .room-card-3d {
        height: 480px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Custom Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
/* Theme Overrides for Purple */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Icon colors */
.fas, .far, .fab, .fa {
    color: inherit;
}

.text-primary .fas, .text-primary .far, .text-primary .fab, .text-primary .fa {
    color: var(--primary-color) !important;
}
