/* Aurora Sauna Cards Shortcode Styles */
/* Version: 1.4 */

.aurora-cards-wrapper {
    margin: 20px 0;
}

/* Location button section */
.aurora-cards-wrapper .aurora-cards-location-section {
    text-align: center;
    margin-bottom: 25px;
}

.aurora-cards-wrapper .aurora-location-btn {
    background: #26767F;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(38, 118, 127, 0.3);
}

.aurora-cards-wrapper .aurora-location-btn:hover {
    background: #1e5a61;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 118, 127, 0.4);
}

.aurora-cards-wrapper .aurora-location-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aurora-cards-wrapper .aurora-location-btn svg {
    width: 16px;
    height: 16px;
}

/* Cards container */
.aurora-cards-wrapper .aurora-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 0;
}

/* Individual card */
.aurora-cards-wrapper .aurora-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.aurora-cards-wrapper .aurora-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Card background image */
.aurora-cards-wrapper .aurora-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
}

.aurora-cards-wrapper .aurora-card:hover .aurora-card-bg {
    transform: scale(1.05);
}

/* Card overlay for better text readability */
.aurora-cards-wrapper .aurora-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Card content */
.aurora-cards-wrapper .aurora-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
    z-index: 2;
}

/* Sauna title */
.aurora-cards-wrapper .aurora-card-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

/* Card info (capacity and distance) */
.aurora-cards-wrapper .aurora-card-info {
    margin-bottom: 20px;
}

.aurora-cards-wrapper .aurora-card-capacity,
.aurora-cards-wrapper .aurora-card-distance {
    font-size: 16px;
    font-weight: 500;
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Book button */
.aurora-cards-wrapper .aurora-card-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #26767F;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.aurora-cards-wrapper .aurora-card-btn:hover {
    background: #26767F;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.aurora-cards-wrapper .aurora-card-btn.disabled {
    background: rgba(156, 163, 175, 0.9);
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
}

.aurora-cards-wrapper .aurora-card-btn.disabled:hover {
    background: rgba(156, 163, 175, 0.9);
    color: rgba(255, 255, 255, 0.8);
    transform: none;
    box-shadow: none;
}

/* Loading state */
.aurora-cards-wrapper .aurora-cards-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

/* No results state */
.aurora-cards-wrapper .aurora-cards-empty {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
    background: #f9f9f9;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

/* Mobile responsive - scoped to shortcode */
@media (max-width: 768px) {
    .aurora-cards-wrapper .aurora-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aurora-cards-wrapper .aurora-card {
        height: 280px;
    }
    
    .aurora-cards-wrapper .aurora-card-title {
        font-size: 24px;
    }
    
    .aurora-cards-wrapper .aurora-card-capacity,
    .aurora-cards-wrapper .aurora-card-distance {
        font-size: 14px;
    }
    
    .aurora-cards-wrapper .aurora-card-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .aurora-cards-wrapper .aurora-card-content {
        padding: 20px;
    }
    
    .aurora-cards-wrapper .aurora-location-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Tablet responsive - scoped to shortcode */
@media (max-width: 1024px) and (min-width: 769px) {
    .aurora-cards-wrapper .aurora-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens - scoped to shortcode */
@media (min-width: 1200px) {
    .aurora-cards-wrapper .aurora-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
} 