* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #2c3e50;
}

header {
    background: #3498db;
    padding: 2rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: white;
}

#title-link {
    color: white;
    text-decoration: none;
}

#search {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 90%;
    max-width: 300px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

#search:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Responsiv iframe-container */
.map-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 2rem auto;
    max-width: 640px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Høyere på større skjermer */
@media (min-width: 768px) {
    .map-container {
        height: 420px;
    }
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

button {
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border: none;
    border-radius: 8px;
    background: #3498db;
    color: white;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.review {
    background: white;
    padding: 1.5rem;
    margin: 0.8rem 0;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid #3498db;
}

.review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.review h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.button {
    background: #3498db;
    color: white;
    padding: 1.2rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.8rem;
    width: 90%;
    max-width: 280px;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.4rem;
}

.button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.button-text {
    font-weight: 600;
    font-size: 1rem;
}

.button-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    margin: 1.5rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    line-height: 1.6;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: #3498db;
    color: white;
    border-top: none;
    font-size: 0.9rem;
}

.confetti-button {
    width: min(100%, 430px);
    max-width: 430px;
    white-space: normal;
    line-height: 1.45;
    padding: 1rem 1.2rem;
    background: #3498db;
    border: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.confetti-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}
