:root {
    --serenity-green: #2d5016;
    --serenity-green-soft: #4a7c59;
    --serenity-gold: #d4af37;
    --serenity-cream: #faf8f3;
    --serenity-text: #24322d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--serenity-cream);
    color: var(--serenity-text);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.section-shell {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
}

.bg-serenity-gradient {
    background: linear-gradient(135deg, rgba(45,80,22,0.98) 0%, rgba(74,124,89,0.95) 100%);
}

.text-balance {
    text-wrap: balance;
}

.shadow-serenity {
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.14);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(19,33,17,0.28) 0%, rgba(19,33,17,0.68) 100%),
        radial-gradient(circle at top, rgba(212,175,55,0.28), transparent 36%);
}

.service-card img,
.gallery-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.admin-card {
    background: #ffffff;
    border: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.08);
}

input, textarea, select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(45, 80, 22, 0.16);
    background: #fff;
    padding: 0.95rem 1rem;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(45, 80, 22, 0.46);
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #2d5016;
    border: 1px solid rgba(45, 80, 22, 0.14);
}

.badge-soft {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
}

@media (max-width: 640px) {
    .mobile-sticky-cta {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}


body {
    overflow-x: hidden;
}

summary::-webkit-details-marker {
    display: none;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--serenity-green);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav-link:hover {
    background: rgba(45, 80, 22, 0.08);
    color: var(--serenity-green-soft);
}

.mobile-nav-link {
    display: block;
    width: 100%;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--serenity-green);
    background: var(--serenity-cream);
}

.mobile-nav-link:hover {
    background: rgba(45, 80, 22, 0.08);
}

.mobile-menu[open] summary {
    border-color: rgba(45, 80, 22, 0.28);
}


.mobile-menu {
    position: relative;
}

.mobile-menu-panel {
    position: fixed;
    inset: 5rem 0 auto;
    z-index: 60;
    display: none;
    padding: 0 1rem 1rem;
}

.mobile-menu-sheet {
    width: min(100%, 26rem);
    margin: 0 auto;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu[open] .mobile-menu-panel {
    display: block;
}

@media (max-width: 380px) {
    .mobile-menu-sheet {
        width: 100%;
    }
}


.mobile-menu-panel {
    position: fixed;
    inset: 5rem 0 auto;
    z-index: 60;
    display: none;
    padding: 0 1rem 1rem;
}

.mobile-menu-sheet {
    position: relative;
    z-index: 2;
    width: min(100%, 26rem);
    margin: 0 auto;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 31, 19, 0.28);
    backdrop-filter: blur(2px);
}

.mobile-menu[open] .mobile-menu-panel {
    display: block;
}

.header-nav-link.is-active {
    background: rgba(45, 80, 22, 0.08);
    color: var(--serenity-green-soft);
}

.admin-card textarea {
    min-height: 3.5rem;
}

@media (max-width: 640px) {
    .mobile-menu-panel {
        inset: 4.8rem 0 auto;
    }
}
