/* components/cards.css - Karten-Komponenten Styles */
.home-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card-image {
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.home-card:hover .card-image img {
    transform: scale(1.05);
}

.card-title {
    padding: 15px;
    font-weight: bold;
    color: #0066cc;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.9);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
}

.card-title:hover {
    background: #0066cc;
    color: white;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    z-index: 5;
}

.image-overlay span {
    color: white;
    font-size: 24px;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 30px;
}

.card-image:hover .image-overlay {
    opacity: 1;
}

/* LOCATION STYLES */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.location-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.location-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.location-image img,
.location-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
}

.play-btn::after {
    content: "▶";
    font-size: 24px;
    color: white;
    margin-left: 5px;
}

.location-info {
    padding: 15px;
}

.location-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.location-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.details-button {
    background: #0066cc;
    color: white;
}

.details-button:hover {
    background: #0056b3;
}

.add-button {
    background: #28a745;
    color: white;
}

.add-button:hover {
    background: #218838;
}

/* LOCATION FACTS */
.location-facts {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.location-facts ul {
    padding-left: 20px;
    margin-top: 5px;
}

.location-facts li {
    margin-bottom: 3px;
}