/* ================================
   GLOBAL SETTINGS
================================ */

:root {
    --rr-gold: #c8a45d;
    --rr-gold-soft: #d8bd7a;
    --rr-dark: #212529;
    --rr-pink: #ff385c;
    --rr-pink-dark: #e31c5f;
}

html,
body {

    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}


/* ================================
   NAVBAR
================================ */

.site-navbar {
    background: var(--rr-dark);
    padding: 8px 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 72px;
    width: auto;
    max-width: 190px;
    display: block;
    object-fit: contain;
}

.nav-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.nav-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-navbar a,
.site-navbar span,
.logout-button {
    color: var(--rr-gold);
    font-size: 15px;
    text-decoration: none;
}

.site-navbar a:hover,
.logout-button:hover {
    color: var(--rr-gold-soft);
}

.nav-socials a {
    font-size: 16px;
    line-height: 1;
}

.logout-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.logout-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* Make right-side navbar text bigger */

.nav-right a,
.nav-right span,
.nav-right .logout-button {
    font-size: 17px !important;
    font-weight: 500;
}

.nav-right {
    gap: 12px;
}

/* ================================
   FOOTER
================================ */

.site-footer {
    background: var(--rr-dark);
    color: var(--rr-gold);
    padding: 34px 0;
    margin-top: 0;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 92px !important;
    width: auto !important;
    max-width: 320px !important;
    display: block !important;
    object-fit: contain !important;
}

.footer-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: 16px;
}

.footer-links a,
.footer-separator {
    color: var(--rr-gold);
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--rr-gold-soft);
}

.footer-separator {
    opacity: 0.65;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
}

.footer-socials a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--rr-gold);
    text-decoration: none;

    border: 1px solid rgba(200, 164, 93, 0.45);
    border-radius: 50%;

    transition: 0.25s;
}

.footer-socials a:hover {
    background: var(--rr-gold);
    color: var(--rr-dark);
    transform: translateY(-2px);
}

/* ================================
   HERO SECTION
================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 88px);
    width: 100%;
    overflow: hidden;
}

.hero-video{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    text-align: center;
    color: white;

    width: 100%;
    max-width: 950px;

    padding: 0 20px;
}

.hero-text h1{

    font-size:30px;

    line-height:1.2;

    margin-bottom:12px;
}

.hero-text p{

    font-size:17px;

    margin-bottom:22px;
}


/* ================================
   OLD HERO BUTTON
   Safe to keep if another page uses it
================================ */

.hero-button {
    padding: 16px 40px;
    font-size: 20px;

    background: var(--rr-pink);
    color: white;

    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;

    transition: 0.3s;
}

.hero-button:hover {
    background: var(--rr-pink-dark);
    transform: scale(1.05);
}


/* ================================
   BOOKING-STYLE HOME WIDGET
================================ */

.booking-widget-form {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;

    margin-top: 28px;
}

.booking-widget-bar {
    display: flex;
    align-items: stretch;
    justify-content: center;

    background: white;
    color: #222;

    border-radius: 999px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);

    overflow: visible;
}

.booking-widget-item {
    position: relative;

    min-width: 170px;

    padding: 15px 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: left;

    border-right: 1px solid #e2e2e2;
}

.booking-date-item {
    min-width: 290px;
}

.booking-widget-item:first-child {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.booking-widget-item:last-child {
    border-right: none;

    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.booking-widget-item:hover {
    background: #f7f7f7;
}

.booking-widget-item label {
    font-size: 12px;
    font-weight: 700;

    color: #222;

    margin-bottom: 5px;
}

.booking-widget-item input {
    border: none;
    outline: none;

    background: transparent;

    font-size: 14px;
    color: #555;

    padding: 0;
}

.booking-widget-item input[type="number"] {
    width: 80px;
}

.date-range-input {
    width: 100%;
    cursor: pointer;
}


/* ================================
   APARTMENTS DROPDOWN
================================ */

.apartment-widget-wrapper {
    position: relative;
}

.apartment-toggle {
    border: none;
    background: transparent;

    padding: 0;
    margin: 0;

    width: 100%;

    text-align: left;

    cursor: pointer;
}

.apartment-toggle label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #222;

    margin-bottom: 5px;

    cursor: pointer;
}

.apartment-toggle span {
    display: block;

    font-size: 14px;
    color: #555;
}

.apartment-menu {
    display: none;

    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);

    width: 230px;

    background: white;
    color: #222;

    border-radius: 18px;

    padding: 10px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);

    z-index: 100;
}

