html {
    scroll-behavior: smooth;
}

:root {
    --soft-pink: #fdf2f4;
    --deep-pink: #bc8a96;
    /* Dustier, more sophisticated pink */
    --accent-pink: #eeb0be;
    --white: #ffffff;
    --stone: #2d1b22;
    /* Midnight Plum - sophisticated luxury */
    --font-editorial: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --font-heb: 'Assistant', sans-serif;
    --transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--soft-pink);
    color: var(--stone);
    font-family: var(--font-heb);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Layout Utilities */
.section-padding {
    padding: 140px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

/* View Switching Logic */
.view-section {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    display: none;
    width: 100%;
}


.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.view-section.hidden {
    display: none;
}

.items-center {
    align-items: center;
}

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

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

/* Custom Follower */
#cursor-follower {
    width: 35px;
    height: 35px;
    background: rgba(212, 138, 154, 0.25);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
    transform: translate3d(-50%, -50%, 0);
}

/* Typography */
.serif-title {
    font-family: var(--font-editorial);
    font-weight: 300;
}

.lux-text {
    font-family: var(--font-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

/* Navigation */
header {
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 12px 35px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(212, 138, 154, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-pink);
    box-shadow: 0 4px 15px rgba(212, 138, 154, 0.2);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--stone);
    font-size: 9px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--deep-pink);
}

.social-icons {
    display: flex;
    gap: 18px;
    font-size: 16px;
    color: var(--deep-pink);
}

.social-icons a {
    color: inherit;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--stone);
}

/* Hero */
.hero {
    min-height: 85vh;
    /* width: 96%; */
    /* margin: 20px auto; */
    /* border-radius: 80px; */
    border-radius: 0 0 80px 80px;
    overflow: hidden;
    position: relative;
    background-image: url('images/backgrounds/positions-pics/pos10.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(45, 27, 34, 0.2), rgba(45, 27, 34, 0.4));
    border-radius: 80px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    /* Lightened overlay */
    backdrop-filter: blur(2px);
    z-index: -1;
    border-radius: 60px;
}

.hero-sub {
    display: inline-block;
    background: var(--soft-pink);
    color: var(--deep-pink);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--accent-pink);
}

.hero-h1 {
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 1.0;
    margin-bottom: 30px;
    color: var(--stone);
    font-family: bold;
}

.hero-h1 span {
    color: var(--accent-pink) !important;
    font-style: italic;
    font-family: bold;
}

.hero-desc {
    max-width: 750px;
    margin: 0 auto 40px;
    color: var(--stone);
    font-weight: 400;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* Buttons - Modern Luxury Anim */
.btn {
    display: inline-block;
    padding: 22px 55px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-dark {
    background: var(--stone);
    color: white;
    border: 1px solid var(--stone);
    box-shadow: 0 10px 30px rgba(45, 27, 34, 0.15);
}

.btn-dark:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(238, 176, 190, 0.3);
    color: white;
}

.btn-outline {
    border: 1px solid var(--stone);
    color: var(--stone);
    background: transparent;
}

.btn-outline:hover {
    background: var(--stone);
    color: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(45, 27, 34, 0.2);
}

.color-pink {
    color: var(--accent-pink);
}

.italic {
    font-style: italic;
}

/* About Us */
.about-text-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lux-text-heb {
    font-family: var(--font-heb);
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

.lux-text-heb p {
    margin-bottom: 25px;
}

/* Suite Items - Luxury Redesign */
.suite-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 180px;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.suite-item:nth-child(even) {
    direction: ltr;
    /* Flip for alternating effect */
}

.suite-item:nth-child(even) .suite-info {
    direction: rtl;
    /* Keep text right-aligned in flipped container */
}

.suite-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px rgba(212, 138, 154, 0.1);
}

.suite-media-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.suite-img-bg,
.suite-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s ease;
}

.suite-img-bg {
    z-index: 2;
    opacity: 1;
}

.suite-video {
    z-index: 1;
}

