body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #7ec8e3, #e8f7ff);
    color: #123;
    text-align: center;
    margin: 0;
    padding: 0px;
    min-height: 100vh;
}

h1 {
    font-size: 42px;
    color: #064663;
    margin-bottom: 10px;
}

p {
    font-size: 18px;
}

select {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #064663;
    background-color: white;
}

button {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background-color: #0077b6;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background-color: #023e8a;
    transform: scale(1.05);
}

hr {
    margin: 30px auto;
    width: 60%;
    border: 1px solid #90e0ef;
}

#results {
    background-color: white;
    width: 90%;
    max-width: 1400px;
    box-sizing: border-box;
    margin: 30px auto;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#results h2 {
    color: #0077b6;
}

h3 {
    color: #2035f2;
    font-size: 18px;
}

nav {
    font-size: 30px;
    color: #00429e;
    font-weight: bold;
    padding: 10px 20px;
}

.links a {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 20px;
    border: none;
    border-radius: 12px;
    background-color: #0077b6;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.links a:hover {
    color: #679ee7;
}

.logo {
    font-size: 48px;
    font-weight: bold;
}

.day-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 25px 0;
}

.day-button {
    padding: 12px 18px;
    border: none;
    border-radius: 20px;
    background-color: #8dc0ef;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.day-button:hover {
    background-color: #86a1b6;
}

.active-day {
    background-color: #0077cc;
    color: white;
}

.forecast-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.forecast-card {
    background-color: white;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.forecast-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.surf-score {
    font-size: 24px;
    font-weight: bold;
    margin: 6px 0;
}

.rating-text {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.forecast-card p {
    font-size: 13px;
    line-height: 1.3;
    margin: 4px 0;
}

.spot-of-day-section {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
}

.spot-of-day-section > h2 {
    color: #064663;
    font-size: 32px;
    margin-bottom: 5px;
}

.spot-of-day-section > p {
    margin-top: 0;
    color: #456774;
}

.spot-of-day-card {
    background-color: white;
    margin-top: 20px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.spot-of-day-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.spot-of-day-card h3 {
    color: #064663;
    font-size: 30px;
    margin: 5px 0 0;
}

.spot-of-day-score {
    color: #0077b6;
    font-size: 38px;
    font-weight: bold;
}

.spot-of-day-score small {
    font-size: 16px;
}

.spot-of-day-time {
    background-color: #e8f7ff;
    color: #064663;
    padding: 12px;
    border-radius: 10px;
    font-size: 20px;
}

.spot-of-day-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.spot-of-day-details p {
    background-color: #f4faff;
    border-radius: 10px;
    padding: 12px 8px;
    font-size: 15px;
    margin: 0;
}

.spot-of-day-details strong {
    display: block;
    color: #0077b6;
    margin-bottom: 4px;
}

.spot-of-day-weather {
    color: #456774;
    font-size: 16px;
}

@media (max-width: 900px) {
    #results {
        width: 92%;
        padding: 20px;
    }

    .forecast-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .forecast-card {
        padding: 16px;
    }

    .spot-of-day-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #results {
        width: 94%;
        padding: 15px;
    }

    .spot-of-day-card {
        padding: 18px;
    }

    .spot-of-day-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .spot-of-day-details {
        grid-template-columns: 1fr;
    }
}