.apartment-menu.show {
    display: block;
}

.apartment-option {
    display: block;

    width: 100%;

    border: none;
    background: white;

    text-align: left;

    padding: 13px 15px;

    border-radius: 12px;

    font-size: 15px;
    color: #222;

    cursor: pointer;
}

.apartment-option:hover {
    background: #f7f7f7;
}

.apartment-option.active {
    background: var(--rr-pink);
    color: white;

    font-weight: 700;
}

.apartment-option.disabled {
    opacity: 0.4;

    cursor: not-allowed;
}

.apartment-option.disabled:hover {
    background: white;
}


/* ================================
   BUTTON UNDER WHITE BAR
================================ */

.booking-widget-button {
    border: none;

    background: var(--rr-pink);
    color: white;

    padding: 14px 44px;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

    transition: 0.25s;
}

.booking-widget-button:hover {
    background: var(--rr-pink-dark);
    transform: scale(1.04);
}


/* ================================
   FLATPICKR CALENDAR STYLE
================================ */

.flatpickr-calendar {
    border-radius: 18px !important;
    overflow: hidden !important;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28) !important;

    font-family: inherit;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--rr-pink) !important;
    border-color: var(--rr-pink) !important;
}

.flatpickr-day.inRange {
    background: #ffe6ec !important;
    border-color: #ffe6ec !important;
    box-shadow: -5px 0 0 #ffe6ec, 5px 0 0 #ffe6ec !important;
}


/* ================================
   VILLA IMAGES AND CARDS
================================ */

.villa-img {
    width: 100%;
    height: 500px;

    object-fit: cover;
}

.villa-card {
    height: 100%;

    border-radius: 12px;
    overflow: hidden;

    transition: 0.3s;
}

.villa-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* ================================
   AIRBNB-STYLE VILLA CARDS
================================ */

.villa-airbnb-link {
    text-decoration: none;
    color: inherit;
}

.villa-airbnb-card {
    border-radius: 22px;
    overflow: hidden;

    background: white;

    transition: 0.25s ease;
}

.villa-airbnb-card:hover {
    transform: translateY(-4px);
}

.villa-airbnb-image-wrapper {
    width: 100%;
    height: 310px;

    overflow: hidden;

    border-radius: 22px;

    background: #f2f2f2;
}

.villa-airbnb-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.35s ease;
}

.villa-airbnb-card:hover .villa-airbnb-image {
    transform: scale(1.04);
}

.villa-airbnb-body {
    padding-top: 14px;
}

.villa-airbnb-title {
    font-size: 18px;
    font-weight: 600;

    margin-bottom: 3px;
}

.villa-airbnb-location {
    color: #717171;

    margin-bottom: 4px;
}

.villa-airbnb-description {
    color: #717171;

    margin-bottom: 6px;
}

.villa-airbnb-price {
    font-size: 16px;

    margin-top: 8px;
}

.villa-airbnb-rating {
    font-size: 15px;

    white-space: nowrap;
}


/* ================================
   FOOTER - THIN VERSION
================================ */

.site-footer {
    background: var(--rr-dark);
    color: var(--rr-gold);

    padding: 12px 0;

    margin-top: auto;

    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 58px !important;
    width: auto !important;
    max-width: 220px !important;

    display: block !important;
    object-fit: contain !important;
}

.footer-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-bottom: 8px;
}

.footer-links a,
.footer-separator {
    color: var(--rr-gold);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--rr-gold-soft);
}

.footer-separator {
    opacity: 0.65;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;
}

