.no-uppercase {
    text-transform: revert !important;
}

/* Match exact styling of ideal_crousel for the dynamic gallery */
.swiper.location-gallery {
    margin-top: calc(28px + (100 - 28) * ((100vw - 320px) / (1920 - 320)));
}

.swiper.location-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
}

@media (max-width: 767px) {
    .swiper.location-gallery .swiper-slide img {
        aspect-ratio: 16/9;
    }
}

.swiper.location-gallery .swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: calc(35px + (44 - 35) * ((100vw - 320px) / (1920 - 320)));
    max-width: 864px;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.swiper.location-gallery .swiper-button-prev,
.swiper.location-gallery .swiper-button-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 40px;
    height: 100%;
    color: black;
    font-size: 24px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    z-index: 5;
}

.swiper.location-gallery .swiper-button-next::after {
    background: url(../images/arrow-right.svg) no-repeat;
    content: "";
    right: 10px;
    top: 0;
    position: absolute;
    width: calc(100px + (171 - 100) * ((100vw - 320px) / (1920 - 320)));
    height: 24px;
    transition: all 0.5s;
    background-size: 100%;
}

.swiper.location-gallery .swiper-button-next:hover::after {
    transform: translateX(10px);
}

.swiper.location-gallery .swiper-button-prev::after {
    background: url(../images/arrow-left.svg) no-repeat;
    content: "";
    left: 10px;
    top: 0;
    position: absolute;
    width: calc(100px + (171 - 100) * ((100vw - 320px) / (1920 - 320)));
    height: 24px;
    transition: all 0.5s;
    background-size: 100%;
}

.swiper.location-gallery .swiper-button-prev:hover::after {
    transform: translateX(-10px);
}

.swiper.location-gallery .swiper-pagination {
    position: relative;
    font-weight: bold;
    z-index: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.swiper.location-gallery .swiper-pagination .swiper-pagination-current {
    font-size: calc(27px + (38 - 27) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
}

/* Casa Di Plaka Navigation Link Styles */
.sister-property {
    margin-top: 15px;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sister-property-label {
    /*font-size: 11px;*/
    color: rgba(74, 109, 140, 0.8);
    margin-bottom: 1px;
    /*font-family: Cambria, serif;*/
    font-family: 'Times New Roman', serif;
    letter-spacing: 1.5px;
    font-weight: 500;
    text-transform: uppercase;
}

.casa-plaka-link {
    display: flex;
    align-items: center;
    color: #fff;
    /*font-family: Cambria, serif;*/
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 5px 0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.casa-plaka-link:hover {
    color: rgba(74, 109, 140, 1);
    transform: translateX(3px);
}

.external-link-icon {
    width: 14px;
    height: 14px;
    margin-left: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.casa-plaka-link:hover .external-link-icon {
    opacity: 1;
}

@media (max-width: 767px) {
    .sister-property {
        margin-top: 0px;
        padding-top: 15px;
    }
    
    .sister-property-label {
        font-size: 18px;
    }
    
    .casa-plaka-link {
        font-size: 16px;
    }
}








/* Contact Form Styles */
#message {
    margin: 15px 0;
    width: 100%;
    clear: both;
}

.error_message {
    color: #e74c3c;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}

.error-box {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 10px;
}

#success_page {
    padding: 20px;
}

.success-box {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    padding: 10px;
}

/* Success container styles */
.success-container {
    margin: clamp(15px, 4vw, 30px) 0;
    padding: clamp(15px, 3vw, 20px);
    background-color: #8ca4ab;
    border-radius: 5px;
    text-align: center;
    line-height: 1.6;
    min-height: 500px;
}

@media (max-width: 767px) {
    .success-container {
        min-height: auto;
    }
}

.success-container h2.success {
    color: #fff;
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: clamp(15px, 3vw, 25px);
    line-height: 1.4;
    font-weight: bold;
}

.success-container h3.success-thank {
    color: #000;
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: clamp(12px, 2.5vw, 20px);
    line-height: 1.5;
}

.success-container h3.success-spam {
    color: #000;
    font-size: clamp(14px, 2.5vw, 18px);
    font-style: italic;
    line-height: 1.5;
    margin-top: clamp(15px, 3vw, 25px);
}

#captcha_error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Make sure form elements have proper spacing */
.form-group {
    margin-bottom: 15px;
}

/* Ensure the message is visible */
#message.alert-box {
    display: block;
    width: 100%;
}
