:root {
    --bg: #fff7f4;
    --bg-soft: #ffe8e1;
    --text: #341c28;
    --muted: #816370;
    --primary: #b83264;
    --primary-dark: #7d1f45;
    --accent: #f5b8a8;
    --gold: #d9a441;
    --silver: #b8b8c8;
    --bronze: #b87845;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(87, 33, 53, 0.16);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 168, 0.55), transparent 34%),
        radial-gradient(circle at top right, rgba(184, 50, 100, 0.20), transparent 30%),
        var(--bg);
    color: var(--text);
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 7%;
    background: rgba(255, 247, 244, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(184, 50, 100, 0.12);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

nav a {
    color: var(--muted);
    font-weight: 700;
    transition: 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

main {
    min-height: 75vh;
}

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 40px;
    padding: 70px 7% 45px;
}

.hero-content h1 {
    max-width: 780px;
    margin: 14px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.hero-content p {
    max-width: 560px;
    font-size: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 12px 28px rgba(184, 50, 100, 0.25);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-dark);
    border: 1px solid rgba(184, 50, 100, 0.15);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.full {
    width: 100%;
}

.hero-card,
.quote-box,
.calendar-card,
.booking-form,
.membership,
.admin-login {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(184, 50, 100, 0.13);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    min-height: 410px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(145deg, rgba(184, 50, 100, 0.82), rgba(245, 184, 168, 0.78)),
        url('../img/bulow-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-card .heart {
    font-size: 76px;
    line-height: 1;
}

.hero-card h2 {
    margin: 10px 0;
    font-size: 44px;
}

.section {
    padding: 70px 7%;
}

.section h1,
.section h2 {
    margin: 10px 0 16px;
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -1.5px;
}

.section p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 36px;
    align-items: center;
}

.quote-box {
    padding: 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 232, 225, 0.88));
}

.quote-box p {
    margin: 0;
    font-size: 30px;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.35;
}

.muted {
    color: var(--muted);
}

.slideshow {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 28px;
    background: var(--bg-soft);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide div {
    color: white;
    font-size: 32px;
    font-weight: 900;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.memberships {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.membership {
    position: relative;
    padding: 32px;
}

.membership.featured {
    transform: translateY(-12px);
    border: 2px solid rgba(184, 50, 100, 0.25);
}

.membership h3 {
    margin: 0;
    font-size: 30px;
}

.price {
    font-size: 34px !important;
    color: var(--primary-dark) !important;
    font-weight: 900;
    margin: 14px 0;
}

.membership ul {
    padding-left: 20px;
    color: var(--muted);
    line-height: 2;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 28px;
    align-items: start;
    margin-top: 28px;
}

.calendar-card,
.booking-form {
    padding: 28px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.calendar-header h2 {
    margin: 0;
    font-size: 30px;
}

.calendar-header a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 800;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.weekday-row {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 900;
    text-align: center;
}

.calendar-day {
    min-height: 82px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 232, 225, 0.75);
    color: var(--text);
    font-weight: 900;
    border: 1px solid rgba(184, 50, 100, 0.08);
    transition: 0.2s ease;
}

.calendar-day:hover,
.calendar-day.selected {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.calendar-day.booked {
    background: rgba(125, 31, 69, 0.12);
}

.calendar-day.booked small {
    color: var(--primary);
    font-size: 11px;
}

.calendar-day.selected small {
    color: white;
}

.calendar-day.empty {
    background: transparent;
    border: 0;
    pointer-events: none;
}

.booking-form h2 {
    margin-top: 0;
}

label {
    display: block;
    margin: 16px 0 8px;
    font-weight: 900;
    color: var(--primary-dark);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(184, 50, 100, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(184, 50, 100, 0.10);
}

.alert {
    border-radius: 18px;
    padding: 16px 18px;
    margin: 20px 0;
    font-weight: 800;
}

.alert.success {
    background: #e9fff2;
    color: #217145;
}

.alert.error {
    background: #ffe8e8;
    color: #9f2530;
}

.table-wrap {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

th,
td {
    text-align: left;
    padding: 18px;
    border-bottom: 1px solid rgba(184, 50, 100, 0.10);
    vertical-align: top;
}

th {
    color: var(--primary-dark);
    background: var(--bg-soft);
}

.admin-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-login {
    width: min(440px, 100%);
    padding: 34px;
}

.admin-login h1 {
    margin: 0 0 8px;
    font-size: 38px;
}

.admin-back {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 800;
}

.footer {
    padding: 30px 7%;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 950px) {
    .hero,
    .two-column,
    .booking-layout,
    .memberships {
        grid-template-columns: 1fr;
    }

    .membership.featured {
        transform: none;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .hero,
    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-day {
        min-height: 56px;
        border-radius: 14px;
        font-size: 14px;
    }

    .calendar-day small {
        display: none;
    }

    .slideshow {
        height: 300px;
    }
}

.admin-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: start;
    margin-top: 26px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(184, 50, 100, 0.13);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.admin-card h2 {
    margin-top: 0;
    font-size: 28px;
}

input[type="file"] {
    cursor: pointer;
}

.gallery-admin-list {
    display: grid;
    gap: 14px;
}

.gallery-admin-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 232, 225, 0.65);
    border: 1px solid rgba(184, 50, 100, 0.10);
}

.gallery-admin-item img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(87, 33, 53, 0.12);
}

.gallery-admin-item strong,
.gallery-admin-item small {
    display: block;
}

.gallery-admin-item strong {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.gallery-admin-item small {
    color: var(--muted);
}

.btn.danger {
    background: #ffe1e1;
    color: #9f2530;
    min-height: 40px;
    padding: 10px 16px;
}

.btn.small {
    min-height: 36px;
    padding: 9px 14px;
    font-size: 13px;
}

@media (max-width: 950px) {
    .admin-grid,
    .gallery-admin-item {
        grid-template-columns: 1fr;
    }

    .gallery-admin-item img {
        width: 100%;
        height: 180px;
    }
}
