/* ========================= */
/* FINAL CSS – CLEAN MERGED */
/* ========================= */

/* BODY */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(rgba(10,15,20,0.8), rgba(10,15,20,0.9)),
                url('../images/bg.jpg') no-repeat center center/cover;
    color: white;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* HEADINGS */
h1, h2 {
    text-align: center;
    letter-spacing: 1px;
}

/* ========================= */
/* PACKAGES / CARDS */
/* ========================= */

.packages {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: stretch;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    text-align: center;

    border: 1px solid rgba(56,189,248,0.6);
    box-shadow: 0 0 25px rgba(56,189,248,0.4);

    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(56,189,248,0.7);
}

/* TEXT TIGHTEN */
.card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.card p {
    margin: 5px 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.card strong {
    margin-top: 10px;
    display: block;
    font-size: 1.05rem;
}

/* ========================= */
/* INPUTS */
/* ========================= */

input, textarea {
    margin-top:10px;
    padding:14px;
    border-radius:8px;
    border:none;
    width:100%;
    background: rgba(255,255,255,0.08);
    color:white;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ========================= */
/* BUTTONS */
/* ========================= */

button,
.info-btn {
    display:inline-block;
    padding:14px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color:black;
    border:none;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
    text-align:center;
    transition: 0.3s;
}

button:hover,
.info-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(56,189,248,0.6);
}

/* ========================= */
/* INFO BOX */
/* ========================= */

.info-box {
    max-width: 700px;
    margin: 25px auto;
    padding: 25px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
}

.info-box p {
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.info-highlight {
    background: rgba(30, 41, 59, 0.85);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #38bdf8;
}

.info-highlight em {
    display: block;
    margin-top: 8px;
    color: #cfe8d5;
    font-weight: 500;
}

/* ========================= */
/* MODAL */
/* ========================= */

.modal {
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    background: rgba(30,41,59,0.9);
    backdrop-filter: blur(10px);
    margin:5% auto;
    padding:25px;
    width:90%;
    max-width:700px;
    border-radius:12px;
}

.modal-text {
    max-height:400px;
    overflow-y:auto;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width:600px) {
    .packages {
        flex-direction: column;
    }

    .card {
        padding: 18px;
    }

    h1 {
        font-size: 1.5rem;
    }
}
/* ========================= */
/* MEST BOKAD – GLOW TEXT */
/* ========================= */

.popular {
    margin: 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #38bdf8;

    text-shadow: 0 0 8px rgba(56,189,248,0.8),
                 0 0 15px rgba(56,189,248,0.6);
}
/* ========================= */
/* CLICKABLE RADIO CARDS */
/* ========================= */

.choice-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.choice-card {
    flex: 1;
    min-width: 200px;
    cursor: pointer;
}

/* Dölj original radio */
.choice-card input {
    display: none;
}

/* Box design */
.choice-content {
    padding: 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover */
.choice-card:hover .choice-content {
    border: 1px solid #38bdf8;
    box-shadow: 0 0 15px rgba(56,189,248,0.4);
}

/* VALD (🔥 viktig) */
.choice-card input:checked + .choice-content {
    border: 2px solid #38bdf8;
    box-shadow: 0 0 25px rgba(56,189,248,0.7);
    transform: scale(1.02);
}
/* ========================= */
/* SMALL CHOICE CARDS */
/* ========================= */

.choice-group {
    justify-content: center;
}

.choice-card {
    flex: unset;
    width: 140px; /* 🔥 storleken */
}

.choice-content {
    padding: 12px; /* mindre padding */
}

/* Text */
.choice-content h3 {
    margin: 0;
    font-size: 1rem;
}
/* Dölj "Mest bokad" bara i val-boxarna */
.choice-group .popular {
    display: none;
}
/* ========================= */
/* PERFECT BUTTONS */
/* ========================= */

button,
.info-btn {
    display: flex;                 /* 🔥 viktig */
    align-items: center;           /* vertikal centrering */
    justify-content: center;       /* horisontell centrering */

    height: 50px;                  /* 🔥 samma höjd */

    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: black;
    border: none;
    border-radius: 8px;

    font-weight: 600;
    text-decoration: none;
    cursor: pointer;

    transition: all 0.3s ease;
}

/* Hover */
button:hover,
.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56,189,248,0.6);
}
.button-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* ========================= */
/* TERMS – FIX */
/* ========================= */

.terms-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-label input {
    transform: scale(1.2);
}

.terms-label span {
    display: inline;
}
/* Tvinga exakt lika stora knappar */
.button-row > * {
    flex: 1;
    max-width: 180px;
}

/* Säkerställ att <a> beter sig som knapp */
.info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ========================= */
/* FINAL BUTTON FIX */
/* ========================= */

.button-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
    max-width: 600px;
}

/* ALLA knappar lika */
.button-row button,
.button-row a {
    flex: 1 1 0;
    max-width: 180px;
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

/* Fix för button */
.button-row button {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}
.terms-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terms-label span {
    display: inline;
}

.terms-label a {
    margin-left: 4px;
}
/* ========================= */
/* BOTTOM ROW LAYOUT */
/* ========================= */

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap; /* mobil */
}

/* vänster sida */
.terms-box {
    display: flex;
    align-items: center;
}

/* checkbox + text */
.terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-label input {
    transform: scale(1.2);
}

/* höger sida */
.button-row {
    display: flex;
    gap: 12px;
}

.credit {
    position: fixed;
    bottom: 15px;
    left: 20px;

    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);

    transition: 0.3s;
}

.credit:hover {
    color: rgba(255,255,255,0.9);
}
.overlay {
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
}