@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --rose:    #c0748b;
    --mauve:   #8b4d6d;
    --light:   #fdf6f9;
    --blush:   #f0d6e0;
    --text:    #3a3030;
    --muted:   #887080;
    --white:   #ffffff;
    --border:  #e8ccd6;
    --success: #6aaa7e;
    --danger:  #d96060;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--light);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

/* NAV */
nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(192,116,139,0.08);
}
.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--mauve);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--blush);
    color: var(--mauve);
}
.nav-links .btn-nav {
    background: var(--rose);
    color: var(--white) !important;
    font-weight: 700;
}
.nav-links .btn-nav:hover { background: var(--mauve); }

/* HERO */
.hero {
    background-image: url('https://nexoe.dk/mayanegle/img/haender.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30,10,20,0.30) 0%, rgba(50,15,35,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero::before {
    content: '✦ ✦ ✦';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--rose);
    opacity: 0.3;
    font-size: 1.2rem;
    letter-spacing: 20px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero h1 span { display: block; font-size: 1.5rem; font-weight: 400; color: var(--blush); }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 30px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.hero .btn { display: inline-block; margin: 6px; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
    font-family: 'Lato', sans-serif;
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--mauve); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--rose); border: 2px solid var(--rose); }
.btn-outline:hover { background: var(--rose); color: var(--white); }
.btn-small { padding: 7px 18px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }

/* CONTAINER */
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--mauve);
    margin-bottom: 8px;
    text-align: center;
}
.section-subtitle { text-align: center; color: var(--muted); margin-bottom: 40px; }

/* HOURS + INFO */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}
.info-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--mauve);
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--blush);
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5eef2;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--muted); }
.hours-row .time { font-weight: 700; color: var(--text); }
.hours-row .closed { color: var(--danger); font-weight: 400; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5eef2;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { color: var(--rose); }
.contact-icon { font-size: 1.2rem; width: 24px; text-align: center; }

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    transition: all .2s;
    position: relative;
}
.service-card:hover {
    border-color: var(--rose);
    box-shadow: 0 4px 20px rgba(192,116,139,0.12);
    transform: translateY(-2px);
}
.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--mauve);
    margin-bottom: 6px;
    line-height: 1.3;
}
.service-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; font-style: italic; }
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--blush);
}
.service-price { font-size: 1.15rem; font-weight: 700; color: var(--rose); }
.service-duration { font-size: 0.85rem; color: var(--muted); }

/* BOOKING WIZARD */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--muted);
}
.step.active { color: var(--rose); font-weight: 700; }
.step.done { color: var(--success); }
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step.active .step-num { background: var(--rose); color: var(--white); }
.step.done .step-num { background: var(--success); color: var(--white); }
.step-divider { width: 30px; height: 1px; background: var(--border); align-self: center; }

/* CALENDAR */
.calendar-wrap { max-width: 380px; margin: 0 auto 30px; }
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 10px;
}
.calendar-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--mauve);
    font-size: 1.1rem;
}
.cal-nav { background: none; border: none; cursor: pointer; font-size: 1.3rem; color: var(--rose); padding: 4px 8px; border-radius: 8px; }
.cal-nav:hover { background: var(--blush); }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-day-name {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 700;
    padding: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cal-day {
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all .15s;
    border: 1px solid transparent;
}
.cal-day.empty { cursor: default; }
.cal-day.closed { color: #ccc; cursor: not-allowed; }
.cal-day.past { color: #ccc; cursor: not-allowed; }
.cal-day.fully-booked { color: #bbb; cursor: not-allowed; text-decoration: line-through; }
.cal-day.available:hover { background: var(--blush); border-color: var(--rose); }
.cal-day.selected { background: var(--rose); color: var(--white); border-color: var(--rose); font-weight: 700; }
.cal-day.today { border-color: var(--rose); color: var(--rose); font-weight: 700; }

/* TIME SLOTS */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}
.slot {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all .15s;
    background: var(--white);
}
.slot:hover { border-color: var(--rose); background: var(--blush); }
.slot.selected { background: var(--rose); color: var(--white); border-color: var(--rose); font-weight: 700; }

/* FORMS */
.form-wrap {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
}
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--mauve);
    margin-bottom: 24px;
    text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--light);
    transition: border .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--rose);
    background: var(--white);
}
.form-footer { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.form-footer a { color: var(--rose); text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }

/* ALERTS */
.alert {
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.alert-success { background: #e8f5ec; color: #3a7a50; border: 1px solid #b8dfc5; }
.alert-error   { background: #fdecea; color: #a03030; border: 1px solid #f5b8b8; }

/* BOOKING SUMMARY BOX */
.summary-box {
    background: var(--blush);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.summary-box .summary-label { color: var(--muted); }
.summary-box .summary-value { font-weight: 700; color: var(--mauve); }

/* MY BOOKINGS TABLE */
.bookings-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; }
.bookings-table th {
    background: var(--blush);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--mauve);
}
.bookings-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.bookings-table tr:hover td { background: #fdf0f4; }
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-pending  { background: #fff3cd; color: #856404; }
.badge-confirmed{ background: #d1e7dd; color: #155724; }
.badge-cancelled{ background: #f8d7da; color: #721c24; }

/* ADMIN */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width:640px){ .admin-grid { grid-template-columns: 1fr; } }

/* MAP */
.map-outer { margin-top: 30px; }
.map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.map-wrap iframe { display: block; width: 100%; height: 320px; border: none; }

/* FOOTER */
footer {
    background: var(--mauve);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    margin-top: 60px;
}
footer strong { color: var(--white); }

/* HAMBURGER */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    color: var(--mauve);
    font-size: 1.6rem;
    line-height: 1;
    border-radius: 8px;
}
.nav-toggle:hover { background: var(--blush); }

/* RESPONSIVE */
@media(max-width:640px){
    .hero h1 { font-size: 2.2rem; }
    .form-wrap { padding: 24px 20px; }
    .bookings-table th:nth-child(3), .bookings-table td:nth-child(3) { display: none; }

    .nav-toggle { display: block; order: 1; }
    .nav-inner { flex-wrap: wrap; }
    .nav-links {
        display: none;
        flex-direction: column;
        order: 2;
        width: 100%;
        border-top: 1px solid var(--border);
        padding: 8px 0 12px;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block !important; padding: 10px 4px; border-radius: 8px; }
    .nav-links .btn-nav { margin-top: 8px; text-align: center; display: block !important; }
}

/* BOOK PAGE LAYOUT */
.book-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media(max-width:700px){ .book-layout { grid-template-columns: 1fr; } }
.book-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
}
.book-panel h3 {
    font-family: 'Playfair Display', serif;
    color: var(--mauve);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.service-select-list { list-style: none; }
.service-select-list li {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service-select-list li:hover { border-color: var(--rose); background: #fdf6f9; }
.service-select-list li.selected { border-color: var(--rose); background: var(--blush); }
.service-select-list .s-name { font-size: 0.9rem; color: var(--text); }
.service-select-list .s-price { font-weight: 700; color: var(--rose); font-size: 0.9rem; }
.service-select-list .s-dur { font-size: 0.78rem; color: var(--muted); }

.hidden { display: none !important; }
