/* Villa Linné — designsystem. Extraherad från index.html. */
:root {
    --stone-50: #faf7f2;
    --stone-100: #f4ede2;
    --stone-200: #e8ded0;
    --stone-800: #2c2520;
    --stone-900: #1a1613;
    
    --gold-400: #d4a86a;
    --gold-500: #b8904a;
    --gold-600: #967234;
    
    --sea-500: #1b657d;
    --sea-600: #144e61;
    --sea-900: #0a2630;
    
    --success: #2e7d32;
    --danger: #c62828;
    
    --ff-serif: 'Cormorant Garamond', Georgia, serif;
    --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 22, 19, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 22, 19, 0.08);
    --shadow-lg: 0 16px 48px rgba(26, 22, 19, 0.12);
}

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

body {
    font-family: var(--ff-sans);
    background: var(--stone-50);
    color: var(--stone-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── FLYTANDE VY-VÄXLARE ── */
.proto-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 22, 19, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 106, 0.3);
    color: #fff;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.proto-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-400);
    font-weight: 600;
}

.proto-pill {
    background: rgba(212, 168, 106, 0.15);
    border: 1px solid var(--gold-400);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.view-switcher {
    display: flex;
    background: rgba(255,255,255,0.08);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    gap: 4px;
}

.view-btn {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.view-btn.active {
    background: var(--gold-500);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(184, 144, 74, 0.4);
}

.badge-count {
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

/* ── SEKTIONSHANTERING MELLAN VYER ── */
.view-container {
    display: none;
}
.view-container.active {
    display: block;
}

/* ══════════════════════════════════════════════
   GÄSTVY (MODERN BOUTIQUE RESORT)
══════════════════════════════════════════════ */
.wrap {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--stone-200);
}

.nav-logo h1 {
    font-family: var(--ff-serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1;
}

.nav-logo span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-600);
    display: block;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.nav-menu a {
    transition: color 0.2s;
}
.nav-menu a:hover {
    color: var(--gold-600);
}

.btn-book-nav {
    background: var(--stone-900);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.2s;
}
.btn-book-nav:hover {
    background: var(--gold-500);
}

/* Hero */
.hero-resort {
    position: relative;
    height: 75vh;
    min-height: 520px;
    border-radius: 16px;
    margin: 20px auto;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 48px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity .6s ease, transform 8s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,38,48,0.1) 0%, rgba(10,38,48,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-400);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--ff-serif);
    font-size: 52px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--gold-500);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--gold-600);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* Snabbfakta Strip */
.fact-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px auto;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--stone-200);
    box-shadow: var(--shadow-sm);
}

.fact-item h3 {
    font-family: var(--ff-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--sea-600);
    margin-bottom: 4px;
}

.fact-item p {
    font-size: 13px;
    color: #666;
}

