* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
}

body {
    background: linear-gradient(135deg, #a6c8f3 0%, #dfdfdf 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/background_images/skier_kneeling.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.header img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.location-card {
    background: #ffffffb8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.location-hero {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.location-icon img {
    max-height: 80px;
    max-width: 150px;
    min-width: 40px;
    min-height: 40px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.location-content {
    padding: 10px;
}

.location-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-align: center;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #666;
}

.loading-spinner {
    font-size: 3rem;
    color: #1a73e8;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-locations {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #666;
}

.no-locations h2 {
    color: #333;
    margin-bottom: 12px;
}

.mobile-search-container {
    display: block;
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.mobile-search-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.mobile-search-container input:focus {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mobile-search-container i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-hero {
        height: 200px;
    }
}

@media (max-width: 500px) {
    .header h1 {
        font-size: 1rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-hero {
        height: 50px;
    }

    .location-icon img {
        max-height: 45px;
    }
}