/**
 * Hotels Simple Module Styles
 * Stilovi za kartice bez filtera i kongresnih kapaciteta
 */

/* ================================
   GLAVNI WRAP
   ================================ */
.mod-hotels-simple {
    padding: 20px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ================================
   HOTEL CARD
   ================================ */
.mod-hotels-simple .hotel-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mod-hotels-simple .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Slika */
.mod-hotels-simple .hotel-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    position: relative;
}

.mod-hotels-simple .hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mod-hotels-simple .hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.mod-hotels-simple .hotel-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

/* Sadržaj kartice */
.mod-hotels-simple .hotel-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Naziv hotela */
.mod-hotels-simple .hotel-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Meta info (vrsta + zvjezdice) */
.mod-hotels-simple .hotel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mod-hotels-simple .hotel-type-badge {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.mod-hotels-simple .hotel-stars {
    color: #f5a623;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Adresa */
.mod-hotels-simple .hotel-address {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.mod-hotels-simple .hotel-address i {
    color: #dc3545;
    margin-top: 2px;
}

/* Kontakt */
.mod-hotels-simple .hotel-contact {
    margin-bottom: 10px;
}

.mod-hotels-simple .hotel-contact .contact-item {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-hotels-simple .hotel-contact .contact-item i {
    color: #0d6efd;
    width: 14px;
}

.mod-hotels-simple .hotel-contact .contact-item a {
    color: #0d6efd;
    text-decoration: none;
}

.mod-hotels-simple .hotel-contact .contact-item a:hover {
    text-decoration: underline;
}

/* Kratki opis */
.mod-hotels-simple .hotel-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 8px 0;
    flex-grow: 1;
}

/* ================================
   DETAILS TOGGLE
   ================================ */
.mod-hotels-simple details.hotel-details-toggle {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.mod-hotels-simple details.hotel-details-toggle summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    list-style: none;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.mod-hotels-simple details.hotel-details-toggle summary:hover {
    color: #0b5ed7;
}

.mod-hotels-simple details.hotel-details-toggle summary::-webkit-details-marker {
    display: none;
}

.mod-hotels-simple details.hotel-details-toggle summary::before {
    content: "▸";
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.mod-hotels-simple details[open].hotel-details-toggle summary::before {
    transform: rotate(90deg);
}

/* Expanded details */
.mod-hotels-simple .hotel-details-expanded {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #444;
}

.mod-hotels-simple .hotel-details-expanded h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #0d6efd;
}

.mod-hotels-simple .hotel-details-expanded h4:first-child {
    margin-top: 0;
}

.mod-hotels-simple .hotel-details-expanded p {
    margin: 6px 0;
}

/* Full description */
.mod-hotels-simple .hotel-full-description {
    line-height: 1.6;
}

/* Contact full */
.mod-hotels-simple .hotel-contact-full {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

/* No results */
.mod-hotels-simple .no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 767px) {
    .mod-hotels-simple .hotel-image {
        height: 180px;
    }
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mod-hotels-simple .hotel-item {
    animation: fadeIn 0.3s ease-out;
}

/* ================================
   UTILITIES
   ================================ */
.mod-hotels-simple .text-primary {
    color: #0d6efd !important;
}

.mod-hotels-simple .fa {
    font-family: inherit;
}

/* Simple icon replacements without FontAwesome */
.mod-hotels-simple .fa-map-marker::before { content: "📍"; }
.mod-hotels-simple .fa-phone::before { content: "📞"; }
.mod-hotels-simple .fa-envelope::before { content: "✉️"; }
.mod-hotels-simple .fa-external-link::before { content: "↗"; }