.footer-socials a {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--rr-gold);
    text-decoration: none;

    border: 1px solid rgba(200, 164, 93, 0.45);
    border-radius: 50%;

    font-size: 13px;

    transition: 0.25s;
}

.footer-socials a:hover {
    background: var(--rr-gold);
    color: var(--rr-dark);
    transform: translateY(-2px);
}
/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 20px;
    }

    .booking-widget-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;

        width: 100%;
        max-width: 650px;

        border-radius: 28px;
    }

    .booking-widget-item {
        min-width: 0;

        border-right: none;
        border-bottom: 1px solid #e2e2e2;
    }

    .booking-widget-item:nth-child(odd) {
        border-right: 1px solid #e2e2e2;
    }

    .hero{

    position:relative;

    min-height:calc(100vh - 90px);

    height:auto;

    overflow:visible;

}

.hero-video{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:relative;

    min-height:calc(100vh - 90px);

    display:flex;

    justify-content:flex-start;

    align-items:center;

    padding-top:170px;

    padding-bottom:60px;

    background:rgba(0,0,0,.45);

}

    .booking-widget-item:first-child {
        border-top-left-radius: 28px;
        border-bottom-left-radius: 0;
    }

    .booking-widget-item:nth-child(2) {
        border-top-right-radius: 28px;
    }

    .booking-widget-item:nth-child(3) {
        border-bottom-left-radius: 28px;
        border-bottom: none;
    }

    .booking-widget-item:nth-child(4) {
        border-bottom-right-radius: 28px;
        border-bottom: none;
    }

    .booking-date-item {
        min-width: 0;
    }

    .apartment-menu {
        left: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .site-navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-user{

    position:absolute;

    right:20px;

    top:92px;

}

.navbar-nav.me-auto{

    display:none;

}

.mobile-top-row{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

}

.mobile-welcome{

    color:var(--rr-gold);

    font-size:16px;

    font-weight:500;

}


    .mobile-navbar-top{

    display:flex;
    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:18px;

}

    .nav-logo {
    height: 72px;
    width: auto;
    display: block;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 4px;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .booking-widget-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        max-width: 390px;

        border-radius: 24px;
    }

    .booking-widget-item {
        width: 100%;

        border-right: none !important;
        border-bottom: 1px solid #e2e2e2;
    }

    .booking-widget-item:first-child {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        border-bottom-left-radius: 0;
    }

    .booking-widget-item:last-child {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        border-bottom: none;
    }

    .apartment-menu {
        position: static;

        width: 100%;

        margin-top: 12px;

        transform: none;
    }

    .booking-widget-button{

    width:100%;

    max-width:none;

    margin-top:18px;

}

    .villa-airbnb-image-wrapper {
        height: 260px;
    }

    .footer-logo {
        height: 70px !important;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-socials {
        gap: 12px;
    }
}


/* Register/login form placeholder styling */

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.form-control {
    color: #333;
}

.form-control:focus::placeholder {
    color: rgba(0, 0, 0, 0.25);
}

/* ================================
   PROFILE PAGE
================================ */

.profile-page {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 100%;
    max-width: 620px;

    background: white;

    padding: 32px;

    border-radius: 18px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.profile-form-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;

    gap: 18px;

    margin-bottom: 18px;
}

.profile-form-row label {
    margin-bottom: 0;

    font-weight: 600;
    color: #333;

    text-align: right;
}

.profile-form-row input {
    width: 100%;
}

.profile-readonly-field {
    background: #f8f9fa;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    padding: 8px 12px;

    color: #555;
}

.profile-actions {
    display: flex;
    justify-content: center;

    margin-top: 26px;
}

@media (max-width: 768px) {
    .profile-form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .mobile-welcome-fixed{

    position:absolute;

    right:20px;

    top:105px;

    color:var(--rr-gold);

    font-size:15px;

    font-weight:500;

    white-space:nowrap;

}

    .profile-form-row label {
        text-align: left;
    }
}

/* ================================
   BOOKING CONFIRMATION PAGE
================================ */

.booking-confirmation-card {
    max-width: 620px;
    margin: 0 auto;

    background: white;

    padding: 34px;

    border-radius: 18px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.booking-summary {
    background: #f8f9fa;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    padding: 22px;
}

.booking-summary h4 {
    margin-bottom: 18px;
}

.booking-summary p {
    display: flex;
    justify-content: space-between;

    margin-bottom: 10px;
}

.nav-divider {
    color: var(--rr-gold);
    opacity: .65;
    margin: 0 6px;
}



@media (max-width: 991px) {
    .nav-divider {
        display: none;
    }
}

/* ==========================
   NAVBAR COLORS
========================== */

.site-navbar {
    background: var(--rr-dark) !important;
}

/* ALL links */
.site-navbar .nav-link,
.site-navbar .navbar-brand,
.site-navbar .navbar-text,
.site-navbar .navbar-nav .nav-link,
.site-navbar .btn-link,
.site-navbar .btn.btn-link,
.site-navbar button.nav-link {
    color: var(--rr-gold) !important;
}

/* Hover */
.site-navbar .nav-link:hover,
.site-navbar .btn-link:hover,
.site-navbar .navbar-brand:hover {
    color: var(--rr-gold-soft) !important;
}

/* Welcome text */
.site-navbar .nav-welcome {
    color: var(--rr-gold) !important;
    font-weight: 600;
}

/* Separators */
.site-navbar .nav-divider {
    color: var(--rr-gold) !important;
    opacity: .75;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

/* Logout button */
.site-navbar .btn-link {
    text-decoration: none;
    padding: 0;
}

/* Prevent Bootstrap from changing visited/focus colors */
.site-navbar a:visited,
.site-navbar a:focus,
.site-navbar .btn-link:focus {
    color: var(--rr-gold) !important;
}

.navbar .nav-link:hover {
    color: var(--rr-gold-soft) !important;
}

.navbar-brand img {
    height:72px;
    width:auto;
}

.navbar {
    min-height:88px;
}

.navbar-nav .nav-link {
    padding-left:14px;
    padding-right:14px;
}

.navbar-toggler {
    border-color: var(--rr-gold);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.site-navbar,
.navbar {
    background: #050505 !important;
}

.booking-total-price {
    font-size: 20px;

    padding-top: 14px;
    margin-top: 14px;

    border-top: 1px solid #ddd;
}




.navbar-toggler {
    border-color: #c8a45d !important;
}

.navbar-toggler-icon {
    filter: invert(73%) sepia(31%) saturate(536%) hue-rotate(9deg)
            brightness(94%) contrast(89%);
}

.nav-divider {
    color: #c8a45d;
    opacity: .7;
    margin: 0 8px;
}

@media (max-width: 991px) {
    .nav-divider {
        display: none;
    }
}

/* Right side wrapper */
.nav-user-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Welcome text */
.nav-welcome {
    color: var(--rr-gold);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Second row */
.nav-user-wrapper .navbar-nav {
    gap: 8px;
}

/* Desktop */
@media (min-width: 992px) {

    .nav-user-wrapper {
        margin-left: auto;
    }

    .nav-user-wrapper .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

}

/* Mobile */
@media (max-width: 991px) {

    .nav-user-wrapper {
        align-items: flex-start;
        width: 100%;
        margin-top: 12px;
    }

    .nav-welcome {
        margin-bottom: 10px;
    }

    .nav-user-wrapper .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start;
        width: 100%;
    }

    .nav-divider {
        display: none;
    }

}


/* ==========================
   NEW BOOTSTRAP NAVBAR
========================== */

.nav-user-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-welcome {
    color: var(--rr-gold);
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-divider {
    color: var(--rr-gold);
    margin: 0 12px;
    opacity: .7;
    list-style: none;
}

.site-navbar .nav-link {
    color: var(--rr-gold) !important;
    font-size: 17px;
    font-weight: 500;

    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.site-navbar .nav-link:hover {
    color: var(--rr-gold-soft) !important;
}

.site-navbar button.nav-link {
    color: var(--rr-gold) !important;
    background: transparent;
    border: none;
}

.site-navbar button.nav-link:hover {
    color: var(--rr-gold-soft) !important;
}