/**
 * Room Tours Styles
 * Spezielle Styles für die 360° Room Tours Seite
 */

/* Room Tours: 2x2 Grid mit gleich großen Kacheln (überschreibt masonry column-flow) */
.tour-grid {
    column-count: unset !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--spacing-lg);
    column-gap: var(--spacing-lg) !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tour Cards */
.tour-card {
    position: relative;
    overflow: hidden;
    cursor: default;
    background: var(--secondary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s, box-shadow 0.4s;
    margin-bottom: 0;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.tour-grid .tour-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.tour-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.tour-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Tour Overlay */
.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.tour-title {
    color: white;
    font-size: 32px;
    letter-spacing: -0.5px;
    font-weight: 500;
}

.tour-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Tour Button */
.tour-button {
    padding: 14px 36px;
    background: white;
    color: var(--primary-color);
    border: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-primary);
}

.tour-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.tour-button[disabled],
.tour-button:disabled {
    cursor: default;
    opacity: 0.85;
    pointer-events: none;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .tour-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .tour-title {
        font-size: 24px;
    }

    .tour-button {
        padding: 12px 24px;
        font-size: 12px;
    }
}
