/* =========================================
   WPCodev Aqar - Frontend Styles
   ========================================= */

/* -----------------------------------------
   1. Aqar List Shortcode Layout
   ----------------------------------------- */
.aqar-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

@media (max-width: 700px) {
    .aqar-list {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
    }
}

.aqar-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.aqar-card:hover {
    transform: translateY(-5px);
}

.aqar-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.aqar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aqar-card-image.aqar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
    height: 200px;
}

.aqar-card-meta {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.aqar-status {
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    display: inline-block;
}

.aqar-price {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}

.aqar-card-title {
    margin: 10px 15px;
    font-size: 20px;
}

.aqar-card-title a {
    text-decoration: none;
    color: #333;
}

.aqar-card-title a:hover {
    color: var(--theme-link-hover-color);
}

.aqar-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
}

.aqar-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.detail-icon {
    width: 24px;
    height: 24px;
}

.detail-value {
    color: #555;
}

/* -----------------------------------------
   2. Property Features (Blocksy Card Integration)
   ----------------------------------------- */
.property-features {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #ececec;
    justify-content: center;
    color: var(--theme-palette-color-2);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-icon svg,
.feature-icon img {
    width: 23px;
    height: 23px;
    fill: currentColor;
    object-fit: contain;
}

.feature-value {
    font-size: 14px;
    font-weight: 700;
}

.feature-label {
    font-size: 14px;
    margin-top: 3px;
    font-weight: 600;
    opacity: .85;
}

/* -----------------------------------------
   3. Social Floating Icons
   ----------------------------------------- */
.social-floating {
    position: fixed;
    bottom: 0;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.snapchat {
    background: #FFFC00;
}

.social-icon svg {
    color: #fff;
}

@media (max-width: 768px) {
    .social-floating {
        right: 10px;
        gap: 8px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* -----------------------------------------
   4. Single Aqar Page Styles
   ----------------------------------------- */
   .aqar-container {
    max-width: 990px;
    margin: 20px auto;
    padding: 0 20px;
    width: 100%;
}

.aqar-box {
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aqar-box h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333;
}

.aqar-featured-image {
    padding: 0;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.aqar-details .aqar-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.aqar-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--theme-palette-color-2);
}

.aqar-button {
    background: #c7716a;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aqar-button:hover {
    background: #005177;
}

.whatsapp-button {
    background: #25D366;
}

.whatsapp-button:hover {
    background: #1DA851;
}

.aqar-details-feature {
    padding: 20px 0;
    background: var(--theme-palette-color-2);
    color: #fff;
}

.aqar-details-feature .feature-icon svg,
.aqar-details-feature .feature-icon img
{
    width: 30px !important;
    height: 30px !important;
}

.aqar-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.aqar-detail-item {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.detail-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    color: #555;
}

.aqar-description {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.description-content {
    flex: 2;
}

.description-actions {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: end;
}

@media (max-width: 768px) {
    .aqar-description-header,
    .aqar-description {
        flex-direction: column;
        align-items: initial !important;
        
    }

    /* .description-actions {
        flex-direction: column;
        align-items: stretch;
        
    } */

    .aqar-button {
        width: 100%;
        justify-content: center;
    }
}
.video-placeholder,
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.aqar-map iframe {
    border-radius: 5px;
}
.aqar-features{
    color: var(--theme-palette-color-2);
}
.aqar-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}
.aqar-features .feature-label {
    font-size: 16px;
    font-weight: bold;
}
.aqar-features .feature-icon svg,
.aqar-features .feature-icon img
 {
    width: 30px;
    height: 30px;
}

.aqar-feature-item {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-name {
    font-size: 20px;
}

.aqar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.aqar-form {
    text-align: right;
    margin-top: 50px;
}

.aqar-featured-image .aqar-status {
    padding: 5px;
    border-radius: 5px;
    display: block;
    margin-top: -10px;
    padding-top: 10px;
    color: #fff;
    font-size: 17px;
}

/* -----------------------------------------
   5. Hero Section
   ----------------------------------------- */
/* -----------------------------------------
   6. Unified Hero Section
   ----------------------------------------- */
.aqar-hero {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.aqar-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.aqar-image-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.aqar-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: initial;
    background-image: linear-gradient(21deg, rgba(48, 209, 209, 0.43) 0%, rgb(40, 81, 85) 86%);
}

.aqar-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.aqar-hero-title {
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.aqar-hero-status {
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Slider (Ken Burns) within Hero */
.aqar-slider-items {
    position: absolute;
    inset: 0;
}

.aqar-slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.aqar-slide-item.active {
    opacity: 1;
    animation: zoomIn 10s linear infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Video BG within Hero */
.aqar-section-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.aqar-video-wrapper {
    direction: ltr;
}

.aqar-video-wrapper iframe,
.aqar-video-player {
    pointer-events: none;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    max-width: inherit;
}
.ct-button svg {
    margin-left: 5px;
}

/* -----------------------------------------
   6. Description Part
   ----------------------------------------- */
.aqar-details-section,
.aqar-description-section {
    background-color: var(--theme-palette-color-9);
padding: 30px 0;
    border-bottom: 4px solid var(--theme-palette-color-2);
}

.aqar-description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.aqar-description-header h2 {
    margin: 0;
}

.price_d{
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

/* -----------------------------------------
   7. Status Badge
   ----------------------------------------- */
article.entry-card {
    position: relative;
}
.aqar-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;
    padding: 6px 14px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: var(--theme-palette-color-1); /* Default fallback */
}

.aqar-status-badge.status-for_sale {
    background-color: #27ae60;
}

.aqar-status-badge.status-sold {
    background-color: #c0392b;
}

.aqar-status-badge.status-soon {
    background-color: #f39c12;
}