/* --- SHARED STYLES FOR SRS RESORTS --- */
:root {
    --primary-gold: #C5A059;
    --gold-dark: #b08d4b;
    --secondary-saffron: #E67E22;
    --saffron-deep: #D35400;
    --regal-navy: #1A2438;
    --navy-vibrant: #1E2B45;
    --off-white: #FCF9F5;
    --pure-white: #FFFFFF;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --border-light: rgba(197, 160, 89, 0.2);
    --saffron: #F39C12;
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.serif-font {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

/* --- NAVIGATION --- */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    /* Consistent padding */
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand img {
    height: 50px;
    transition: 0.3s;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 15px;
    transition: all 0.3s;
}

.scrolled .nav-link {
    color: var(--regal-navy) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: white;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid var(--primary-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-luxury {
    background: var(--primary-gold);
    color: white !important;
    padding: 15px 40px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border: 2px solid var(--primary-gold);
    transition: all 0.4s;
}

.btn-luxury:hover {
    background: transparent;
    color: var(--primary-gold) !important;
}

.btn-luxury-outline {
    background: transparent;
    color: var(--primary-gold) !important;
    padding: 15px 40px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border: 2px solid var(--primary-gold);
    transition: all 0.4s;
}

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

/* --- FOOTER --- */
footer {
    background: var(--regal-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}

footer h5 {
    color: var(--pure-white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

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

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

.social-icon:hover {
    background: var(--primary-gold);
    color: var(--regal-navy);
    transform: translateY(-3px);
}

/* --- SPIRITUAL PATTERNS --- */
.bg-pattern-spiritual {
    background-color: var(--off-white);
    background-image: url("images/oriental-tiles.png");
    background-size: repeat;
    background-blend-mode: color-burn;
    position: relative;
}

.bg-pattern-spiritual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 249, 245, 0.85);
    /* Slightly less opaque to let the pattern burn through */
    z-index: 0;
}

.bg-pattern-spiritual>div {
    position: relative;
    z-index: 1;
}

.bg-pattern-footer {
    background-color: var(--regal-navy) !important;
    position: relative;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

/* --- UTILITIES --- */
.section-padding {
    padding: 8rem 0;
}

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

.divider {
    height: 2px;
    width: 60px;
    background: var(--primary-gold);
    margin: 1.5rem 0;
}

.divider.mx-auto {
    margin: 1.5rem auto;
}

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

.font-serif {
    font-family: 'Cinzel', serif;
}

.bg-light-gold {
    background-color: #FDF9F2;
}

.bg-navy-vibrant {
    background: linear-gradient(135deg, #1A2438 0%, #1E2B45 100%);
}

.bg-navy-vibrant1 {
    background:
        linear-gradient(135deg, #1A2438 0%, #1E2B45 100%),
        url("../images/mandala1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.bg-luxury-invest {
    background-image: linear-gradient(rgba(252, 249, 245, 0.92), rgba(252, 249, 245, 0.92)), url("tunga2.webp");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.bg-luxury-invest::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(197, 160, 89, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.bg-saffron {
    background: linear-gradient(135deg, var(--secondary-saffron) 0%, var(--saffron-deep) 100%);
}

.text-gradient-gold {
    background: linear-gradient(to right, #C5A059, #F1C40F, #B08D4B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
    background: linear-gradient(to right, #1A2438, #2C3E50);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.divider-gold {
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, var(--primary-gold), #FFF, var(--primary-gold));
    margin: 1.5rem 0;
}

.shadow-luxury {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* --- CINEMATIC ANIMATIONS --- */
.cinematic-img-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.cinematic-img {
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- ANIMATION UTILITIES --- */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

/* Mobile: Force all reveals to slide from bottom up with subtle distance */
@media (max-width: 991.98px) {

    .reveal-left,
    .reveal-right,
    .reveal-up {
        transform: translateY(30px) !important;
    }
}

/* Scroll-In State */
.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-fade {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.active .cinematic-img {
    transform: scale(1.05);
}

/* Scroll-Out Effects (Smooth decay) */
.reveal-up:not(.active) {
    transform: translateY(30px);
    opacity: 0;
}

.reveal-left:not(.active) {
    transform: translateX(-30px);
    opacity: 0;
}

.reveal-right:not(.active) {
    transform: translateX(30px);
    opacity: 0;
}

.reveal-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.float-anim {
    animation: float 5s ease-in-out infinite;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(197, 160, 89, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 3.5rem 0 !important;
        margin: 0 !important;
    }

    .section-header,
    .mb-5 {
        margin-bottom: 2.5rem !important;
    }

    .display-1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .display-4 {
        font-size: 2rem;
    }

    .hero {
        height: auto;
        padding: 7rem 15px 4rem;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--regal-navy);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(26, 36, 56, 0.9) 0%,
            rgba(26, 36, 56, 0.4) 45%,
            rgba(26, 36, 56, 0.9) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    animation: divine-glow 8s ease-in-out infinite alternate;
}

@keyframes divine-glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: rotate(45deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

.hero .container {
    z-index: 2;
    position: relative;
    margin-top: 2rem;
    /* Added margin as requested */
}

.hero-loc {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 30px;
    font-weight: 700;
}

.hero h1 {
    color: white;
    font-weight: 400;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- ANIMATIONS & HOVERS --- */
.hover-zoom {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item-new:hover .hover-zoom {
    transform: scale(1.1);
}

.card {
    transition: all 0.4s ease;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal.active {
    animation: fadeInUp 1s ease forwards;
}

.bg-navy-vibrant .display-3,
.bg-navy-vibrant .display-4 {
    color: white !important;
}

.navbar-toggler i {
    color: var(--primary-gold) !important;
}

/* --- SERVICE PANES --- */
.panes-container {
    display: flex;
    flex-wrap: wrap;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.pane {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    min-width: 0;
    /* Important for flex transition */
    cursor: pointer;
}

/* Cinematic Hover Effects */
.pane {
    filter: grayscale(0.3);
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.pane:hover {
    filter: grayscale(0);
    z-index: 10;
}

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

.pane:hover .pane-overlay {
    background: linear-gradient(to top, rgba(26, 36, 56, 0.98) 0%, rgba(26, 36, 56, 0.3) 60%, transparent 100%);
}

.pane-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.pane:hover .pane-img,
.pane.active .pane-img {
    transform: scale(1.05);
}

.pane-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 36, 56, 0.95) 0%, rgba(26, 36, 56, 0.2) 60%, transparent 100%);
    z-index: 1;
    transition: opacity 0.8s ease;
}

.pane-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    z-index: 2;
    color: white;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.pane-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.pane-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.pane:hover .pane-description,
.pane.active .pane-description {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
    /* Slight delay for better flow */
}

@media (max-width: 991px) {
    .panes-container {
        height: auto;
    }

    .pane {
        height: auto;
        min-height: 350px;
        flex: none;
        width: 100%;
        cursor: default;
    }

    .pane-content {
        position: relative;
        padding: 2rem;
        background: var(--regal-navy);
    }

    .pane-img {
        position: relative;
        height: 250px;
        width: 100%;
    }

    .pane .pane-description {
        max-height: none;
        opacity: 1;
        transform: translateY(0);
        margin-top: 1rem;
    }

    .pane.active {
        height: auto;
    }
}

/* --- PANORAMA SECTION --- */
.panorama-section {
    height: 75vh;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panorama-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.panorama-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 14, 26, 0.4) 0%, rgba(10, 14, 26, 0.8) 100%);
    z-index: 1;
}

.panorama-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.panorama-content h2 {
    color: white !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.panorama-content p {
    color: var(--primary-gold) !important;
    font-weight: 500;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    margin: 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 50px 100px rgba(197, 160, 89, 0.15);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.15;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testimonial-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--regal-navy);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-gold);
    padding: 3px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--regal-navy);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-gold);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
}

@media (max-width: 991.98px) {
    .testimonial-card {
        padding: 2rem;
        margin: 1rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}

.lotus-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.lotus-divider::before,
.lotus-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}

.lotus-icon {
    width: 50px;
    height: 50px;
    margin: 0 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 C 55 30 75 35 75 50 C 75 65 55 70 50 90 C 45 70 25 65 25 50 C 25 35 45 30 50 10' fill='%23c5a059'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 4s ease-in-out infinite;
}

.spiritual-float {
    animation: float 6s ease-in-out infinite;
}

.divine-light {
    position: relative;
}

.divine-light::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite;
}