/* Øyafestivalen-inspired vibrant color palette */
:root {
    --deep-green: #1e3932;
    --bright-yellow: #ffe600;
    --coral-orange: #ff6f3c;
    --black: #181818;
    --white: #fff;
    --background: #fff;
    --text: #181818;
    --header-gradient: linear-gradient(120deg, #ffe600 0%, #e874ee 100%);
}

html {
    font-size: 18px;
    font-family: 'Poppins', 'Montserrat', 'Segoe UI', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

body {
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    align-items: center;
    background: var(--header-gradient);
    color: var(--white);
    padding: 1.5rem 1rem 1rem 1rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
    box-shadow: 0 4px 24px rgba(30, 57, 50, 0.12);
}

.logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 8px #ff6f3c33);
}

h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

.header h1 {
    display: inline-block;
    background: #fff;
    color: var(--deep-green);
    padding: 0.4rem 1.2rem;
    border-radius: 1.2rem;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: 2px solid var(--coral-orange);
    box-shadow: 0 2px 8px #1e393222;
    margin: 0;
    vertical-align: middle;
}

.festival-dates {
    text-wrap: nowrap;
    display: inline-block;
    margin-left: 0.7rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--deep-green);
    background: #fff;
    border-radius: 1rem;
    padding: 0.15rem 0.5rem;
    border: 1.5px solid var(--coral-orange);
    vertical-align: middle;
    box-shadow: 0 1px 4px #1e393211;
}

.welcome {
    padding: 2.5rem 1rem 1rem 1rem;
    text-align: center;
}

.welcome h2 {
    margin-top: 0;
    color: var(--coral-orange);
    font-size: 1.5rem;
    font-weight: 700;
}

.button {
    display: inline-block;
    background: var(--bright-yellow);
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px #ff6f3c22;
    border: 2px solid var(--coral-orange);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.button:hover {
    background: var(--coral-orange);
    color: var(--white);
    box-shadow: 0 6px 24px #ff6f3c44;
}

.back {
    color: var(--white);
    text-decoration: none;
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.back.black {
    color: var(--black);
    margin-left: 0.5rem;
}

.program-list {
    padding: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5rem;
}

.event {
    background: var(--white);
    border-left: 8px solid var(--coral-orange);
    margin-bottom: 2rem;
    padding: 1.2rem 1rem 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px #1e393222;
    position: relative;
    transition: box-shadow 0.2s;
}

.event:hover {
    box-shadow: 0 8px 32px #ff6f3c33;
}

.event time {
    font-weight: bold;
    color: var(--deep-green);
    font-size: 1.1rem;
}

.event h2 {
    margin: 0.2rem 0 0.2rem 0;
    font-size: 1.2rem;
    color: var(--coral-orange);
    font-weight: 700;
}

.event .location {
    font-size: 1rem;
    color: var(--deep-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.carousel-section {
    margin: 1.5rem 0 0 0;
    text-align: center;
}

.carousel-section h3 {
    color: var(--coral-orange);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    max-width: 100vw;
    margin: 0 auto;
}

.carousel-btn {
    background: var(--bright-yellow);
    border: 2px solid var(--coral-orange);
    border-radius: 50%;
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.7rem;
    color: var(--coral-orange);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px #ff6f3c22;
}

.carousel-btn:hover {
    background: var(--coral-orange);
    color: var(--white);
    box-shadow: 0 4px 16px #ff6f3c44;
}

/* Add vibrant background colors for program events */
.event.event1 {
    border-left-color: #ffe600;
}

.event.event2 {
    border-left-color: #ff6f3c;
}

.event.event3 {
    border-left-color: #1e3932;
}

.event.event4 {
    border-left-color: #ffb3b3;
}

.event:last-child {
    margin-bottom: 0px;
}

/* Make carousel bigger */
.carousel-images {
    width: 100vw;
    max-width: 100vw;
    height: 65vw;
    max-height: 480px;
    min-height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px #1e393244;
    background: var(--white);
    display: flex;
}

.carousel-image {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 1.5rem;
}

.carousel-image.active {
    opacity: 1;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    color: #181818;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px #1e393222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    opacity: 0.92;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-btn:hover {
    background: #181818;
    color: #ffe600;
    opacity: 1;
}

@media (min-width: 600px) {
    .carousel {
        max-width: 900px;
    }

    .carousel-images {
        width: 700px;
        height: 420px;
        max-width: 100%;
        min-height: unset;
    }
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&family=Montserrat:wght@700;800&display=swap');

.map-section {
    margin: 0;
    text-align: center;
}

.weather-section {
    text-align: center;
    margin-bottom: 10rem;
}

.water-temp-box {
    margin: 1rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 4px 16px #1e393244;
    max-height: 200px;
    max-width: 200px;
}


.welcome p {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.weather-embed {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 6px #1e393244;
}

h3 {
    color: var(--coral-orange);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.map-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 6px #1e393244;
}

.map-container iframe {
    width: 100%;
    height: 55vw;
    min-height: 300px;
    max-height: 450px;
    border: 0;
    display: block;
}

@media (min-width: 700px) {
    .map-container iframe {
        height: 450px;
    }
}

.button-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.map-display {
    padding: 1rem;
    text-align: center;
    margin: 0 auto;
}

.festival-map-container {
    margin: 1rem 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 6px #1e393244;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.festival-map {
    width: 100%;
    height: 100vh;
    max-height: 80vh;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .festival-map-container {
        margin: 2rem 0;
        border-radius: 1.5rem;
        width: 100%;
        margin-left: 0;
    }

    .festival-map {
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

.upload-form {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.upload-label {
    background: var(--bright-yellow);
    color: var(--black);
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 900;
    font-size: 1.1rem;
    border: 2px solid var(--coral-orange);
    box-shadow: 0 4px 16px #ff6f3c22;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
    display: inline-block;
}

.upload-label:hover {
    background: var(--coral-orange);
    color: var(--white);
    box-shadow: 0 6px 24px #ff6f3c44;
}

.upload-green {
    background-color: #2ecc40 !important;
    color: #fff !important;
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 25px;
    border: 3px solid #1D2B44;
    padding: 15px 30px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.2s;
}

.upload-green:hover,
.upload-green:focus {
    background-color: #27ae38 !important;
}

.packing-list-section {
    padding: 1rem 1.5rem 2rem 1.5rem;
    max-width: 480px;
    text-align: center;
    position: relative;
}


.pack-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 20px;
}