/* === PROPERTY DETAIL STYLES === */

/* Property Header Section */
.property-header-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.property-main-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--lagoom-black, #000);
    font-family: 'Outfit', sans-serif;
}

.property-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Jost', sans-serif;
}

.property-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Jost', sans-serif;
}

.feature-item i {
    color: #000;
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 0.95rem;
    color: #333;
}

.btn-reserve {
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
}

/* Gallery Section */
.property-gallery-section {
    padding: 40px 0;
}

.gallery-item {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Video Section */
.video-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 50px;
    font-family: 'Outfit', sans-serif;
}

.service-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #000;
    margin-bottom: 15px;
}

.service-label {
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    font-family: 'Jost', sans-serif;
}

/* Typology Section */
.typology-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.typology-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Jost', sans-serif;
}

.typology-table thead {
    background-color: #000;
    color: white;
}

.typology-table thead th {
    padding: 20px;
    font-weight: 600;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.typology-table tbody td {
    padding: 20px;
    vertical-align: middle;
    border-color: #f0f0f0;
}

/* Nuevos ajustes de tabla */
.typology-table .btn {
    width: 100%;
}

.typology-table thead th:first-child,
.typology-table tbody td:first-child {
    padding-left: 40px;
}

.typology-table thead th:last-child,
.typology-table tbody td:last-child {
    padding-right: 40px;
}

/* Adjudication Section */
.adjudication-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Light background for contrast */
}

.adjudication-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.adjudication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.adjudication-icon {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    color: #000;
    /* Black icon */
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    /* Reduced from 80px */
    height: 70px;
    /* Reduced from 80px */
    background-color: transparent;
    /* Transparent background initially */
    border: 1.5px solid #000;
    /* Black border */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.adjudication-card:hover .adjudication-icon {
    background-color: #000;
    /* Black background on hover */
    color: #fff;
    /* White icon on hover */
    transform: scale(1.1);
}

.adjudication-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #999;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.adjudication-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lagoom-black, #000);
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.adjudication-subtext {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-family: 'Jost', sans-serif;
}

/* Funding Section */
.funding-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.funding-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Outfit', sans-serif;
}

.funding-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.funding-logos img {
    height: 60px;
    width: auto;
    filter: grayscale(0%);
    transition: filter 0.3s;
}

.funding-logos img:hover {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
    .property-main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-item {
        height: 250px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .funding-logos {
        gap: 20px;
    }

    .funding-logos img {
        height: 40px;
    }
}

/* === LIGHTBOX PARA GALERÍA === */
.gallery-item {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border: 3px solid #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s, transform 0.2s;
    z-index: 10001;
}

.lightbox-nav:hover {
    color: #ccc;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 40px;
        padding: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}

/* Banner Segunda Plaza de Garaje */
.garage-promo-banner {
    background: transparent;
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    color: #000000;
    border: 2px solid #000000;
}

.garage-promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.garage-promo-text {
    flex: 1;
}

.garage-promo-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: #000000;
}

.garage-promo-disclaimer {
    font-size: 0.9rem;
    color: #333333;
    margin: 0;
    line-height: 1.5;
}

.garage-promo-action {
    flex-shrink: 0;
}

.btn-garage {
    padding: 15px 30px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-garage:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-premium {
    padding: 10px 25px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-premium:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .garage-promo-content {
        flex-direction: column;
        text-align: center;
    }

    .garage-promo-title {
        font-size: 1.5rem;
    }

    .btn-garage {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .garage-promo-banner {
        padding: 30px 20px;
    }
}