:root {
    --red: #b92e38;
    --green: #2d6b4f;
    --cream: #f8ebd4;
    --gold: #d6a64d;
}

body {
    margin: 0;
    background: var(--cream);
    color: #34302b;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.site-header {
    background: #fffaf0;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 27px;
    font-weight: 900;
    color: var(--red);
    text-decoration: none;
}

.site-header nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.site-header nav a {
    color: var(--green);
    font-weight: bold;
    text-decoration: none;
}

.hero {
    min-height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 24px;
    color: white;
    background:
        radial-gradient(circle at 20% 20%, #d6a64d80, transparent 35%),
        linear-gradient(130deg, #2d6b4f, #174832);
}

.hero-inner {
    max-width: 850px;
}

.eyebrow {
    color: #ffebad;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.1;
    margin: 25px 0;
}

.hero p {
    font-size: 22px;
    margin-bottom: 38px;
}

.button {
    display: inline-block;
    padding: 17px 30px;
    border-radius: 40px;
    background: var(--red);
    color: white;
    font-weight: bold;
    text-decoration: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
    min-height: 180px;
}

.site-footer {
    padding: 50px 20px;
    background: var(--red);
    color: white;
    text-align: center;
}

.system-page {
    max-width: 1100px;
    margin: 70px auto;
    padding: 30px;
}

@media (max-width: 700px) {
    .site-header {
        justify-content: center;
    }

    .site-header nav {
        justify-content: center;
        gap: 12px;
    }
}


/* Responsive layout fixes */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

img, video, iframe {
    max-width: 100%;
}

main .container,
main .container-fluid {
    max-width: 1200px;
}

main img {
    height: auto;
}



/* STORYBOOK CHRISTMAS V1 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Mountains+of+Christmas:wght@400;700&display=swap');

body {
    background: #fff9ed;
    font-family: 'DM Sans', sans-serif;
    color: #303326;
}

.site-header {
    background: #fffaf0;
    border-bottom: 4px solid #b62537;
    box-shadow: 0 3px 18px rgba(34, 53, 28, .10);
}

.site-header .logo {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.7vw, 2.1rem);
    color: #ae2936;
}

.site-header nav a {
    font-weight: 700;
    color: #175139;
}

.storybook-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 9vw, 126px) 20px;
    background:
      radial-gradient(circle at 20% 35%, rgba(244,197,98,.16), transparent 29%),
      radial-gradient(circle at 83% 72%, rgba(255,255,255,.10), transparent 25%),
      linear-gradient(125deg, #17472d, #0b3829 68%, #1b5939);
    border-bottom: 12px solid #be303b;
    color: #fff7e7;
    text-align: center;
}

.storybook-hero:before,
.storybook-hero:after {
    content: '✦  ❄  ✦  ❄  ✦  ❄  ✦';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    font-size: 16px;
    letter-spacing: 18px;
    color: #f7d98b;
    opacity: .65;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

.storybook-hero:before { top: 18px; }
.storybook-hero:after { bottom: 18px; }

.storybook-hero .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: auto;
}

.storybook-hero .storybook-stars {
    font-size: 28px;
    color: #f9d98a;
    margin-bottom: 12px;
}

.storybook-hero .eyebrow {
    color: #fae3ae;
    letter-spacing: 2px;
    font-size: .95rem;
    font-weight: 700;
}

.storybook-hero h1 {
    margin: 18px auto 22px;
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    font-size: clamp(3.6rem, 8vw, 6.4rem);
    line-height: 1.05;
    color: #fff8df;
    text-shadow: 3px 4px 0 rgba(0,0,0,.17);
}

.storybook-hero p {
    margin: 0 auto 28px;
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: #fff4dd;
}

.storybook-hero .storybook-button {
    display: inline-block;
    background: #b82f42;
    color: #fff;
    font-weight: 700;
    border: 2px solid #ffe1a0;
    border-radius: 45px;
    padding: 13px 30px;
    box-shadow: 0 7px 0 rgba(0,0,0,.18);
    text-decoration: none;
}

.storybook-hero .storybook-button:hover {
    background: #dc4553;
    color: #fff;
    transform: translateY(-2px);
}

.storybook-ornament {
    position: absolute;
    z-index: 0;
    font-family: Georgia, serif;
    font-size: clamp(100px, 17vw, 250px);
    color: rgba(255,236,180,.13);
    line-height: 1;
    pointer-events: none;
}
.ornament-left { left: -30px; top: 20%; }
.ornament-right { right: -30px; bottom: 10%; }

main#storybook-content {
    background: #fff8e9;
    padding: 55px 15px 80px;
}

main#storybook-content .container,
main#storybook-content .container-fluid {
    max-width: 1040px;
}

main#storybook-content h2,
main#storybook-content h3 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    color: #165235;
    line-height: 1.2;
}

main#storybook-content h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
main#storybook-content h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

main#storybook-content p {
    line-height: 1.85;
    margin-bottom: 18px;
}

main#storybook-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 8px solid #fff;
    box-shadow: 0 9px 28px rgba(22,57,37,.17);
    margin: 20px auto;
}

main#storybook-content a:not(.button) { color: #a82338; }

.site-footer {
    background: #a62639;
    color: #fff8ea;
    border-top: 8px solid #e0bc6c;
    text-align: center;
}

.site-footer h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

@media (max-width: 700px) {
    .storybook-hero { padding: 62px 16px 72px; }
    .storybook-hero h1 { font-size: 3.4rem; }
    .storybook-hero:before,
    .storybook-hero:after { letter-spacing: 7px; }
    main#storybook-content { padding: 34px 10px 60px; }
}


/* STORYBOOK CHRISTMAS V2 */
body:not(.ccm-edit-mode) .elf-hero-layout {
    width: min(1160px, 96%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(24px, 5vw, 65px);
}

.elf-hero-layout .hero-inner { min-width: 0; }

.elf-hero-layout .storybook-stars { margin-top: 0; }

.elf-hero-layout h1 {
    font-size: clamp(3.2rem, 6vw, 5.5rem);
}

.elf-portrait-frame {
    position: relative;
    background: #fff6df;
    padding: 12px 12px 4px;
    border: 6px solid #e2bc74;
    border-radius: 20px;
    box-shadow: 12px 16px 0 rgba(0,0,0,.17);
    transform: rotate(2deg);
    color: #17472d;
}

.elf-portrait-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 11px;
}

.elf-photo-label {
    font-family: 'Mountains of Christmas', cursive;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    padding: 6px;
}

.elf-performance {
    background: #f1e4cb;
    border-top: 8px solid #d9ad65;
    border-bottom: 8px solid #185337;
    padding: 65px 20px;
    text-align: center;
}

.elf-performance-inner {
    max-width: 950px;
    margin: auto;
}

.elf-performance-heading span {
    color: #a72b3d;
    font-weight: 700;
    letter-spacing: 2px;
}

.elf-performance-heading h2 {
    font-family: 'Mountains of Christmas', cursive;
    color: #175137;
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    margin: 12px 0;
}

.elf-performance-heading p {
    margin: 0 auto 25px;
    line-height: 1.7;
}

.elf-performance img {
    max-width: min(100%, 800px);
    height: auto;
    border: 12px solid #fffaf0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.17);
}

.elf-performance-cta {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 27px;
    background: #ae2c3c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
}

.elf-performance-cta:hover { color: white; background: #861d2d; }

@media (max-width: 750px) {
    .elf-hero-layout {
        grid-template-columns: 1fr !important;
        gap: 38px;
    }
    .elf-portrait-frame {
        max-width: 430px;
        margin: auto;
        transform: rotate(1deg);
    }
}


/* STORYBOOK V3 SERVICE CARDS */
.jolly-services {
    padding: 65px 20px 75px;
    background: #fff8e9;
    border-bottom: 2px dashed #d9bd83;
}

.jolly-services-inner {
    max-width: 1140px;
    margin: auto;
}

.jolly-services-heading {
    text-align: center;
    margin-bottom: 38px;
}

.jolly-services-heading span {
    color: #ae2c3c;
    font-weight: 700;
    letter-spacing: 2px;
}

.jolly-services-heading h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 700;
    color: #155238;
    margin: 8px 0;
}

.jolly-services-heading p {
    font-size: 1.1rem;
    color: #554d3e;
}

.jolly-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.jolly-service-slot {
    min-width: 0;
    background: #fffefa;
    border: 3px solid #e5c98f;
    border-radius: 20px;
    padding: 26px 23px;
    box-shadow: 0 9px 0 #d9ba82, 0 14px 28px #2a381a20;
}

.jolly-service-slot:nth-child(2) {
    border-color: #b92d40;
    box-shadow: 0 9px 0 #a92b3d, 0 14px 28px #2a381a20;
}

.jolly-card {
    height: 100%;
    text-align: center;
    color: #37382e;
}

.jolly-card .jolly-card-icon {
    font-size: 3.5rem;
    line-height: 1.3;
}

.jolly-card h3 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.25rem;
    font-weight: 700;
    color: #175238;
    margin: 12px 0;
}

.jolly-card p {
    line-height: 1.75;
    font-size: 1rem;
}

.jolly-card .jolly-price {
    color: #a72b3d;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 22px 0;
}

.jolly-card .jolly-card-button {
    display: inline-block;
    background: #185537;
    padding: 12px 22px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.jolly-card .jolly-card-button:hover {
    background: #a72b3d;
    color: white;
}

@media(max-width: 850px) {
    .jolly-services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: auto;
    }
}


/* STORYBOOK V4 PAGE SECTIONS */
.storybook-feature {
    background:
      radial-gradient(circle at 85% 20%, #e8d4aa55, transparent 40%),
      #fff8e9;
    padding: 65px 24px;
    border-bottom: 3px dashed #dec18d;
}

.storybook-feature-inner {
    width: min(1100px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(28px, 6vw, 75px);
}

.storybook-feature-picture {
    min-width: 0;
    padding: 14px;
    border: 5px solid #dcb972;
    border-radius: 22px;
    background: #fffdf6;
    box-shadow: 9px 11px 0 #15513625;
    transform: rotate(-1.5deg);
}

.storybook-feature-picture img {
    display: block;
    width: 100%;
    max-height: 540px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.storybook-feature-copy {
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.85;
}

.storybook-feature-copy h2,
.storybook-gallery-heading h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: #165139;
    margin-bottom: 18px;
}

.storybook-feature-copy a {
    color: #a82b40;
    font-weight: 700;
}

.storybook-gallery-section {
    background: #f2e6ce;
    padding: 58px 22px 72px;
    border-bottom: 7px solid #d7ac68;
    text-align: center;
}

.storybook-gallery-heading span {
    color: #a82b40;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: .85rem;
}

.storybook-gallery-heading h2 {
    margin: 12px 0 30px;
}

.storybook-gallery {
    max-width: 1150px;
    margin: auto;
}

.storybook-gallery .ccm-block-image {
    display: inline-block;
    vertical-align: middle;
    max-width: 31%;
    margin: 1%;
}

.storybook-gallery img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 10px;
    background: #fffdf8;
    border: 4px solid #fff;
    border-radius: 17px;
    box-shadow: 0 8px 19px #1c35232a;
}

.storybook-feature-index .storybook-feature-picture {
    transform: none;
}

@media (max-width: 780px) {
    .storybook-feature-inner {
        grid-template-columns: 1fr;
    }
    .storybook-feature-picture {
        max-width: 570px;
        margin: auto;
    }
    .storybook-gallery .ccm-block-image {
        max-width: 46%;
    }
}
@media (max-width: 500px) {
    .storybook-gallery .ccm-block-image {
        max-width: 98%;
    }
    .storybook-gallery img {
        height: auto;
        max-height: 380px;
    }
}

/* STORYBOOK V5 - RESPONSIVE EDITABLE IMAGE GALLERIES */
.storybook-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    max-width: 1150px;
    margin: 0 auto;
}

.storybook-gallery > img.ccm-image-block {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 270px;
    object-fit: contain;
    margin: 0;
    padding: 12px;
    border: 5px solid #fffdf8;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 8px 20px rgba(30, 61, 36, .15);
}

@media (max-width: 800px) {
    .storybook-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .storybook-gallery {
        grid-template-columns: 1fr;
    }

    .storybook-gallery > img.ccm-image-block {
        height: auto;
        max-height: 400px;
    }
}


/* JOLLY CONTACT FORM V7 */
.jolly-contact-section {
    background: #fff8e9;
    padding: 70px 20px;
}
.jolly-contact-card {
    max-width: 720px;
    margin: auto;
    padding: clamp(25px, 5vw, 55px);
    background: #fffef8;
    border: 4px solid #dfbb77;
    border-radius: 24px;
    box-shadow: 0 12px 0 #18503720;
}
.jolly-contact-stars {
    text-align: center;
    color: #b22d42;
    letter-spacing: 12px;
    font-size: 24px;
}
.jolly-contact-card h2 {
    font-family: 'Mountains of Christmas', cursive;
    color: #155238;
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4rem);
    text-align: center;
}
.jolly-contact-card > p {
    text-align: center;
    margin-bottom: 30px;
}
.jolly-contact-card label {
    color: #174a33;
    font-weight: 700;
}
.jolly-contact-card input:not([type=checkbox]):not([type=radio]),
.jolly-contact-card select,
.jolly-contact-card textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 2px solid #d9c69e;
    border-radius: 10px;
    background: #fffcf5;
}
.jolly-contact-card button[type=submit],
.jolly-contact-card input[type=submit] {
    background: #ae293e;
    color: #fff;
    padding: 14px 28px;
    border: 0;
    border-radius: 30px;
    font-weight: 700;
}


/* STORYBOOK V11 BOOK PURCHASE */
.jolly-book-purchase {
    padding: 65px 20px;
    background: #fff8e9;
    text-align: center;
}
.jolly-book-purchase-inner {
    max-width: 800px;
    margin: auto;
    padding: 35px 25px;
    border: 4px solid #dabb78;
    border-radius: 24px;
    background: #fffefa;
    box-shadow: 0 12px 0 #16513922;
}
.jolly-book-purchase h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    color: #165139;
}
.jolly-book-purchase a {
    display: inline-block;
    padding: 15px 32px;
    margin-top: 15px;
    border-radius: 35px;
    background: #b12c40;
    color: white;
    font-weight: 700;
    text-decoration: none;
}
.jolly-book-purchase a:hover {
    background: #8c2134;
    color: white;
}
