/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: proxima-nova, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    font-family: brother-1816, sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    margin-bottom: 15px;
    font-family: brother-1816, sans-serif;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Header Styles */
header {
    position: relative;
    height: 56.25vh;
    background-image: url('images/157-web-or-mls-1875%20La%20Cuesta%20TWILIGHT%2018.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 50px;
    align-items: stretch;
    min-height: 450px;
}

.logo {
    position: relative;
    left: 20px;
    z-index: 9999;
    padding-top: 25px;
    height: 100%;
}

.header-content {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    margin: 0;
    padding: 50px 40px 50px 50px;
}

.header-content h1 {
    font-size: 1.8rem;
    letter-spacing: 0;
    margin-bottom: 10px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5em;
    text-shadow: 5px 5px 20px black;
    text-align: right;
}

.property-details {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.property-details.property-address {
    text-align: right;
    font-family: brother-1816, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    padding-top: 10px;
    border-top: 5px solid #ffffff;
}

.property-details.secondary {
    color: #000;
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4rem;
    font-family: brother-1816, sans-serif;
    margin-bottom: 0;
}

.header-buttons {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100px;
    width: 50%;
}

a.header-button {
    width: 30%;
    padding: 5px;
    font-weight: 600;
    text-decoration: none;
    color: #000000;
    font-size: 0.66rem;
    background: #ccccccdd;
    text-align: center;
}

.header-secondary {
    position: absolute;
    right: 0;
    bottom: 50px;
    left: 66%;
    background-color: #cccd;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

/* Main Content Styles */
.main-content {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    font-family: brother-1816;
    font-weight: 600;
}

.section-title:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    margin: 15px auto;
}

.property-description {
    margin-bottom: 40px;
}

/* Gallery Styles */
.gallery-slider {
    margin-bottom: 40px;
    width: 100%;
    margin-left: -15px;
    margin-right: -15px;
}

.gallery-item {
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-text {
    padding: 20px;
    background-color: #fff;
    margin-top: -5px;
    border-bottom: 1px solid #eee;
}

/* Slick Carousel Custom Styles */
.slick-prev,
.slick-next {
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 1;
}

.slick-prev {
    left: 15px;
}

.slick-next {
    right: 15px;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-dots {
    bottom: -30px;
    display: none;
}

.slick-dots li button:before {
    font-size: 12px;
}

/* Amenities Section Styles */
.amenities-section {
    margin: 40px 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.amenities-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.amenities-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenities-category li {
    padding-left: 20px;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.amenities-category li:before {
    content: '\2022';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Banner Styles */
.legacy-banner {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin: 40px 0;
}

.legacy-banner h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.legacy-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* Explore Section Styles */
.explore-section {
    margin-bottom: 40px;
}

.explore-heading {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.video-thumbnails {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.video-item {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 60%;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 24px;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.video-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

/* Map Section Styles */
.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.map-item {
    overflow: hidden;
}

.map-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section Styles */
.contact-banner {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.contact-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-direction: row;
}

.contact-info {
    text-align: center;
    width: 100%;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.7rem;
    color: #777;
    text-align: center;
    margin-top: 20px;
    padding: 0 15px;
}

/* Split Layout Styles */
.split-left {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
}

.split-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-grow: 0;
    flex-shrink: 0;
    padding-left: 15px;
    padding-right: 15px;
}

.split-left.split-rev {
    flex-direction: row-reverse;
}

.filler {
    border-left-style: solid;
    border-left-width: 2px;
    min-width: 0;
    flex-grow: 1;
    flex-shrink: 1;
}

/* Fixed empty classes */
.header-nav-wrap {
    /* Empty class */
}

.pv {
    /* Empty class */
}

.small-only {
    /* For mobile display */
}

/* Media Queries - All consolidated at the end */
@media (min-width: 767px) {
    .small-only {
        display: none;
    }
}

@media (max-width: 991px) {
    .section-title {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: 2px;
        position: relative;
        font-family: brother-1816;
        font-weight: 600;
    }

    .pv {
        display: none;
    }

    a.header-button {
        width: 45%;
    }
}

@media (max-width: 766px) {
    .section-title {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: 2px;
        position: relative;
        font-family: brother-1816;
        font-weight: 600;
        margin-right: auto;
    }

    a.header-button {
        width: 30%;
        padding: 5px;
        font-weight: 600;
        text-decoration: none;
        color: #000000;
        font-size: 0.75rem;
        background: #ccc;
    }

    .header-buttons {
        display: none;
    }

    .header-content {
        right: 0;
    }

    .header-secondary {
        display: none;
    }

    .header-content h1 {
        text-align: center;
        font-size: 1.5rem;
    }

    .header-content .property-details {
        text-align: center;
    }
}

@media only screen and (min-width:992px) {
    header {
        height: 66.67vh;
    }
}

@media only screen and (max-width:766px) {
    .contact-info {
        width: 100%;
    }

    .contact-section {
        flex-direction: column;
    }

    .logo {
        height: 80px;
        margin: 0 auto;
        left: 0;
    }

    .black-spacer {
        min-height: 3vh !important;
    }

    .legacy-banner {
        margin: 40px -15px;
        padding: 30px 15px;
    }

    .split-left {
        flex-direction: column;
    }

    .split-left.split-rev {
        flex-direction: column;
    }

    .split-box {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .filler {
        display: none;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}