/* Boenden Sektion */
.section-title {
    font-family: var(--ff-serif);
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 12px;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

.units-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.unit-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--stone-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.unit-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.unit-thumb {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.unit-type-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(26, 22, 19, 0.85);
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.unit-body {
    padding: 24px;
}

.unit-body h4 {
    font-family: var(--ff-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.unit-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.unit-specs {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #777;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stone-200);
    margin-bottom: 16px;
}

.unit-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-price {
    font-size: 13px;
    color: #777;
}

.unit-price strong {
    font-size: 20px;
    color: var(--stone-900);
}

.btn-select-unit {
    background: var(--stone-100);
    color: var(--stone-900);
    border: 1px solid var(--stone-200);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-select-unit:hover {
    background: var(--gold-500);
    color: #fff;
    border-color: var(--gold-500);
}

/* Bokningskalender (Gäst) */
.booking-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--stone-200);
    padding: 36px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cal-month-name {
    font-family: var(--ff-serif);
    font-size: 24px;
    font-weight: 500;
}

.cal-nav-btn {
    background: var(--stone-100);
    border: 1px solid var(--stone-200);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.cal-col-head {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    padding-bottom: 8px;
}

.cal-date-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    border: 1px solid transparent;
}

.cal-date-cell.available {
    background: #ffffff;
    color: #1a3a2a;
    font-weight: 600;
    border: 1.5px solid #bfe0c8;
    box-shadow: inset 0 -2px 0 #d4eeda;
}
.cal-date-cell.available:hover {
    background: #2e7d4f;
    border-color: #2e7d4f;
    color: #fff;
    transform: scale(1.06);
}

.cal-date-cell.booked {
    background: #4a4a4a;
    color: #cfcfcf;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 400;
    border: 1.5px solid #333;
    opacity: 1;
}

/* Feedback efter bokningsförfrågan */
.guest-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}
.guest-result.ok {
    background: #e7f5ec;
    border: 1.5px solid #2e7d4f;
    color: #1b5e3a;
}
.guest-result.err {
    background: #fdecea;
    border: 1.5px solid #b71c1c;
    color: #8e1616;
}

/* Passerade datum: gråa, ej klickbara */
.cal-date-cell.past {
    background: transparent;
    color: #b9b4ad;
    cursor: default;
    font-weight: 400;
    border: 1px dashed #ddd8d0;
}

/* Ett sammanhängande intervall — alla valda dagar samma guld */
.cal-date-cell.selected,
.cal-date-cell.in-range {
    background: #d4a86a !important;
    color: #1a1613 !important;
    font-weight: 700;
    border: 1.5px solid #b8904a;
}
.cal-date-cell.range-start { border-radius: 8px 0 0 8px; box-shadow: inset 3px 0 0 #8a6530; }
.cal-date-cell.range-end { border-radius: 0 8px 8px 0; box-shadow: inset -3px 0 0 #8a6530; }
.cal-date-cell.range-start.range-end { border-radius: 8px; box-shadow: 0 0 0 3px #8a6530; }

.booking-form-box {
    background: var(--stone-50);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--stone-200);
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--stone-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 16px;
    background: #fff;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold-500);
}

.booking-summary-strip {
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    border: 1px dashed var(--gold-500);
    margin-bottom: 16px;
    font-size: 13px;
}

/* ══════════════════════════════════════════════
   PAPPAS ADMINLÄGE (84 ÅR — EXTRA ENKELT)
══════════════════════════════════════════════ */
.admin-container {
    padding: 30px 0 60px;
    background: #f2ede4;
    min-height: 85vh;
}

.admin-header-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 36px;
    margin-bottom: 30px;
    border: 2px solid #e0d5c3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.admin-title-area h2 {
    font-family: var(--ff-serif);
    font-size: 38px;
    color: #1a1613;
    margin-bottom: 4px;
}

.admin-title-area p {
    font-size: 18px;
    color: #665b50;
}

.admin-quick-stats {
    display: flex;
    gap: 20px;
}

.stat-bubble {
    background: #fff8e1;
    border: 2px solid var(--gold-400);
    padding: 14px 22px;
    border-radius: 12px;
    text-align: center;
}

.stat-bubble .num {
    font-size: 36px;
    font-weight: 700;
    color: #b78103;
    line-height: 1;
}

.stat-bubble .lbl {
    font-size: 14px;
    font-weight: 600;
    color: #5d4037;
    margin-top: 4px;
}

/* Bokningsförfrågningar för Mate */
.admin-inbox-title {
    font-family: var(--ff-serif);
    font-size: 30px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-card {
    background: #fff;
    border-radius: 16px;
    border: 3px solid #d4c4af;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: border-color 0.2s;
}

.admin-card.confirmed {
    border-color: #2e7d32;
    background: #f1f8e9;
}

.admin-card.declined {
    border-color: #c62828;
    background: #ffebee;
    opacity: 0.7;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #f0e6d6;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.guest-info h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1613;
    margin-bottom: 6px;
}

.guest-details {
    display: flex;
    gap: 20px;
    font-size: 18px;
    color: #555;
}

.guest-phone {
    color: var(--sea-600);
    font-weight: 600;
}

.unit-tag-admin {
    background: #1a1613;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
}

.admin-card-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: center;
}

.stay-info {
    font-size: 20px;
    line-height: 1.5;
}

.stay-dates {
    font-weight: 700;
    color: #b78103;
    font-size: 24px;
    display: block;
    margin-bottom: 6px;
}

/* Stora, tydliga åtgärdsknappar för pappa 84 år */
.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-admin-accept {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    transition: transform 0.1s, background 0.2s;
}
.btn-admin-accept:hover {
    background: #1b5e20;
    transform: scale(1.02);
}

.btn-admin-decline {
    background: #f5f5f5;
    color: #c62828;
    border: 2px solid #ffcdd2;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.btn-admin-decline:hover {
    background: #ffebee;
}

.status-badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
}
.status-badge-admin.confirmed {
    background: #2e7d32;
    color: white;
}
.status-badge-admin.declined {
    background: #c62828;
    color: white;
}

/* Snabbspärra datum formulär */
.quick-block-card {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #e0d5c3;
    padding: 24px;
    margin-top: 40px;
}

.quick-block-card h4 {
    font-family: var(--ff-serif);
    font-size: 26px;
    margin-bottom: 12px;
}

.quick-block-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 180px;
    gap: 16px;
    align-items: flex-end;
}

.btn-block-dates {
    background: var(--stone-900);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    height: 48px;
}
.btn-block-dates:hover {
    background: #000;
}

/* Footer */
.site-footer {
    background: var(--stone-900);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
    font-size: 13px;
    margin-top: 60px;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.vis-section .section-title { text-align: center; }
.vis-section .section-sub { text-align: center; max-width: 720px; margin: 0 auto 40px; color: #666; line-height: 1.7; }
.vis-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.vis-quote { background: #fff; border-left: 3px solid var(--gold-500); padding: 24px 28px; margin: 0; border-radius: 0 10px 10px 0; box-shadow: var(--shadow-sm); }
.vis-quote p { font-family: var(--ff-serif); font-size: 17px; line-height: 1.7; color: var(--stone-800); margin: 0 0 12px; font-style: italic; }
.vis-quote cite { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); font-style: normal; font-weight: 600; }
.vis-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.vis-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; transition: transform .3s ease; }
.vis-gallery img:hover { transform: scale(1.02); }
@media (max-width: 768px) {
    .vis-quotes { grid-template-columns: 1fr; }
    .vis-gallery { grid-template-columns: 1fr 1fr; }
    .vis-gallery img { height: 150px; }
}
.guest-review { display: flex; justify-content: center; }
.review-block { max-width: 760px; text-align: center; padding: 48px 32px; background: linear-gradient(135deg, var(--sea-900), var(--sea-600)); color: #fff; border-radius: 16px; margin: 0; box-shadow: var(--shadow-lg); }
.review-block p { font-family: var(--ff-serif); font-size: 22px; line-height: 1.6; font-style: italic; margin: 0 0 16px; }
.review-block cite { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); font-style: normal; font-weight: 600; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--stone-200); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 15px; color: var(--stone-900); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--gold-500); font-size: 20px; font-weight: 300; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: #666; line-height: 1.7; font-size: 14px; }
