/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/


/* gradient text  style  */
.color-text1 span {
  background: linear-gradient(270deg, #b4f8f2, #9377f7, #a6dafc);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite;
	}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* property-style.css */

.property-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}
.property-content h3 {
    font-size: 20px;
    font-family: 'Playfair Display';
    font-weight: 700;
}

.property-card {
    background: #f5f5f5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.property-image {
    position: relative;
}

.property-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Gradient Shadow */
.image-overlay {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(45deg,#6a5cff,#4e9bff);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
}

.price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    z-index: 4;
}

.property-content {
    padding: 22px;
}

.location-row,
.room-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #838485;

}

.room-row {
    display: flex;
    justify-content: space-between;
    margin: 14px 0px;
    border-bottom: 1px solid #d5d8dc;
    padding-bottom: 22px;
}

.room-right {
    font-weight: 500;
}

.amenities {
    display: flex;
    gap: 15px;
    margin: 18px 0;
    flex-wrap: wrap;
    color: #999898;
}

.amenities span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.amenities i {
    font-size: 18px;
    vertical-align: middle;
    color: #6e67fd;
}

.view-more {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid #4b4efc;
    border-radius: 12px;
    text-decoration: none;
    color: #4b4efc;
    transition: 0.3s;
}

.view-more:hover {
    color: #fefeff;
    background: linear-gradient(45deg, #6a5cff, #4e9bff);
}

/* Admin buttons in meta box */
.button.remove-amenity {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 5px;
}

//* PROPERTY HERO */
.property-hero {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.property-title {
    font-size: 34px;
    margin-bottom: 5px;
}

.property-meta {
    color: #666;
    margin-bottom: 15px;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 10px;
    height: auto;
    align-items: stretch;
}

/* MAIN IMAGE */
.main-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    height: auto;
}

.main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* SIDE GALLERY */
.side-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    height: 100%;
}

.grid-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.grid-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* + MORE OVERLAY */
.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 12px;
}

/* HOVER EFFECT (OPTIONAL, MATCHES MODERN UI) */
.gallery-trigger img {
    transition: transform 0.3s ease;
}

.gallery-trigger:hover img {
    transform: scale(1.04);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lightbox-viewport {
    width: 80vw;
    overflow: hidden;
}

.lightbox-track {
    display: flex;
    transition: transform 0.4s ease;
}

.lightbox-slide {
    min-width: 100%;
}

.lightbox-slide img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

/* LIGHTBOX CONTROLS */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 25px;
    display: flex;
    gap: 8px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #666;
    border-radius: 50%;
    cursor: pointer;
}

.dots span.active {
    background: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .side-gallery {

        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
    }

    .grid-img {
        height: 150px;
    }
    .grid-img img {
    display: block;
    width: 100%;
    height: -webkit-fill-available !important;
    object-fit: cover;
    cursor: pointer;
    }

    .main-image {
        height: 220px;
    }
}


.property-load-more{
text-align:center;
margin-top:20px;
}

.load-btn{
background:#000;
color:#fff;
padding:12px 24px;
border-radius:8px;
text-decoration:none;
display:inline-block;
}

.load-btn:hover{
opacity:.85;
}


/* our service  */
.card-image{
position:relative;
overflow:hidden;
box-shadow:0 40px 80px rgba(255,255,255,0.8);
}

.card-image::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:90px; /* control fade size */
background:linear-gradient(
to top,
rgba(255,255,255,1),
rgba(255,255,255,0)
);
pointer-events:none;
}

