
:root {
    --bg-hero: url('../../assets/svg/background_01.svg');
}

[data-theme="dark"] {
    --bg-hero: url('../../assets/svg/background_01dark.svg');
}

.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 120px 0 20px;
    border-bottom: 1px solid var(--shadow-light);
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-apartamento);
}

.breadcrumb span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.property-details {
    padding: 60px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), var(--bg-hero);
    min-height: 100vh;
}

[data-theme="dark"] .property-details{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-hero);
}

.property-gallery {
    margin-bottom: 40px;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-container {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    height: 650px;
}

.gallery-display {
    position: relative;
    flex: 1;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.gallery-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    top: 0;
    left: 0;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gallery-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    outline: none;
    color: #333;
}

.gallery-nav:hover {
    background: var(--text-apartamento);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

[data-theme="dark"] .gallery-nav {
    background: rgba(0, 0, 0, 0.9);
    color: white;
}

[data-theme="dark"] .gallery-nav:hover {
    background: var(--text-apartamento);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-nav i {
    font-size: 1.3rem;
    pointer-events: none;
}

.gallery-thumbnails {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.thumbnails-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
}

.thumbnails-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-scroll::-webkit-scrollbar-track {
    background: var(--shadow-light);
    border-radius: 10px;
}

.thumbnails-scroll::-webkit-scrollbar-thumb {
    background: var(--text-apartamento);
    border-radius: 10px;
}

.thumbnails-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

.thumbnail-item {
    position: relative;
    min-width: 80px;
    width: 80px;
    height: 80px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    outline: none;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-item:hover {
    border-color: var(--text-apartamento);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: var(--text-apartamento);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3), inset 0 0 0 2px var(--text-apartamento);
}

.video-thumbnail {
    background: linear-gradient(135deg, rgb(59, 130, 246) 0%, rgba(59, 130, 246, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.video-thumbnail:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgb(59, 130, 246) 100%);
    transform: scale(1.05);
}

.video-thumbnail.active {
    border-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.property-info-section {
    margin-top: 40px;
}

.property-header {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 32px;
}

.property-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.property-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0;
    line-height: 1.2;
}

.property-location {
    padding: 20px;
    align-items: center;
    align-content: center;
    text-align: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-top: 12px;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    margin-bottom: 30px;
    
}

.property-location i {
    color: var(--text-apartamento);
    font-size: 1.2rem;
}

.property-price-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.price-card {
    background: var(--accent-color);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 50px;
}

.feature-icon img {
    width: 50px;
    height: 50px;
}

.feature-info {
    display: flex;
    flex-direction: column;
}

.feature-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.feature-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.property-description {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 32px;
}

.property-description h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.property-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.05rem;
    text-align: justify;
}

.property-description p:last-child {
    margin-bottom: 0;
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.detail-card {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.detail-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-apartamento);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--shadow-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li strong {
    color: var(--text-primary);
    min-width: 100px;
}

.detail-list li i {
    color: #00c853;
    font-size: 1.1rem;
}

.map-section {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.map-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.property-contact-cta {
    background-color: var(--bg-secondary);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    color: var(--text-primary);
    box-shadow: var(--shadow-heavy);
}

.property-contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.property-contact-cta p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 32px;
}

.property-contact-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contato{
    display: flex;
}

.property-contact-cta .btn {
    min-width: 200px;
}

@media (max-width: 1024px) {
    .gallery-container {
        height: 500px;
    }
    
    .property-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 100px 0 20px;
    }
    
    .gallery-container {
        height: 400px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav i {
        font-size: 1rem;
    }
    
    .property-title {
        font-size: 1.6rem;
    }
    
    .property-header {
        padding: 24px;
    }
    
    .property-price-section {
        grid-template-columns: 1fr;
    }
    
    .price-value {
        font-size: 1.6rem;
    }
    
    .property-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .property-description,
    .detail-card,
    .map-section,
    .property-contact-cta {
        padding: 24px;
    }
    
    .property-details-grid {
        grid-template-columns: 1fr;
    }
    
    .property-contact-cta .cta-buttons {
        flex-direction: column;
    }

    .property-contact-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        height: 300px;
    }
    
    .property-title {
        font-size: 1.4rem;
    }
    
    .property-location {
        font-size: 0.95rem;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .feature-value {
        font-size: 1.4rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
}