/* ---------- Starter Packs Page ---------- */

/* Keep global font & background from style.css */
body {
    background-color: #fefefe;
}

/* Keep global header look but slightly adapt for subpage */
header.starter-header {
    background: #264653;
    color: #fff;
    text-align: center;
    padding: 80px 20px 60px;
}

header.starter-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

header.starter-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #e0f7f4;
}

/* ---------- Pack Cards ---------- */
.packs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pack-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    flex: 1 1 280px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pack-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.pack-card h3 {
    color: #264653;
    margin: 10px 0;
}

.pack-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.pack-card .btn {
    background: #2a9d8f;
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.pack-card .btn:hover {
    background: #21867a;
}

/* ---------- Modal (Form) ---------- */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    top: 12px;
    right: 18px;
    cursor: pointer;
    font-size: 1.3rem;
    color: #264653;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
select {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.modal .btn {
    width: 100%;
    background: #2a9d8f;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
}

.modal .btn:hover {
    background: #21867a;
}