/*
    Theme Name: Jamaica Bay Rentals
    Author: Private
    Version: 1.5
*/

/* Imports
-------------------------------------------------------------------*/

@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@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&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');


/* Root
-------------------------------------------------------------------*/
:root {
    --ff-accent: 'Zilla Slab', serif;
    --ff-default: 'Lato', sans-serif;
    --brand-dark: #1d3b64;
    --brand-dark-alt: rgba(29, 59, 100, 0.75);
    --brand-light: #92bacc;
    --med-grey: #ccc;
    --white: #FFF;
    --cream: #f1e9da;
    --black: #111;
}

/* Background Colors
-------------------------------------------------------------------*/
.bg-white {background: var(--white);}
.bg-cream, .bg-light {background: var(--cream) !important;}
.bg-black, .bg-dark {background: var(--black);}
.bg-brand-dark {background:var(--brand-dark);}
.bg-brand-dark-alt {background: var(--brand-dark-alt);}

/* HTML
-------------------------------------------------------------------*/
html {
    font-size: 62.5%;
}

/* Body
-------------------------------------------------------------------*/
body {
    background: var(--white);
    color: var(--black);
    font-family: var(--ff-default);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

/* General Adjustments
-------------------------------------------------------------------*/
.ff-accent {
    font-family: var(--ff-accent);
}

.fs-italic {font-style: italic;}

.fs-sm {
    font-size: 1.3rem;
}

.fs-md {
    font-size: 1.6rem;
}

.fs-regular, .fs-reg {
    font-size: 2rem;
}

.fs-large, .fs-lg {
    font-size: 2.8rem;
}

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.text-dark, .wpc-filter-link {
    color: var(--black) !important;
}

.text-light, .text-white, .white {
    color: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: var(--ff-accent);
    font-weight: 600;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.4rem;
}

h3 {
    font-size: 2.8rem;
}

    .widget-title {
        font-size: 2.4rem;
        font-weight: 600;
        font-family: var(--ff-accent);
    }

h4 {
    font-size: 2.4rem;
}

.btn-primary, .btn-primary:hover {
    background-color: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
    font-size: 2rem;
    font-family: var(--ff-accent);
    font-weight: 700;
}


/* Navbar
-------------------------------------------------------------------*/
.navbar-brand {
    font-family: var(--ff-accent);
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
}

.navbar-brand span {
    color: var(--brand-light);
}

.navbar-brand:hover {
    color: var(--white);
}

.nav-link {
    padding: .15em .75em !important;
    font-size: 1.6rem;
    font-family: var(--ff-accent);
    font-weight: 700;
    text-transform: uppercase;
}


.navbar-nav {
    --bs-nav-link-color: var(--white) !important;
    --bs-nav-link-hover-color: var(--white) !important;
    --bs-nav-link-disabled-color: var(--white) !important;
}

/* Page Hero Banner
-------------------------------------------------------------------*/
.page-hero {
    height: 300px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.page-hero-overlay h1 {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: var(--ff-accent);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@media (max-width: 575.98px) {
    .page-hero {
        height: 250px;
    }

    .page-hero-overlay h1 {
        font-size: 4rem;
    }
}


/* Carousels
-------------------------------------------------------------------*/
.page-template-page-home .carousel-item {
    height: 500px;
    overflow: hidden;
}

.page-template-page-home .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.page-template-page-home .carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.page-template-page-home .carousel-overlay h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: var(--ff-accent);
}

.page-template-page-home .carousel-overlay p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-template-page-home .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@media (max-width: 575.98px) {
    .page-template-page-home .carousel-item {
        height: 250px;
    }

    .page-template-page-home .carousel-overlay h1 {
        font-size: 2rem;
    }
}

/* Forms
-------------------------------------------------------------------*/
.form-control, .btn {
    font-size: 2rem;
}

/* Images
-------------------------------------------------------------------*/
figure.featured-section {
    width: 100%;
    height: 400px;
}
figure.featured-section img,
figure.property-listing img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

figure.property-listing {
    width: 100%;
    height: 350px;
    margin: 0;
}

figure.property-listing img {
    border-radius: 2rem 2rem 0 0;
}

/* Property Listing
-------------------------------------------------------------------*/
.property-listing-box {
    width: 100%;
    border-radius: 2rem;
    border: 1px solid var(--med-grey);
}

.property-listing-info {
    padding: .75em .75em;
}

.property-listing-info h3 {
    font-size: 2.2rem;
    padding: 0 0 .5em 0;
}

.property-listing-info h4 {
    font-size: 1.6rem;
    padding: 0 0 .5em 0;
    font-family: var(--ff-default);
}

.listing-gallery {
    width: 100%;
    height: 200px;
}

.listing-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}