/* Styling for Locations Page */

.locations-section {
    padding: 120px 0 80px;
    background-color: var(--black);
    min-height: 100vh;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.location-card {
    background-color: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.location-image-container {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Icon as fallback background */
.location-image-container::before {
    content: '\f3c5';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
    position: absolute;
    z-index: 0;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    display: block;
    transition: transform 0.4s ease;
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.location-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.location-address {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-address i {
    color: var(--gold);
    margin-top: 5px;
}

.geo-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.geo-btn:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.location-card:nth-child(1) {
    animation-delay: 0.1s;
}

.location-card:nth-child(2) {
    animation-delay: 0.2s;
}

.location-card:nth-child(3) {
    animation-delay: 0.3s;
}

.location-card:nth-child(4) {
    animation-delay: 0.4s;
}

.location-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}