/* Location Section */
.location-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height for pinning */
    overflow: hidden;
    background-color: #000;
}

.location-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Canvas for Desktop Frame Sequence */
.location-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none;
    /* Hidden by default, shown on desktop via JS */
}

/* Video for Mobile */
.location-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

/* Dark overlay for text readability */
.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.5) 75%,
        rgba(0, 0, 0, 0.75) 100%
    );
    pointer-events: none;
}

/* Content Overlay */
.location-content {
    position: absolute;
    z-index: 2;
    /* Above canvas/video */
    color: #fff;
    text-align: center;
    bottom: 10%;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s ease-out;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.location-content.visible {
    opacity: 1;
}

.location-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.location-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.location-address {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* Hide original layers if they exist in HTML but we don't use them */
.location-layer {
    display: none !important;
}

@media (max-width: 768px) {
    .location-title {
        font-size: 1.8rem;
    }
}

/* Location Button */
.location-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1F1D1D 0%, #3a3a3a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    /* Hidden by default, controlled by JS via parent .visible or specific logic */
    transform: translateY(20px);
}

.location-content.visible .location-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
    /* Appear after text */
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
