body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('katergo.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

.content-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

h1 {
    color: #005a9c;
    margin-top: 0;
}

h2 {
    color: #005a9c;
    border-bottom: 2px solid #005a9c;
    padding-bottom: 10px;
    margin-top: 30px;
}

#weather-info {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 20px;
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.weather-details p {
    margin: 5px 0;
    font-size: 1.1em;
}

.weather-details strong {
    color: #005a9c;
}

#beach-list {
    list-style: none;
    padding: 0;
}

.beach-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.beach-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.beach-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #f9f9f9;
}

.beach-header h3 {
    margin: 0;
    font-size: 1.4em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-icon {
    font-size: 1.6em;
    font-weight: bold;
    color: #005a9c;
}

.shelter-score {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.2);
}

.score-green { background-color: #28a745; }
.score-yellow { background-color: #ffc107; }
.score-orange { background-color: #fd7e14; }
.score-red { background-color: #dc3545; }

.beach-details {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.beach-text-content {
    flex: 1;
}

.map-embed-container {
    flex-shrink: 0;
    width: 250px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.map-embed-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.beach-item.open .beach-details {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Cleanup old styles */
.beach-visuals, .map-preview-link, .map-preview-card, .map-preview-image, .map-preview-overlay, .map-preview-text {
    display: none;
}

.map-link {
    display: inline-block;
    text-decoration: none;
    background-color: #005a9c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.map-link:hover {
    background-color: #004b80;
}

/* Language Switcher */
.lang-switcher {
    text-align: right;
    margin-bottom: 15px;
}

.lang-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #f0f0f0;
    border-color: #adadad;
}

.lang-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

footer {
    text-align: center;
} 