/* Hover Effect */
.suite-item:hover .suite-img-bg,
.suite-item.touch-hover .suite-img-bg {
    opacity: 0;
    transform: scale(1.1);
}

.suite-item:hover .suite-video,
.suite-item.touch-hover .suite-video {
    transform: scale(1.05);
}

.suite-info {
    padding: 20px;
}

.suite-num {
    font-size: 14px;
    color: var(--deep-pink);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.suite-title {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--stone);
    line-height: 1.1;
}

.suite-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .suite-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
        margin-bottom: 100px;
    }

    .suite-item:nth-child(even) {
        direction: rtl;
    }

    .suite-media-wrapper {
        height: 350px;
    }

    .suite-title {
        font-size: 32px;
    }
}

.suite-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.8s ease-in-out;
}

.suite-item:hover img {
    transform: scale(1.08);
}

.suite-num {
    font-size: 18px;
    font-style: italic;
    color: var(--accent-pink);
    margin-bottom: 15px;
    display: block;
}

.suite-text {
    color: #888;
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 300;
}

/* Feedbacks - Clean Flow */
/* Feedbacks - Box Grid */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feedback-item {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 138, 154, 0.1);
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.feedback-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(212, 138, 154, 0.1);
    border-color: var(--accent-pink);
}

.quote {
    font-size: 18px;
    color: var(--stone);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: var(--font-heb);
}

/* Contact Section */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
}

.intro-title {
    font-size: clamp(3rem, 10vw, 7rem) !important;
    line-height: 1.1;
    margin-bottom: 40px;
}

@media (min-width: 900px) {
    .contact-grid {
        flex-direction: row;
        align-items: center;
    }

    .contact-text {
        flex: 1;
        text-align: right;
    }

    .form-container {
        flex: 1;
    }
}

