/* Hotres Templates Styles */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single Apartment */
.hotres-apartment {
    background: #fff;
}

.hotres-apartment__header {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.hotres-apartment__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #212529;
}

.hotres-apartment__subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0 0 1rem 0;
}

.hotres-apartment__meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.hotres-apartment__price {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.hotres-apartment__area,
.hotres-apartment__location {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery */
.hotres-apartment__gallery {
    padding: 2rem 0;
}

.hotres-gallery__main {
    margin-bottom: 1rem;
}

.hotres-gallery__main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.hotres-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.hotres-gallery__thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.hotres-gallery__thumb img:hover {
    transform: scale(1.05);
}

/* Content */
.hotres-apartment__content {
    padding: 2rem 0;
}

.hotres-apartment__content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.hotres-apartment__main h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #212529;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
}

.hotres-content {
    line-height: 1.6;
    color: #495057;
    margin-bottom: 2rem;
}

/* Facilities */
.hotres-facilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.hotres-facility {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.hotres-facility__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hotres-facility__name {
    font-size: 0.9rem;
    color: #495057;
}

/* Beds */
.hotres-beds {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hotres-bed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.hotres-bed__count {
    font-weight: 600;
    color: #856404;
}

.hotres-bed__type {
    color: #856404;
}

/* Sidebar */
.hotres-apartment__sidebar h3 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    color: #212529;
}

.hotres-calendar-iframe {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.hotres-calendar-iframe iframe {
    display: block;
    width: 100%;
}

/* Map */
.hotres-apartment__map {
    padding: 2rem 0;
    background: #f8f9fa;
    margin-top: 2rem;
}

.hotres-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Archive */
.hotres-archive__header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hotres-archive__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.hotres-archive__description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.hotres-archive__content {
    padding: 3rem 0;
}

/* Apartments Grid */
.hotres-apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hotres-apartment-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hotres-apartment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hotres-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.hotres-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hotres-apartment-card:hover .hotres-card__img {
    transform: scale(1.1);
}

.hotres-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
}

.hotres-card__price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #28a745;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hotres-card__content {
    padding: 1.5rem;
}

.hotres-card__title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.hotres-card__title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.hotres-card__title a:hover {
    color: #28a745;
}

.hotres-card__subtitle {
    color: #6c757d;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.hotres-card__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.hotres-card__area,
.hotres-card__location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hotres-card__features {
    margin-bottom: 1rem;
}

.hotres-card__beds,
.hotres-card__facilities {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.hotres-card__excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hotres-card__actions {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.hotres-card__button {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.hotres-card__button:hover {
    background: #218838;
    color: white;
}

/* Pagination */
.hotres-archive__pagination {
    text-align: center;
    margin-top: 2rem;
}

.hotres-archive__pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.hotres-archive__pagination .page-numbers:hover,
.hotres-archive__pagination .page-numbers.current {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Empty State */
.hotres-archive__empty {
    text-align: center;
    padding: 3rem 0;
}

.hotres-archive__empty h2 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.hotres-archive__empty p {
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hotres-apartment__title {
        font-size: 2rem;
    }
    
    .hotres-apartment__content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hotres-apartment__meta {
        gap: 1rem;
    }
    
    .hotres-apartments-grid {
        grid-template-columns: 1fr;
    }
    
    .hotres-facilities {
        grid-template-columns: 1fr;
    }
    
    .hotres-card__meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
