:root {
    --rich-brown: #6b4a1e;
    --soft-brown: #9b6a2f;
    --gold: #d6a84a;
    --cream: #fff8ef;
    --white: #ffffff;
    --text: #2f2115;
    --muted: #765f47;
    --line: rgba(107, 74, 30, .18);
    --shadow: 0 24px 70px rgba(47, 33, 21, .13);
    --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 2%, rgba(214, 168, 74, .14), transparent 28%),
        linear-gradient(180deg, #fffaf4 0%, var(--cream) 44%, #fbefe1 100%);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 10px clamp(18px, 4vw, 58px);
    background: rgba(255, 250, 244, .86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand img { width: 96px; }

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2vw, 25px);
    font-size: 13px;
    font-weight: 650;
    color: var(--rich-brown);
}

.site-nav a { padding: 10px 0; }

.quote-link,
.btn {
    border: 1px solid var(--soft-brown);
    border-radius: 8px;
    min-height: 44px;
    padding: 11px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 750;
}

.quote-link,
.btn.primary {
    background: linear-gradient(135deg, var(--rich-brown), var(--soft-brown));
    color: var(--white);
    box-shadow: 0 14px 34px rgba(107, 74, 30, .22);
}

.btn.ghost {
    background: transparent;
    color: var(--rich-brown);
}

.menu-toggle { display: none; }

.flash {
    max-width: 920px;
    margin: 18px auto 0;
    padding: 13px 18px;
    border: 1px solid rgba(214, 168, 74, .55);
    background: #fffdf9;
    border-radius: var(--radius);
    color: var(--rich-brown);
    font-weight: 700;
}

.section-band,
.intro,
.service-grid,
.occasion-strip,
.packages,
.gallery-section,
.builder,
.testimonials,
.auth-shell,
.dashboard-shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.hero {
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    align-items: center;
    gap: clamp(32px, 6vw, 82px);
    padding: 38px 0 78px;
}

.hero-mark { width: 140px; margin-bottom: 14px; }

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--rich-brown);
    line-height: 1.05;
    margin: 0;
}

h1 { font-size: clamp(58px, 8.8vw, 124px); letter-spacing: 0; }
h2 { font-size: clamp(34px, 4.5vw, 64px); letter-spacing: 0; }
h3 { font-size: 28px; }

.hero-line {
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 850;
    color: var(--soft-brown);
}

.hero-support {
    max-width: 620px;
    font-size: clamp(22px, 2.15vw, 32px);
    color: var(--text);
    margin: 0 0 16px;
}

.slogan {
    color: var(--rich-brown);
    font-weight: 850;
    margin: 0 0 28px;
}

.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    padding: 9px 12px;
    border: 1px solid rgba(155, 106, 47, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .55);
    color: var(--rich-brown);
    font-size: 13px;
    font-weight: 850;
}

.hero-visual {
    min-height: 640px;
    position: relative;
    border-radius: 8px;
    background: #6b4a1e;
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: 2;
    border: 1px solid rgba(255, 248, 239, .46);
    border-radius: 6px;
    pointer-events: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(47,33,21,.04), rgba(47,33,21,.18));
    pointer-events: none;
}

.event-card {
    position: absolute;
    z-index: 2;
    max-width: 248px;
    padding: 20px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 168, 74, .42);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(47, 33, 21, .16);
}

.event-card span {
    display: block;
    color: var(--soft-brown);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.event-card strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--rich-brown);
    font-size: 23px;
    margin-bottom: 7px;
}

.event-card p { margin: 0; color: var(--muted); }
.food-card { top: 82px; right: 42px; }
.fashion-card { bottom: 210px; left: 42px; }
.venue-card { right: 74px; bottom: 56px; }

.intro {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    padding: 96px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-label {
    display: block;
    margin-bottom: 14px;
    color: var(--soft-brown);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 0;
}

.intro p,
.section-heading p,
.builder-copy p {
    font-size: 18px;
    color: var(--muted);
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 92px 0;
}

.service-card,
.package-card,
.testimonial-grid blockquote,
.auth-card,
.admin-panel,
.portal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(47, 33, 21, .08);
}

.service-card { padding: 14px 14px 30px; overflow: hidden; }
.service-media {
    height: 210px;
    margin: 0 0 26px;
    border-radius: 6px;
    background-image: linear-gradient(135deg, rgba(47,33,21,.08), rgba(214,168,74,.18)), url('../img/celebration-hero.png');
    background-size: 310% 100%;
    background-position: left center;
}
.service-media-2 { background-position: center center; }
.service-media-3 { background-position: right center; }
.service-number { color: var(--gold); font-weight: 900; }
.service-card h2 { font-size: 32px; margin: 14px 0 16px; }
.service-card p { color: var(--muted); }

.service-card > :not(.service-media) { margin-left: 16px; margin-right: 16px; }

.mini-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--soft-brown);
    font-weight: 950;
    border-bottom: 2px solid var(--gold);
}

ul { padding-left: 19px; }
li::marker { color: var(--gold); }

