/* Villa Breadcrumb Section */
.villa-breadcrumb-section {
    /* background: #fff; */
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 45px;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--text-font);
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-red);
}

.breadcrumb span {
    color: #999;
}

.breadcrumb .current {
    color: #000;
    font-weight: 500;
}

.share-villa-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-villa-btn:hover {
    background: #f5f5f5;
    border-color: #000;
}

.share-villa-btn i {
    font-size: 14px;
}

/* Villa Gallery Section */
.villa-gallery-section {
    /* background: #fff; */
    padding: 0;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 60px;
}

.gallery-grid-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 400px;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item:nth-child(2) {
    border-radius: 0 12px 0 0;
}

.gallery-item:nth-child(4) {
    border-radius: 0 0 12px 0;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* More Photos Overlay */
.gallery-more {
    cursor: pointer;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.gallery-more:hover .more-overlay {
    background: rgba(0, 0, 0, 0.75);
}

.more-count {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 5px;
}

.more-text {
    font-family: var(--text-font);
    font-size: 16px;
    font-weight: 500;
}

/* Gallery Dots Navigation */
.gallery-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.gallery-dot.active {
    background: var(--accent-red);
    width: 8px;
    height: 8px;
    border-color: var(--accent-red);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsive - 1280px */
@media (max-width: 1280px) {
    .gallery-container {
        max-width: 1100px;
        padding: 30px 30px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Hide breadcrumb on mobile */
    .villa-breadcrumb-section {
        display: none;
    }

    .gallery-section {
        padding: 0;
        position: relative;
    }

    .gallery-container {
        padding: 0;
        overflow: hidden;
        max-width: 100%;
        position: relative;
    }

    .gallery-grid-1 {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        height: 270px;
    }

    .gallery-grid-1::-webkit-scrollbar {
        display: none;
    }

    .gallery-main,
    .gallery-item {
        flex: 0 0 100%;
        width: 100%;
        height: 280px;
        border-radius: 0;
        scroll-snap-align: start;
        position: relative;
    }

    .gallery-main {
        height: 280px;
    }

    .gallery-side {
        display: contents;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        border-radius: 0;
    }

    /* Show dots on mobile */
    .gallery-dots {
        display: flex;
    }

    /* Photo Count Overlay - positioned on last image */
    .gallery-item:last-child .more-overlay {
        position: absolute;
        bottom: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.75);
        color: #fff;
        padding: 8px 16px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-family: var(--text-font);
        font-size: 14px;
        font-weight: 500;
        z-index: 10;
    }

    .more-overlay .more-count,
    .more-overlay .more-text {
        display: inline;
        font-size: 14px;
        margin: 0;
    }

    .more-overlay .more-count {
        font-weight: 600;
    }
}

@media (max-width: 480px) {

    .gallery-main,
    .gallery-item {
        height: 260px;
    }

    .gallery-item:last-child .more-overlay {
        padding: 6px 12px;
        font-size: 13px;
        bottom: 12px;
        right: 12px;
    }

    .more-overlay .more-count,
    .more-overlay .more-text {
        font-size: 13px;
    }
}