/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    /* Colors */
    --primary-color: #00217C;
    --secondary-color: #FFBB22;
    --accent-color: #F0A600;
    --blue: #2957D5;
    --dark-blue: #00217C;

    --white: #ffffff;
    --light-gray: #F8F8F8;
    --light-gray2: #E8E8E8;
    --light-gray3: #DDDDDD;
    --light-gray4: #D0D0D0;
    --gray: #727272;
    --med-gray: #707070;
    --dark-gray: #3B3B3B;
    --off-black: #333333;
    --black: #000000;

    /* Typography */
    --font-primary: "Lato", sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.45;
    font-size: 1.1rem;
    color: var(--off-black);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .container {
        padding-right: calc(var(--bs-gutter-x) * .85);
        padding-left: calc(var(--bs-gutter-x) * .85);
    }
}

/* Utility Classes */

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.graphic-icon {
    max-height: 70px;
    width: auto;
    margin: 1.5rem;
    transition: all 1s ease;
}
.graphic-icon:hover {
    transform: scale(1.05);
}
.featured-card-style2 .graphic-icon:hover {
    transform: none;
}

.image-shadow {
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.10);
}

.rounded-corners {
    border-radius: 15px;
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-opacity {
    transition: opacity 0.3s ease;
    opacity: 0.8;
}
.hover-opacity:hover {
    opacity: 1;
}

.white {
    color: var(--white);
}
.blue {
    color: var(--dark-blue);
}
.gray {
    color: var(--gray);
}

@media (max-width: 991.98px) {

}
@media (max-width: 768px) {
    .mobile-center {
        text-align: center;
    }
    .mobile-breakline {
        display: block;
    }
    .mobile-hide {
        display: none;
    }
}


/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.heading-style1 {
    text-transform: uppercase;
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 5px;
}

.heading-style2 {
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 5px;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
}

.subheading {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
}

.smaller-text {
    font-size: 0.98rem;
}


/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--dark-blue) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    align-items: center;
    flex-wrap: nowrap;
    border-bottom: 5px solid var(--secondary-color);
}

.navbar-toggler {
    border: 0px !important;
}
.navbar-toggler-icon {
    opacity: 0.3;
    transition: opacity 1s ease;
}
.navbar-toggler-icon:hover, .navbar-toggler-icon:active {
    opacity: 1;
}
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
.icon-close {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 1s ease;
}
.icon-close:hover, .icon-close:active {
    opacity: 1;
}

/* NAVBAR FLEX LAYOUT */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-flex.align-items-center.flex-shrink-0 {
    min-width: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    text-transform: uppercase;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    margin: 0 5px;
    padding: 0.5rem 0.5rem;
    transition: all 2s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--white) !important;
    background-color: rgba(255,255,255,0.1);
    border-bottom: 2px solid var(--white);
    text-decoration: none;
}

/* NAVBAR COLLAPSE: Only absolute on mobile */
@media (max-width: 768px) {

}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(252, 249, 244, 0.98);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .navbar-nav {
        padding: 1rem 0;
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
        color: var(--blue);
    }
    .navbar-nav .nav-item a:hover {
        background: var(--secondary-color) !important;
        color: var(--dark-blue) !important;
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center;
        width: auto !important;
    }
    .navbar-nav {
        flex-direction: row;
        padding: 0;
    }
    .navbar-nav .nav-item {
        border: none;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: left;
    }
}



/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
}

.property-search-box-container {
    position: absolute;
    width: 100%;
    top: 200px;
    left: 0;
    z-index: 999;
}

.property-search-box {
    width: 100%;
    background-color: rgba(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 0.5rem;
    padding: 1.5rem;
    border-radius: 20px;
}

.property-search-box h4 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.property-search-box .form-control-group {
    margin-bottom: 10px;
}

.property-search-box .form-control-group .form-control-title {
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--gray);
    display: block;
}

.property-search-box .form-control-group select, .property-search-box .form-control-group input[type="text"] {
    width: 100%;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--light-gray3);
    font-size: 0.9rem;
    background-color: var(--light-gray);
    outline: none;
}

.property-search-box .form-control-group-bedrooms input[type="checkbox"] {
    display: none;
}

.property-search-box .form-control-group-bedrooms .form-check-button {
    display: inline-block;
    margin-right: 5px;
    min-width: 30px;
    text-align: center;
    padding: 5px 10px 3px 10px;
    border-radius: 4px;
    border: 1px solid var(--light-gray3);
    font-size: 0.8rem;
    background-color: var(--light-gray);
}
.property-search-box .form-control-group-bedrooms .bedroom-checkbox:checked + .form-check-button {
    background-color: var(--light-gray2);
    border-color: var(--light-gray3);
}

