@font-face {
    font-family: 'LaLuxes';
    src: url('/static/fonts/La-Luxes.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'LaLuxes', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    padding-top: 70px; 
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh !important;
}

.inbox-section {
    flex: 1; 
}

.main-content {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'LaLuxes', serif !important;
    color: var(--secondary-color) !important;

    /* Explicit OpenType control */
    font-feature-settings: "liga" 0, "salt" 0, "kern" 0;
    font-variant-ligatures: none;
}

p {
    font-family: 'Inter', sans-serif !important;
    color: var(--accent-color) !important; 
    font-size: 14px !important;
    line-height: 1.6; 
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000; 
    padding: 15px 0; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border: solid 1px var(--primary-color) !important;
    border-radius: 10px !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary-color) 80%, black 20%) !important;
    border-color: color-mix(in srgb, var(--primary-color) 80%, black 20%) !important;
    color: #fff !important;
    transform: scale(1.05); 
    border-radius: 10px !important;
}

.btn-secondary {
    background-color: var(--accent-color) !important;
    border: solid 1px var(--accent-color) !important;
    border-radius: 10px !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: color-mix(in srgb, var(--accent-color) 80%, black 20%) !important;
    color: #fff !important; 
    transform: scale(1.05); 
    border-radius: 10px !important;
}

.btn-outline-secondary {
    border: solid 1px #b0b3b5 !important;
    border-radius: 10px !important;
    color: #b0b3b5 !important;
    transition: all 0.3s ease-in-out;
}

.btn-outline-secondary:hover {
    background-color: #b0b3b5 !important;
    color: #fff !important;
    transform: scale(1.05);
    filter: brightness(80%);
}

.btn-primary-success {
    background-color: #198754 !important;
    border: solid 1px #198754 !important;
    border-radius: 10px !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.btn-primary-success:hover {
    background-color: #198754 !important; 
    border-color: #198754 !important;
    color: #fff !important;
    transform: scale(1.05);
}

.container-custom {
    height: 100%;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

/*Switch Language Menu*/
#language-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

#language-selector {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    outline: none;
    appearance: none; 
    text-transform: uppercase;
}

#language-selector:hover,
#language-selector:focus {
    background-color: #555557; 
}

@media (max-width: 768px) {
    #language-form {
        justify-content: flex-start;
    }

    #language-selector {
        width: 100%;
        font-size: 14px;
    }
}


/* Adjust for mobile screens */
@media screen and (max-width: 768px) {
    .booking-section,
    .apartment-detail,
    .contact-section,
    .login-section,
    .create-account-section,
    .dashboard-section,
    .inbox-section,
    .send-message-section,
    .reply-message-section,
    .profile-section,
    .bookings-section,
    .finish-booking-section,
    .finish-deal-booking-section,
    .checkout-section,
    .checkout-return-section,
    .booking-success-section,
    .booking-checkout-section,
    .booking-cancel-section,
    .cancel-section,
    .terms-section,
    .cookie-policy-section {
        padding-top: 100px; /* Extra space for smaller screens */
    }
}

/* Adjust for tablets */
@media screen and (max-width: 1024px) {
    .booking-section,
    .apartment-detail,
    .contact-section,
    .login-section,
    .create-account-section,
    .dashboard-section,
    .inbox-section,
    .send-message-section,
    .reply-message-section,
    .profile-section,
    .bookings-section,
    .finish-booking-section,
    .finish-deal-booking-section,
    .checkout-section,
    .checkout-return-section,
    .booking-success-section,
    .booking-checkout-section,
    .booking-cancel-section,
    .cancel-section,
    .terms-section,
    .cookie-policy-section {
        padding-top: 90px; /* Slightly less than mobile */
    }
}

/* About Section */
#about {
    padding: 60px 20px;
    background-color: var(--background-color) !important;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-title {
    font-family: 'LaLuxes', sans-serif; 
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}


.about-images {
    position: relative;
    max-width: 600px; 
    height: auto;
    margin-top: 30px; 
}

.about-main-image {
    width: 70%; 
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1; 
    position: relative; 
    right: -100px;
}

.about-secondary-image {
    position: absolute;
    width: 40%; 
    height: auto;
    border-radius: 15px;
    bottom: -80px; 
    left: -80px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.5s ease; 
}

.about-images:hover .about-main-image {
    transform: translateX(20px); 
}

.about-images:hover .about-secondary-image {
    transform: translateX(-20px); 
}

.about-main-image:hover {
    transform: scale(1.05);
}

.about-secondary-image:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-main-image {
        width: 90%;
        position: static;
        right: 0;
        margin-bottom: 20px;
    }

    .about-secondary-image {
        width: 60%;
        position: static;
        left: 0;
        bottom: 0;
        transform: translateY(-30px); /
        display: block;
        margin: -40px auto 0 auto;
    }
}

/* Apartment Home Section */
#apartment-home-section {
    margin: 40px 0;
    text-align: center;
}

#apartment-home-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

#apartment-home-section .section-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
}

#apartment-home-section .section-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