.occasion-strip {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 40px;
    align-items: center;
    padding: 64px;
    background:
        linear-gradient(135deg, rgba(47,33,21,.2), transparent),
        var(--rich-brown);
    color: var(--cream);
    border-radius: var(--radius);
}

.occasion-strip h2 { color: var(--cream); }
.occasion-strip p { color: rgba(255,248,239,.82); }

.occasion-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.occasion-list span {
    border: 1px solid rgba(214,168,74,.45);
    padding: 13px 16px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}

.packages,
.gallery-section,
.builder,
.testimonials { padding: 90px 0 0; }

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.section-heading p { max-width: 520px; }

.package-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.package-card {
    padding: 30px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--soft-brown));
}
.price { font-size: 24px; color: var(--soft-brown); font-weight: 900; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-grid figure {
    margin: 0;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background-image: linear-gradient(135deg, rgba(255,255,255,.15), rgba(214,168,74,.12)), url('../img/celebration-hero.png');
    background-size: 310% 100%;
    border: 1px solid var(--line);
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(5) { background-position: center; }
.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(6) { background-position: right; }

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-grid figcaption,
.placeholder-tile span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    background: rgba(47,33,21,.78);
    color: var(--white);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.builder {
    display: grid;
    grid-template-columns: .76fr 1.24fr;
    gap: 54px;
    align-items: start;
}

.event-form,
.auth-card form,
.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--rich-brown);
    font-weight: 800;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px 13px;
    font: inherit;
    color: var(--text);
    background: var(--white);
}

textarea { resize: vertical; }

.event-form {
    padding: 34px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.wide,
.check-row,
.event-form button,
.admin-form button { grid-column: 1 / -1; }

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.check-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.check-row input { width: auto; min-height: auto; }

.testimonial-grid blockquote {
    margin: 0;
    padding: 27px;
}

.testimonial-grid p { margin-top: 0; color: var(--muted); }
cite { color: var(--rich-brown); font-weight: 900; font-style: normal; }

.site-footer {
    margin-top: 90px;
    padding: 44px 20px;
    text-align: center;
    color: var(--cream);
    background: var(--text);
}

.site-footer img { width: 118px; margin: 0 auto 12px; }
.site-footer nav { display: flex; justify-content: center; gap: 20px; margin: 12px 0; }
.site-footer small { color: rgba(255,248,239,.72); }

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 0;
}

.auth-card {
    width: min(520px, 100%);
    padding: 34px;
}

.auth-card img { width: 136px; margin-bottom: 14px; }
.auth-card form { grid-template-columns: 1fr; margin-top: 22px; }

.dashboard-body { background: #fbf3e8; }

.dashboard-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 24px 0 60px;
}

.sidebar {
    position: sticky;
    top: 98px;
    align-self: start;
    padding: 20px;
    background: var(--rich-brown);
    color: var(--cream);
    border-radius: var(--radius);
}

.sidebar img { width: 124px; margin-bottom: 12px; }
.sidebar a {
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    color: rgba(255,248,239,.88);
    font-weight: 750;
}
.sidebar a:hover { background: rgba(255,255,255,.09); color: var(--white); }

.dashboard-main { display: grid; gap: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.stat strong { display: block; font-size: 34px; color: var(--rich-brown); line-height: 1; }
.stat span { color: var(--muted); font-weight: 800; }

.admin-panel,
.portal-card { padding: 24px; overflow: auto; }
.admin-panel h2 { font-size: 32px; margin-bottom: 16px; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th { color: var(--rich-brown); font-size: 13px; text-transform: uppercase; }

.status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3dfbd;
    color: var(--rich-brown);
    font-weight: 900;
    font-size: 12px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 980px) {
    .site-header { grid-template-columns: auto auto; }
    .site-nav,
    .quote-link {
        display: none;
    }
    .menu-toggle {
        display: inline-flex;
        justify-self: end;
        border: 1px solid var(--line);
        background: var(--white);
        color: var(--rich-brown);
        border-radius: 999px;
        padding: 10px 16px;
        font-weight: 800;
    }
    .site-nav.open {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        gap: 0;
    }
    .site-nav.open a { border-top: 1px solid var(--line); }
    .hero,
    .intro,
    .occasion-strip,
    .builder,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }
    .hero { min-height: auto; }
    .service-grid,
    .package-grid,
    .gallery-grid,
    .testimonial-grid,
    .stat-grid,
    .portal-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sidebar { position: static; }
}

@media (max-width: 640px) {
    .brand img { width: 84px; }
    .hero-visual { min-height: 520px; }
    .event-card { max-width: 220px; padding: 18px; }
    .food-card { right: 18px; top: 40px; }
    .fashion-card { left: 18px; bottom: 160px; }
    .venue-card { right: 18px; bottom: 30px; }
    .intro,
    .service-grid,
    .packages,
    .gallery-section,
    .builder,
    .testimonials { padding-top: 58px; }
    .service-grid,
    .package-grid,
    .gallery-grid,
    .testimonial-grid,
    .event-form,
    .stat-grid,
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .occasion-strip { padding: 28px; }
    .occasion-list { grid-template-columns: 1fr; }
    .section-heading { display: grid; }
}