.form-wrap {
    background: white;
    padding: 70px;
    border-radius: 80px;
    box-shadow: 0 40px 80px rgba(212, 138, 154, 0.12);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.form-success-overlay {
    position: absolute;
    inset: 0;
    background: white;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    padding: 40px;
}

.form-success-overlay.active {
    display: flex;
    animation: fade-up 0.5s ease forwards;
}

.form-success-icon {
    font-size: 60px;
    color: var(--deep-pink);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.input-group label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--deep-pink);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.input-group input {
    width: 100%;
    border: none;
    padding: 12px 0;
    outline: none;
    font-size: 17px;
    font-family: var(--font-heb);
    background: transparent;
}

/* Admin Interface */
.admin-view {
    display: none;
    padding-top: 0;
    /* Changed from 160px as login screen is full height */
    padding-bottom: 0;
    min-height: 100vh;
    background: #fcfcfc;
}

.login-screen-wrap {
    position: fixed;
    inset: 0;
    background: url('images/backgrounds/positions-pics/pos10.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.login-screen-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 15, 0.65);
    /* Darker overlay for better contrast */
    backdrop-filter: blur(15px);
}

.login-card {
    position: relative;
    /* top/left removed to restore centering */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    /* Ensure centering */
}

.input-group-clean {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    transition: 0.3s;
}

.input-group-clean:focus-within {
    border-color: var(--deep-pink);
}

.input-group-clean i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.clean-input {
    width: 100%;
    padding: 15px 15px 15px 35px;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-heb);
    font-size: 16px;
    color: var(--stone);
}

.clean-input::placeholder {
    color: #bbb;
    font-size: 14px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--stone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(45, 27, 34, 0.2);
}

.w-full {
    width: 100%;
}

.mt-20 {
    margin-top: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-10 {
    margin-bottom: 10px;
}

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

body.admin-active .landing-view {
    display: none;
}

body.admin-active .admin-view {
    display: block;
}

body.admin-active .landing-view-only {
    display: none !important;
}

body.admin-active .admin-only {
    display: block !important;
}

.admin-card {
    background: white;
    border-radius: 40px;
    padding: 35px;
    margin-bottom: 25px;
    border: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.badge {
    font-size: 9px;
    padding: 5px 15px;
}

.badge-new {
    background: #fee2e2;
    color: #ef4444;
}

.btn-radius-50-red {
    flex: 1;
    border-radius: 50px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
}

.badge-signed {
    background: #dcfce7;
    color: #16a34a;
}

/* Admin Dashboard Redesign */
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.admin-nav-flex {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.admin-nav {
    background: white;
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-tab {
    background: transparent;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-family: var(--font-heb);
    font-size: 16px;
    color: #888;
    cursor: pointer;
    transition: 0.3s ease;
}

.admin-tab:hover {
    color: var(--deep-pink);
    background: #fff5f7;
}

.admin-tab.active {
    background: var(--deep-pink);
    color: white;
    box-shadow: 0 10px 20px rgba(212, 138, 154, 0.3);
}

.admin-section {
    animation: fade-up 0.5s ease backwards;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.admin-main {
    width: 100%;
}

.room-stat-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #f5f5f5;
}

.room-stat-title {
    font-size: 14px;
    color: var(--stone);
    font-weight: bold;
    margin-bottom: 10px;
}

.room-cap-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.room-cap-fill {
    height: 100%;
    background: var(--deep-pink);
    width: 0%;
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    margin-bottom: 15px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

.booking-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* Mini Calendar - Fixed Layout */
.mini-calendar {
    width: 320px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.mc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mc-title {
    font-weight: bold;
    color: var(--deep-pink);
}

.mc-nav {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.mc-nav:hover {
    background: var(--deep-pink);
    color: white;
}

.mc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.mc-day-name {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 10px;
}

.mc-day {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    color: var(--stone);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.mc-day:hover {
    background: #f0f0f0;
}

.mc-day.mc-today {
    background: var(--deep-pink);
    color: white;
}

.mc-day.mc-selected {
    background: var(--accent-pink);
    color: white;
}

.mc-dot {
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.7;
}

/* Weekly Calendar Styles */
.week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.week-nav-btn {
    background: white;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heb);
}

.week-grid {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    gap: 2px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}

.week-header {
    background: var(--soft-pink);
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.week-header.today {
    background: var(--deep-pink);
    color: white;
}

.time-slot {
    background: white;
    padding: 8px;
    font-size: 10px;
    color: #888;
    text-align: center;
    border-left: 1px solid #f5f5f5;
}

.day-cell {
    background: white;
    min-height: 60px;
    padding: 5px;
    position: relative;
}

.calendar-event {
    padding: 10px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 6px;
    color: white;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #8b5cf6;
    /* Main Purple */
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 55px;
}

.calendar-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(139, 92, 246, 0.3);
}

/* Legacy colors if needed, but overriding for uniformity based on image */
.event-classic,
.event-suit,
.event-floral,
.event-boho {
    background: #8b5cf6;
}

.event-tooltip {
    display: none;
    position: fixed;
    background: white;
    color: var(--stone);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    z-index: 1000;
    font-size: 12px;
    text-align: right;
}

.calendar-event:hover .event-tooltip {
    display: block;
}

.day-cell {
    overflow: visible !important;
}

.calendar-event:hover .event-tooltip {
    display: block;
}

.event-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.event-actions button {
    flex: 1;
    padding: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-family: var(--font-heb);
}

.btn-edit {
    background: #e0f2fe;
    color: #0284c7;
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

/* Custom Scrollbar for Modal */
#booking-modal .form-wrap::-webkit-scrollbar {
    width: 6px;
}

#booking-modal .form-wrap::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

#booking-modal .form-wrap::-webkit-scrollbar-thumb {
    background: var(--deep-pink);
    border-radius: 10px;
}

#booking-modal .form-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--accent-pink);
}

.room-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#toast {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--stone);
    color: white;
    padding: 15px 40px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: 0.5s;
    z-index: 10000;
    letter-spacing: 0.1em;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.4s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* Sale Popup */
.sale-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
}

.sale-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sale-popup-content {
    background: white;
    width: 90%;
    max-width: 850px;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.sale-popup-overlay.active .sale-popup-content {
    transform: scale(1) translateY(0);
}

.sale-popup-close {
    position: absolute;
    top: 20px;
    left: 20px;
    /* Left side for RTL close button */
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    color: var(--stone);
}

.sale-popup-close:hover {
    transform: rotate(90deg);
    background: var(--deep-pink);
    color: white;
}

.sale-popup-img {
    flex: 1;
    background-image: url('images/gallery/pos6.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.sale-popup-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .sale-popup-content {
        flex-direction: column;
        max-width: 400px;
    }

    .sale-popup-img {
        min-height: 250px;
    }

    .sale-popup-info {
        padding: 40px 30px;
    }
}

/* Gallery Navigation */
.gallery-wrapper {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.gallery-carousel {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 60px 20px;
    /* Reduced side padding */
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: center;
}

.gallery-item {
    min-width: 280px;
    height: 380px;
    background: white;
    padding: 15px 15px 50px 15px;
    /* Polaroid padding */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, z-index 0.4s;
    cursor: pointer;
    position: relative;
    transform-origin: center;
}

/* Random-ish rotation for items */
.gallery-item:nth-child(odd) {
    transform: rotate(-3deg);
}

.gallery-item:nth-child(even) {
    transform: rotate(2deg);
}

.gallery-item:nth-child(3n) {
    transform: rotate(-1.5deg);
}

.gallery-item:nth-child(4n) {
    transform: rotate(3deg);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #eee;
    /* Light border around image */
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100;
    color: var(--stone);
}

.gallery-nav-btn:hover {
    background: var(--deep-pink);
    color: white;
    border-color: var(--deep-pink);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 10px;
}

.gallery-nav-btn.next {
    right: 10px;
}

/* Feedbacks Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    /* mask-image removed for visibility safety */
    direction: ltr;
    /* Ensure consistent layout direction */
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* 3 batches of content, so we want to move by 1/3 of the width to loop */
    /* Moving RIGHT: Start at -33.33% and go to 0 */
    animation: scroll-marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(-33.333%);
    }

    100% {
        transform: translateX(0);
    }
}

.feedback-item {
    width: 350px;
    /* Fixed width for smooth flow */
    flex-shrink: 0;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Suite Items - Luxury Redesign */
.suite-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 200px;
    position: relative;
}

.suite-item:nth-child(even) {
    flex-direction: row-reverse;
}

.suite-media-wrapper {
    flex: 1.4;
    height: 600px;
    border-radius: 4px;
    /* Minimal, clean corners */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.suite-info {
    flex: 1;
    padding: 40px;
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-left: -80px;
    /* Overlap effect */
    z-index: 2;
    border: 1px solid #f0f0f0;
}

.suite-item:nth-child(even) .suite-info {
    margin-left: 0;
    margin-right: -80px;
}

/* Fix Boho (Suite 03 - Odd) z-index and text visibility */
.suite-item .suite-info {
    position: relative;
    /* Ensure z-index works */
    z-index: 10;
}

@media (max-width: 992px) {
    .suite-item {
        flex-direction: column !important;
        gap: 0;
        margin-bottom: 100px;
    }

    .suite-media-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
        /* Perfect for mobile vertical videos */
        max-height: 70vh;
        border-radius: 4px 4px 0 0;
    }

    .suite-info {
        width: 92%;
        margin: -50px auto 0 !important;
        padding: 30px 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* Ensure reveal is visible if JS fails or layout is tricky */
.view-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.view-section.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(30px);
}

.view-section.active {
    animation: luxury-fade-in 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes luxury-fade-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Suites Page Specifics */
#suites-view {
    padding-top: 100px;
    min-height: 100vh;
    background: white;
}

#suites-header {
    text-align: center;
    padding: 100px 20px;
    background: transparent;
    margin-bottom: 40px;
}

#suites-header h1 {
    color: var(--stone) !important;
    font-size: clamp(3rem, 8vw, 5rem) !important;
    letter-spacing: -1px;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.footer-link:hover {
    color: var(--deep-pink);
    text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 20px;
    }

    /* Reduced Footer Padding specific override */
    footer.section-padding {
        padding: 40px 20px !important;
    }

    .hero-h1 {
        font-size: 15vw;
        line-height: 0.9;
    }

    .hero-main-img {
        height: 400px;
        border-radius: 30px;
    }

    .suite-item,
    .suite-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

    /* Reset order for mobile */
    .suite-item:nth-child(even) .suite-info {
        order: 0;
    }

    .suite-item:nth-child(even) .suite-media-wrapper {
        order: 0;
    }

    .suite-media-wrapper {
        width: 100%;
        height: 55vh;
        /* Increased from 350px for better visibility */
        border-radius: 4px 4px 0 0;
    }

    .suite-info {
        width: 95%;
        /* Slightly wider */
        margin: -60px auto 0 !important;
        /* Move up more to overlap bottom of video */
        padding: 30px 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        /* More opaque for readability */
        backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 10;
    }

    .suite-item {
        margin-bottom: 80px;
    }

    .suite-title {
        font-size: 35px;
    }

    .form-wrap {
        padding: 30px;
        border-radius: 40px;
    }
}

/* --- Utilities & Helper Classes (Extracted from Inline) --- */

/* Compact Leads List */

/* Floating Action Button */
#fab-book {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--stone);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#fab-book:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    #fab-book {
        bottom: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
        background: rgba(61, 52, 54, 0.95);
        backdrop-filter: blur(10px);
    }

    #fab-book:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- Utilities & Helper Classes (Extracted from Inline) --- */
.flex-gap-15 {
    display: flex;
    gap: 15px;
}

.mb-25 {
    margin-bottom: 25px;
}

.flex-1 {
    flex: 1;
}

.block-mb-10 {
    display: block;
    margin-bottom: 10px;
}

.w-full-p-10 {
    width: 100%;
    padding: 10px;
}

.border-eee-radius-10 {
    border: 1px solid #eee;
    border-radius: 10px;
}

.w-full-mt-15-p-15 {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
}

.align-center-mb-20 {
    align-self: center;
    margin-bottom: 20px;
}

.mb-15-size-40 {
    margin-bottom: 15px;
    font-size: 40px;
}

.color-666-size-16-mb-30 {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.bg-white-border-top {
    background: white;
    border-top: 1px solid var(--soft-pink);
}

.margin-auto-25-size-16 {
    margin: 0 auto 25px;
    width: 50px;
    height: 50px;
    font-size: 16px;
}

.size-35-mb-10-spacing {
    font-size: 35px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.color-bbb-mb-50 {
    color: #bbb;
    margin-bottom: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.waze-link {
    color: var(--stone);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.color-deep-pink {
    color: var(--deep-pink);
}

.size-14 {
    font-size: 14px;
}

.footer-copyright {
    font-size: 10px;
    color: #ddd;
    border-top: 1px solid #f9f9f9;
    margin-top: 25px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 30px;
}

.size-35 {
    font-size: 35px;
}

.admin-nav-flex {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-nav-mw-600 {
    flex: 1;
    max-width: 600px;
}

.flex-center-gap-20-mb-25 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.p-8-15 {
    padding: 8px 15px;
}

.flex-center-gap-15 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.size-22-m-0 {
    font-size: 22px;
    margin: 0;
}

.btn-today {
    background: var(--deep-pink);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
}

.occupancy-grid {
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.size-11-color-aaa-block {
    font-size: 11px;
    color: #aaa;
    display: block;
}

.size-22-bold {
    font-size: 22px;
    font-weight: bold;
}

.size-16-bold {
    font-size: 16px;
    font-weight: bold;
}

.text-center-mt-30 {
    text-align: center;
    margin-top: 30px;
}

.p-15-40 {
    padding: 15px 40px;
}

.ml-10 {
    margin-left: 10px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.settings-card {
    padding: 30px;
    border-radius: 25px;
}

.flex-between-center-mb-25 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.color-deep-pink-m-0 {
    color: var(--deep-pink);
    margin: 0;
}

.ml-8 {
    margin-left: 8px;
}

.rooms-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.add-room-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.size-11-mb-8-block {
    font-size: 11px;
    margin-bottom: 8px;
    display: block;
}

.flex-gap-10-center {
    display: flex;
    gap: 10px;
    align-items: center;
}

.room-name-input {
    flex: 2;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 50px;
    font-family: var(--font-heb);
    font-size: 12px;
}

.room-count-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 50px;
    text-align: center;
    font-size: 12px;
}

.btn-add-room {
    flex: 1;
    border-radius: 50px;
}

.mb-25-color-deep-pink {
    margin-bottom: 25px;
    color: var(--deep-pink);
}

.flex-col-gap-12-mb-20 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.emp-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: var(--font-heb);
}

.w-full {
    width: 100%;
}

.mt-25 {
    margin-top: 25px;
}

.btn-outline-sm-red {
    color: #dc2626;
    border-color: #fee2e2;
}

.color-888-mb-30 {
    color: #888;
    margin-bottom: 30px;
}

.grid-gap-15 {
    display: grid;
    gap: 15px;
}

.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.booking-modal-content {
    width: 90%;
    max-width: 400px;
    padding: 25px;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.text-center-size-24-mb-20 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.input-relative {
    position: relative;
}

.size-11 {
    font-size: 11px;
}

.lead-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: var(--font-heb);
}

.lead-results-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.text-center-color-aaa-size-11-mb-15 {
    text-align: center;
    color: #aaa;
    font-size: 11px;
    margin-bottom: 15px;
}

.w-full-p-12-border-radius-10 {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: var(--font-heb);
}

.mb-10 {
    margin-bottom: 10px;
}

.w-full-p-10-border-radius-10 {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: var(--font-heb);
}

.w-full-mt-15-p-15 {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
}

.detail-modal-content {
    width: 90%;
    max-width: 350px;
    padding: 30px;
    position: relative;
    text-align: center;
    background: white;
    border-radius: 40px;
}

.size-28-mb-5 {
    font-size: 28px;
    margin-bottom: 5px;
}

.color-deep-pink-size-14-mb-25 {
    color: var(--deep-pink);
    font-size: 14px;
    margin-bottom: 25px;
}

.bg-f9-p-20-radius-20-right-mb-25 {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 20px;
    text-align: right;
    margin-bottom: 25px;
}

.mb-10-size-14 {
    margin-bottom: 10px;
    font-size: 14px;
}

.ml-10-color-aaa {
    margin-left: 10px;
    color: #aaa;
}

.bold {
    font-weight: bold;
}

.flex-gap-10 {
    display: flex;
    gap: 10px;
}

.btn-radius-50 {
    flex: 1;
    border-radius: 50px;
}

.btn-radius-50-red {
    flex: 1;
    border-radius: 50px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
}

/* --- Validated Restored Styles --- */

/* Animations */
@keyframes scroll-marquee {
    0% {
        transform: translateX(-33.333%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 138, 154, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(212, 138, 154, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 138, 154, 0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--soft-pink);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    animation: pulse-ring 2s infinite;
    border: 2px solid var(--deep-pink);
}

.loader-text {
    margin-top: 20px;
    font-family: var(--font-editorial);
    font-size: 24px;
    color: var(--stone);
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fade-up 1s ease forwards 0.5s;
}

/* Cursor Follower */
#cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--deep-pink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
    transition: transform 0.1s cubic-bezier(0.2, 1, 0.3, 1);
    mix-blend-mode: difference;
    display: none;
}

@media (pointer: fine) {
    #cursor-follower {
        display: block;
    }
}

/* Gallery Styles */
.gallery-wrapper {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.gallery-carousel {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 60px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    align-items: center;
}

.gallery-item {
    min-width: 280px;
    height: 380px;
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, z-index 0.4s;
    cursor: pointer;
    position: relative;
    transform-origin: center;
}

.gallery-item:nth-child(odd) {
    transform: rotate(-3deg);
}

.gallery-item:nth-child(even) {
    transform: rotate(2deg);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* --- Sale Popup Styles --- */
#sale-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(61, 52, 54, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#sale-popup.active {
    opacity: 1;
}

.sale-popup-content {
    background: white;
    width: 90%;
    max-width: 900px;
    height: 500px;
    border-radius: 40px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#sale-popup.active .sale-popup-content {
    transform: scale(1);
}

.sale-popup-img {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.sale-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.sale-popup-content:hover .sale-popup-img img {
    transform: scale(1.05);
}

.sale-popup-info {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    /* RTL */
    position: relative;
}

.close-popup {
    position: absolute;
    top: 25px;
    left: 25px;
    /* RTL - x on left */
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    color: var(--stone);
}

.close-popup:hover {
    background: var(--deep-pink);
    color: white;
    transform: rotate(90deg);
}

.sale-badge {
    display: inline-block;
    background: var(--soft-pink);
    color: var(--deep-pink);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    align-self: flex-start;
    /* RTL: align right would be flex-start in RTL context usually, but checking direction */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sale-popup-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .sale-popup-img {
        flex: none;
        height: 250px;
    }

    .sale-popup-info {
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .sale-badge {
        align-self: center;
    }

    .close-popup {
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        top: 20px;
        left: 20px;
    }

    .site-footer {
        display: none;
        /* Removed old site-footer */
    }
}

/* Custom Footer Design - Compact & Luxurious */
.bg-white-border-top {
    background: white !important;
    border-top: 1px solid #f0f0f0;
    padding-top: 50px !important;
    padding-bottom: 30px !important;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: var(--soft-pink);
    color: var(--deep-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 20px;
    border: 1px solid rgba(212, 138, 154, 0.2);
}

.size-35-mb-10-spacing {
    font-size: 35px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    color: var(--stone);
}

.color-bbb-mb-50 {
    color: #bbb;
    margin-bottom: 40px;
    font-size: 10px;
}

.footer-link {
    color: var(--stone);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    margin: 0 15px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-link:hover {
    color: var(--deep-pink);
}

.waze-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--stone);
    font-size: 14px;
}

.waze-link:hover {
    color: var(--deep-pink);
}

.footer-copyright {
    font-size: 10px;
    color: #ccc;
    margin-top: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.margin-auto-25-size-16 {
    margin: 0 auto 25px;
    font-size: 16px;
}

.size-14 {
    font-size: 14px;
}

/* =====================================================================
   Responsive upgrades + clean overrides (Added for full responsiveness)
   Breakpoints:
   - XS phones:        <= 360px
   - Phones:          <= 480px
   - Mini tablets:    <= 768px
   - Tablets:         <= 1024px
   - Large screens:   >= 1440px
   - TV / 4K-ish:     >= 1920px
   ===================================================================== */

/* Make media elements behave */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Fix duplicate .view-section rules (keep view switching working) */
.view-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.view-section.hidden {
    display: none !important;
}

/* -------------------- Mobile Navigation -------------------- */
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 14px;
    line-height: 1;
    color: var(--deep-pink);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(212, 138, 154, 0.5);
    outline-offset: 2px;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 999;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    header {
        top: 50px;
        width: 350px;
        padding: 10px 14px;
        border-radius: 22px;
    }

    .logo-img {
        height: 38px;
        width: 38px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide desktop nav by default */
    .nav-links {
        display: none;
    }

    body.nav-open .nav-overlay {
        display: block;
    }

    /* Turn the nav-links into a dropdown sheet */
    body.nav-open .nav-links {
        display: flex;
        position: fixed;
        top: 74px;
        left: 8px;
        right: 8px;
        flex-direction: column;
        gap: 10px;
        padding: 14px 14px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 18px;
        z-index: 1001;
    }

    body.nav-open .nav-links a {
        padding: 12px 12px;
        border-radius: 14px;
        background: rgba(212, 138, 154, 0.08);
        text-align: center;
    }

    /* Keep header compact */
    .social-icons {
        display: none;
    }
}

/* -------------------- Phones -------------------- */
@media (max-width: 480px) {
    .section-padding {
        padding: 70px 16px;
    }

    .hero-h1 {
        font-size: 16vw;
        line-height: 0.92;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-main-img {
        height: 320px;
        border-radius: 22px;
    }

    .btn {
        padding: 14px 22px;
        border-radius: 50px;
    }

    /* Gallery: swipe-first */
    .gallery-nav-btn {
        display: none;
    }

    .gallery-carousel {
        scroll-snap-type: x mandatory;
    }

    .gallery-item {
        scroll-snap-align: center;
    }

    /* Admin tabs wrap nicely */
    .admin-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .admin-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* -------------------- XS small phones -------------------- */
@media (max-width: 360px) {
    header {
        padding: 9px 12px;
    }

    .hero-main-img {
        height: 280px;
    }

    #fab-book span {
        display: none;
    }
}

/* -------------------- Tablets / small laptops -------------------- */
@media (max-width: 1024px) {

    /* Admin settings grid: 2 columns -> 1 column */
    #tab-settings>div {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    /* Weekly calendar grid: allow horizontal scroll on smaller widths */
    .week-grid {
        grid-template-columns: 70px repeat(7, minmax(120px, 1fr));
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

/* -------------------- Large desktop / TV -------------------- */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }

    header {
        max-width: 1280px;
    }

    .section-padding {
        padding: 160px 20px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }

    header {
        max-width: 1400px;
    }

    .section-padding {
        padding: 190px 20px;
    }

    .hero-h1 {
        font-size: clamp(80px, 6vw, 120px);
    }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Week Grid Mobile Responsive */
@media (max-width: 768px) {
    #tab-schedule {
        overflow-x: auto;
    }

    .week-grid {
        display: grid;
        grid-template-columns: 80px repeat(7, 1fr);
        min-width: 800px;
        /* Force scrollable width */
        padding-bottom: 20px;
    }
}


/* Status Sub-Tabs */
.status-tab {
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    font-family: "Heebo", sans-serif;
    transition: 0.3s;
    white-space: nowrap;
}

.status-tab:hover {
    background: #f9f9f9;
}

.status-tab.active {
    background: var(--deep-pink);
    color: white;
    border-color: var(--deep-pink);
    box-shadow: 0 4px 10px rgba(219, 39, 119, 0.2);
}

.status-tab.active:hover {
    background: #be185d;
    /* Darker pink */
    box-shadow: 0 6px 15px rgba(219, 39, 119, 0.4);
    transform: translateY(-1px);
}


/* Mobile Leads Card */
@media (max-width: 768px) {
    .booking-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: right;
        padding: 15px;
    }

    .booking-row>div {
        width: 100%;
        text-align: right !important;
        /* Force right align for Hebrew */
        justify-content: flex-start !important;
    }

    .booking-row div[style*="align-items: center"] {
        justify-content: space-between !important;
        /* Actions row */
        margin-top: 10px;
        border-top: 1px solid #f5f5f5;
        padding-top: 10px;
    }

    /* Adjust header layout */
    .admin-main>div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    #leadSearch {
        width: 100% !important;
    }
}


/* Responsive Header & Tabs Fixes */
@media (max-width: 768px) {

    /* Header */
    .admin-card-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px !important;
        height: auto !important;
        /* Allow growing */
    }

    .admin-title {
        font-size: 28px !important;
        /* Smaller font */
        margin-right: 0 !important;
    }

    /* Tabs Container */
    .status-tabs {
        margin-right: 0 !important;
        /* Reset inline margin */
        width: 100%;
        padding-bottom: 10px;
        margin-top: 10px;

        /* Smooth Scroll Snap */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .status-tab {
        flex-shrink: 0;
        /* Prevent shrinking */
        scroll-snap-align: start;
    }

    /* Adjust main leads title block for Tabs placement */
    .admin-main>div:first-child>div:first-child {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
}