.property-search-box .search-button {
    background-color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    text-align: center;
    width: 100%;
    padding: 0.3rem;
    border-radius: 7px;
    margin-top: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.property-search-box .search-button:hover {
    background-color: var(--accent-color);
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 700px;
}

.property-info-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 10);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.5rem;
}

.property-info {
    max-width: 600px;
    text-align: left;
}

.property-info p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height:  1.4;
}

.property-info .property-title {
    font-size: 1.1rem;
    font-weight: bold;
}

.property-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}
.property-info a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

.swiper-pagination {
    position: absolute !important;
    bottom: 15px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px !important;
    z-index: 10 !important;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    border: 1px solid var(--light-gray) !important;
    opacity: 0.3 !important;
    transition: background-color 0.3s ease, width 0.3s ease;
    transform: scale(1) !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.16) !important;
    width: 30px;
    height: 6px;
    border-radius: 3px;
    cursor: pointer !important;
    display: inline-block !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
    border: 1px solid var(--light-gray) !important;
    opacity: 0.7 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.16) !important;
}

#prop-search-mobile {
        display: none;
    }
    #prop-search-widescreen {
        display: block;
    }

/* Media Queries for responsive layout */
@media (max-width: 768px) {
    #prop-search-mobile {
        display: block;
        position: relative;
        top: 0px;
        left: 0px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 110px;
        padding-bottom: 30px;
        background-color: var(--off-black);
    }
    #prop-search-widescreen {
        display: none;
    }

    .property-info-container {
        position: relative;
        background-color: var(--dark-gray);
    }

    .swiper-pagination {
        bottom: 160px !important;
    }

    .swiper-slide img {
        max-height: 400px;
    }
}

/* ========================================
   PAGE TITLE BAR
   ======================================== */
#page-title {
    padding-top: 110px;
}

.page-title-text {
    font-weight: bold;
    color: var(--dark-blue);
}

.breadcrumb {
    font-size: 0.9rem;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.light-bg {
    background-color: var(--light-gray);
}

.heading-underline1 {
    width: 100%;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    height: 3px;
    background-color: var(--secondary-color);
}

.heading-underline2 {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    height: 3px;
    background-color: var(--secondary-color);
}

.blockquote {
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
}

.blockquote p {
    font-style: italic;
    font-size: 1.35rem;
    color: var(--dark-blue);
}

.caption {
    text-align: center;
    font-style: italic;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ========================================
   FORMS
   ======================================== */



/* ========================================
   SECTIONS
   ======================================== */
#cta-bar {
    background-color: var(--dark-blue);
    color: var(--white);
}

footer, footer p {
    font-size: 0.8rem;
}

/* ========================================
   COMPONENTS
   ======================================== */

.featured-card-style2 {
    border-radius: 20px;
    background-color: var(--light-gray);
    border: 1px solid var(--light-gray3);
    padding: 1rem;
    opacity: 0.9;
    transition: all 1s ease;
}

.featured-card-style2:hover {
    transform: scale(1.05);
    opacity: 1;
}

.featured-card-style2 h5 {
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: bold;
    letter-spacing: 1px;
}
.featured-card-style2 p {
    font-size: 0.95rem;
    color: var(--gray);
    font-style: italic;
}

/* Linked featured cards */
a.featured-card {
    display: block;
    text-decoration: none;
}
a.featured-card:hover {
    text-decoration: none;
}

/* ========================================
   COMPONENTS
   ======================================== */
.btn {
    text-decoration: none !important;
}

.read-more-container {
    text-align: right;
}

.pill-btn {
    border-radius: 50px;
    text-align: center;
    padding: 0.3rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.rectangle-btn {
    width: 100%;
    text-align: center;
    padding: 0.4rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
}

.rectangle-btn-small {
    text-align: center;
    padding: 0.4rem 0.5rem;
    font-weight: bold;
    border-radius: 5px;
}

.btn-style-default {
    border: 1px solid var(--accent-color);
    background-color: var(--secondary-color);
    transition: all 0.7s ease;
    color: var(--dark-gray);
}
.btn-style-default:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
    color: var(--dark-gray);
}

.btn-style-blue {
    border: 1px solid var(--dark-blue);
    background-color: var(--blue);
    color: var(--white);
    transition: all 0.7s ease;
}
.btn-style-blue:hover {
    background-color: var(--dark-blue);
    transform: scale(1.05);
    color: var(--white);
}

.btn-style-gray {
    border: 1px solid var(--light-gray4);
    background-color: var(--light-gray3);
    color: var(--dark-gray);
    transition: all 0.7s ease;
}
.btn-style-gray:hover {
    background-color: var(--light-gray4);
    transform: scale(1.05);
    color: var(--dark-gray);
}

@media (max-width: 1200px) {
    .mobile-btn {
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