/* Apartments Slider */
.apartments-slider {
    position: relative;
    max-width: 75%;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    overflow: hidden;
    width: 90%;
}

.apartments-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px; 
    padding: 10px 0;
}

.apartment-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    flex: 0 0 calc(30% - 5px); 
    margin: 0 5px; 
    padding: 10px;
    transition: transform 0.3s;
}

.apartment-card:hover {
    transform: scale(1.03);
}

.apartment-image {
    width: 100%;
    height: 180px; 
    object-fit: cover;
    border-radius: 8px;
}

.apartment-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.apartment-price {
    font-size: 14px;
    color: #f79009 !important;
    margin-top: 1px;
    font-weight: bold !important;
}

.apartment-name {
    font-size: 18px;
    font-weight: bold !important;
    margin-top: 5px;
}

.apartment-location {
    font-size: 14px;
    color: #6e6d6d;
}

.apartment-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    justify-content: center;
}

.facility-badge {
    background-color: var(--background-color) !important; 
    color: var(--accent-color) !important;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 15px;
    display: inline-block;
    white-space: nowrap;
}

.prev-btn, .next-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    padding: 10px;
    border-radius: 50%;
    z-index: 100;
}

.prev-btn { left: -50px; }
.next-btn { right: -50px; }

@media (max-width: 1024px) {
    .apartment-card {
        flex: 0 0 calc(50% - 20px); 
    }
}

@media (max-width: 768px) {
    .apartment-card {
        flex: 0 0 100%; 
    }
}

/*Statistics Section*/
.statistics-title {
    font-size: 3.5rem !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.statistics-subtitle {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #fff;
}

.statistics-paragraph {
    font-size: 14px;
    color: var(--background-color) !important;
}

/*FAQs Section*/
.faqs-container {
    width: 90%;
}

.faqs-title {
    font-size: 48px;
    font-weight: bold;
}

.accordion-button {
    font-size: 16px !important;
    font-weight: bold !important;
    font-family: 'Inter', sans-serif !important;;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color) !important;
    background-color: color-mix(in srgb, var(--primary-color) 80%, transparent) !important;
    color: var(--secondary-color) !important;
}

.accordion-button.collapsed {
    color: var(--secondary-color) !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

@media (min-width: 992px) {
    .faqs-container {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/*Footer Section*/
.footer {
    margin-top: auto; 
    width: 100%;
    background-color: #222; 
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    margin-top: auto;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    color:  var(--primary-color) !important;
}

.cpyright_text {
    color:  var(--accent-color) !important;
}

/*Apartment Page*/
.apartments-list .row {
    max-width: 1100px; 
    margin-left: auto;
    margin-right: auto;
}

.apartmentpage-card {
    width: 100%;
    max-width: 320px; 
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease-in-out;
}

.apartmentpage-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.apartmentpage-image {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border-radius: 8px;
}

.apartmentpage-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.pageicon-item {
    text-align: center;
    font-size: 12px;
}

.pageicon-item img {
    width: 24px; 
    height: 24px;
}

/* Center and add spacing between cards */
@media (min-width: 992px) {
    .apartmentpage-card {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/*Search Form*/
.search-form {
    max-width: 800px;
    width: 100%;
    border: solid 1px #ced4da;
    border-radius: 10px;
}

.form-control, .form-select {
    text-align: center;
    height: 42px;
    font-size: 16px;
}

.btn-warning {
    background-color: #F8C078;
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-warning:hover {
    background-color: #E8A060;
}

.facility-text {
    font-family: 'Inter', sans-serif !important;
    color: #475467 !important;
    font-size: 14px !important;
    line-height: 1.6;
}

/* IMAGE GRID LAYOUT */

/* 🔹 Force consistent height rows and rounded edges */
.apartment-detail-images {
  height: 500px;
  border-radius: 1rem;
  overflow: hidden;
}

/* 🔹 Rounded corners on left and right outer sides only */
.apartment-detail-images > .col-4:first-child {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  overflow: hidden;
}

.apartment-detail-images > .col-4:last-child {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  overflow: hidden;
}

/* 🔹 Make the stacked columns equal height */
.apartment-detail-images .col-4.d-flex.flex-column > div {
  height: 50%;
  overflow: hidden;
}

/* 🔹 Ensure images behave as boxes */
.apartment-detail-images img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* 🔹 Mobile-friendly fallback */
@media (max-width: 768px) {
  .apartment-detail-images {
    flex-direction: column;
    height: auto !important;
  }

  .apartment-detail-images > div {
    width: 100% !important;
    height: auto !important;
  }

  .apartment-detail-images .col-4.d-flex.flex-column > div {
    height: auto;
  }

  .apartment-detail-images img {
    height: auto !important;
  }
}

/*Book now & Deal Book Now Page*/
.form_book {
    background-color: var(--background-color) !important;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.discount_code {
    font-family: 'Inter', sans-serif !important;
    color: var(--accent-color) !important; 
    font-size: 14px !important;
    line-height: 1.6; 
}

