/**
 * SevillaX Content Manager - Styles
 * Styles for all content grids (hotels, swingers, espacios, eventos)
 */

@font-face {
    font-family: 'AirbnbCereal';
    src: url('../fonts/AirbnbCereal_W_Blk.woff2') format('woff2'),
         url('../fonts/AirbnbCereal_W_Blk.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Main container - compatible with hotels-container for backward compatibility */
.content-container, .hotels-container {
    font-family: 'AirbnbCereal', 'Arial', sans-serif;
    background: #000000;
    color: #999;
    min-height: 100vh;
    padding: 40px 20px;
}

.content-container h1, 
.content-container h2, 
.content-container h3,
.hotels-container h1, 
.hotels-container h2, 
.hotels-container h3 {
    letter-spacing: -1px;
}

.content-container p,
.hotels-container p {
    letter-spacing: 0;
}

/* Hero section - compatible with hotels-hero */
.content-hero, .hotels-hero {
    text-align: center;
    margin-bottom: 60px;
}

.content-hero h1, .hotels-hero h1 {
    color: white;
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.content-hero p, .hotels-hero p {
    color: #999;
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto 30px;
}

.content-divider, .hotels-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, white, #999);
    margin: 0 auto;
}

/* Filters - compatible with hotels-filters */
.content-filters, .hotels-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #999;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'AirbnbCereal', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: white;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Grid - compatible with hotels-grid */
.content-grid, .hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

/* Cards - compatible with hotel-card */
.content-card, .hotel-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover, .hotel-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Images - compatible with hotel-image */
.content-image, .hotel-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-image,
.hotel-card:hover .hotel-image {
    transform: scale(1.05);
}

/* Card content - compatible with hotel-content */
.content-content, .hotel-content {
    padding: 25px;
}

/* Zone badges - compatible with hotel-zone */
.content-zone, .hotel-zone {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

/* Stars/type badges - compatible with hotel-stars */
.content-stars, .hotel-stars {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

/* Titles - compatible with hotel-name */
.content-name, .hotel-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Descriptions - compatible with hotel-description */
.content-description, .hotel-description {
    color: #999;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Services - compatible with hotel-services */
.content-services, .hotel-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Proximity - compatible with hotel-proximity */
.content-proximity, .hotel-proximity {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* Actions - compatible with hotel-actions */
.content-actions, .hotel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Buttons - compatible with hotel-check-btn */
.content-check-btn, .hotel-check-btn {
    background: white;
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.content-check-btn:hover, .hotel-check-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    color: #000;
}

/* Adults only badge - compatible with hotel-adults-only */
.content-adults-only, .hotel-adults-only {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 2;
}

/* Call to action - compatible with hotels-cta */
.content-cta, .hotels-cta {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.content-cta h3, .hotels-cta h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-cta p, .hotels-cta p {
    color: #999;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background: white;
    color: #000;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    color: #000;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* JavaScript filter styles */
.content-card.hidden, .hotel-card.hidden {
    display: none;
}

.filter-btn[data-filter] {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .content-container, .hotels-container {
        padding: 20px 15px;
    }

    .content-hero h1, .hotels-hero h1 {
        font-size: 3rem;
    }

    .content-filters, .hotels-filters {
        flex-direction: column;
        align-items: center;
    }

    .content-grid, .hotels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-cta, .hotels-cta {
        padding: 30px 20px;
    }

    .content-cta h3, .hotels-cta h3 {
        font-size: 2rem;
    }

    .cta-button {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .content-content, .hotel-content {
        padding: 20px;
    }

    .content-name, .hotel-name {
        font-size: 1.3rem;
    }

    .content-actions, .hotel-actions {
        flex-direction: column;
        gap: 15px;
    }
}

