:root {
    /* Text — the one dark anchor color, used for all text everywhere */
    --purple-dark-text: 90, 36, 114;        /* #5a2472 */

    /* Backgrounds */
    --pastel-petal-bg: 255, 200, 221;       /* #ffc8dd */
    --icy-blue-bg: 189, 224, 254;           /* #bde0fe */

    /* Buttons / accents */
    --pink-orchid-accent: 205, 180, 219;    /* #cdb4db */
    --blush-pop-hover: 255, 175, 204;       /* #ffafcc */

    /* Decorative borders / dots / small highlights */
    --sky-blue-highlight: 162, 210, 255;    /* #a2d2ff */

    /* Neutrals */
    --white-surface: 255, 255, 255;
    --text-muted: 102, 102, 102;            /* secondary/lighter text, e.g. story descriptions */
}

.emilys-candy-regular {
    font-family: "Emilys Candy", serif;
    font-weight: 400;
    font-style: normal;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

body {
    font-family: "Fredoka", sans-serif;
    background: linear-gradient(to bottom, rgb(var(--pastel-petal-bg)) 0%, rgb(var(--icy-blue-bg)) 100%);
    color: rgb(var(--purple-dark-text));
}

.nav-bar {
    background: rgba(var(--pastel-petal-bg), 0.95);
    padding: 1rem 2rem;
    font-family: "Emilys Candy", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgb(var(--purple-dark-text));
    text-decoration: none;
    font-family: "Emilys Candy", serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgb(var(--pink-orchid-accent));
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: rgb(var(--purple-dark-text));
    font-size: 1.5rem;
    font-family: "Emilys Candy", serif;
    cursor: pointer;
}

.hero {
    font-family: "Emilys Candy", serif;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
}

.flower-decoration {
    position: relative;
    width: clamp(180px, 50vw, 400px);
    height: 400px;
    margin: 0 auto;
}

.daisy-graphic {
    position: absolute;
    top: 0%;
    left: 65%;
    width: 70%;
    height: 70%;
    transform-origin: center;
    animation: pulse-rotate 3s ease-in-out infinite;
}

.logo-text-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
}

@keyframes pulse-rotate {
    0%, 100% {
        transform: scale(1) rotate(-3deg);
    }
    50% {
        transform: scale(1.08) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .daisy-graphic {
        animation: none;
    }
}

.construction-gif {
    display: block;
    width: 200px;
    height: auto;
    margin: 0 auto 1rem;
}

.flower {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.petal {
    position: absolute;
    width: 80px;
    height: 140px;
    background: none;
    border: 4px solid rgb(var(--sky-blue-highlight));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%;
    left: 50%;
    transform-origin: center bottom;
}

.petal:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); }
.petal:nth-child(2) { transform: translate(-50%, -100%) rotate(45deg); }
.petal:nth-child(3) { transform: translate(-50%, -100%) rotate(90deg); }
.petal:nth-child(4) { transform: translate(-50%, -100%) rotate(135deg); }
.petal:nth-child(5) { transform: translate(-50%, -100%) rotate(180deg); }
.petal:nth-child(6) { transform: translate(-50%, -100%) rotate(225deg); }
.petal:nth-child(7) { transform: translate(-50%, -100%) rotate(270deg); }
.petal:nth-child(8) { transform: translate(-50%, -100%) rotate(315deg); }

.logo-text {
    font-family: "Emilys Candy", serif;
    font-size: 4rem;
    color: rgb(var(--purple-dark-text));
    position: relative;
    z-index: 10;
    margin-bottom: 1rem;
}

.underconstruction {
    font-family: "Emilys Candy", serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    color: rgb(var(--purple-dark-text));
    text-align: center;
    margin-bottom: 1rem;
}

.tagline {
    font-family: 'Fredoka', sans-serif;
    color: rgb(var(--purple-dark-text));
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.tagline .heart-icon {
    color: rgb(var(--pink-orchid-accent));
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-size: 1rem;
}

.shop-btn {
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Emilys Candy', serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(var(--pink-orchid-accent), 0.3);
}

.shop-btn:hover {
    background: rgb(var(--blush-pop-hover));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--pink-orchid-accent), 0.4);
}

.gallery-section {
    padding: 3rem 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Emilys Candy', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: rgb(var(--purple-dark-text));
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '♥';
    display: block;
    color: rgb(var(--pink-orchid-accent));
    font-size: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 3/4;
    background: rgb(var(--white-surface));
}

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

.view-more-btn {
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-family: 'Emilys Candy', serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background: rgb(var(--blush-pop-hover));
    transform: translateY(-2px);
}

.stories-section {
    padding: 3rem 2rem;
    text-align: center;
}

.stories-subtitle {
    color: rgb(var(--purple-dark-text));
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.story-card {
    min-width: 280px;
    margin: 0 0.75rem;
    background: rgb(var(--white-surface));
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.story-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.story-title {
    color: rgb(var(--purple-dark-text));
    font-weight: 700;
    font-family: 'Emilys Candy', serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.story-description {
    color: rgb(var(--text-muted));
    font-size: 0.85rem;
    font-family: 'Fredoka', sans-serif;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gofundme-btn {
    background: rgb(var(--white-surface));
    color: rgb(var(--pink-orchid-accent));
    border: 2px solid rgb(var(--pink-orchid-accent));
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Emilys Candy', serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.gofundme-btn:hover {
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--white-surface), 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: rgb(var(--purple-dark-text));
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: rgb(var(--white-surface));
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(var(--sky-blue-highlight));
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: rgb(var(--pink-orchid-accent));
    transform: scale(1.3);
}

.footer-top {
    text-align: center;
    padding: 2rem;
}

.footer-tagline {
    color: rgb(var(--purple-dark-text));
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-tagline .heart-icon {
    color: rgb(var(--pink-orchid-accent));
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-label {
    color: rgb(var(--purple-dark-text));
    font-size: 0.9rem;
    font-family: 'Emilys Candy', serif;
    white-space: nowrap;
}

.newsletter-form {
    display: flex;
    flex: 1;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 2px solid rgb(var(--sky-blue-highlight));
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: rgb(var(--pink-orchid-accent));
}

.subscribe-btn {
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: rgb(var(--blush-pop-hover));
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgb(var(--blush-pop-hover));
    transform: translateY(-3px);
}

.footer {
    background: rgba(var(--sky-blue-highlight), 0.6);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.footer-logo {
    font-family: 'Emilys Candy', serif;
    font-size: 1.5rem;
    color: rgb(var(--purple-dark-text));
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgb(var(--purple-dark-text));
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Emilys Candy', serif;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgb(var(--pink-orchid-accent));
}

.copyright {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    font-family: 'Fredoka', sans-serif;
    color: rgb(var(--text-muted));
}

.success-message {
    display: none;
    background: #4caf50;
    color: rgb(var(--white-surface));
    padding: 0.7rem 1rem;
    border-radius: 25px;
    font-family: 'Emilys Candy', serif;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.success-message.show {
    display: block;
}

.logo-image {
    max-width: 400px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.mission-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.mission-photo {
    width: clamp(200px, 40vw, 320px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    clip-path: circle(50%); /* forces true circular masking, fixes the Safari bleed */
    border: 6px solid rgb(var(--white-surface));
    box-shadow: 0 8px 25px rgba(var(--purple-dark-text), 0.15);
}

.mission-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.8);
    transform-origin: center 30%;
}

.mission-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-family: 'Emilys Candy', serif;
    color: rgb(var(--purple-dark-text));
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.mission-card {
    background: rgba(var(--white-surface), 0.7);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.mission-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgb(var(--purple-dark-text));
    margin-bottom: 0.5rem;
}

.mission-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.mission-divider::before,
.mission-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(var(--pink-orchid-accent), 0.5);
    max-width: 100px;
}

.mission-divider .heart-icon {
    margin: 0 1rem;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    color: rgb(var(--pink-orchid-accent));
}

.mission-closing {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    color: rgb(var(--purple-dark-text));
    line-height: 1.6;
}

.mission-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.tagline-text {
    flex: 1;
    max-width: 280px; /* forces wrap at a sensible width instead of edge-to-edge */
}

.mission-tagline .heart-icon {
    color: rgb(var(--blush-pop-hover));
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    margin: 0 0.5rem;
}

.mission-trigger-btn {
    background: rgb(var(--pink-orchid-accent));
    color: rgb(var(--white-surface));
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.mission-trigger-btn:hover {
    background: rgb(var(--blush-pop-hover));
}

.mission-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--purple-dark-text), 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.mission-overlay.active {
    display: flex;
}

.mission-overlay-content {
    position: relative;
    background: rgb(var(--pastel-petal-bg));
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.mission-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgb(var(--white-surface));
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    color: rgb(var(--purple-dark-text));
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.mission-close-btn:hover {
    background: rgb(var(--blush-pop-hover));
}

/* ---- About page ---- */
.about-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.about-photo {
    width: clamp(200px, 40vw, 300px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
	clip-path: circle(50%); /* forces true circular masking, fixes the Safari bleed */
    border: 6px solid rgb(var(--white-surface));
    box-shadow: 0 8px 25px rgba(var(--purple-dark-text), 0.15);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	transform: scale(1.7); /* now safe to go higher if needed */
    transform-origin: center 30%;
}

.about-card {
    background: rgba(var(--white-surface), 0.7);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: left;
}

.about-card p {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgb(var(--purple-dark-text));
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card .heart-icon {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: rgba(var(--pastel-petal-bg), 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .branch-left, .branch-right {
        width: 60px;
        height: 60px;
    }

    .carousel-container {
        padding: 0 2.5rem;
    }

    .story-card {
        min-width: 250px;
    }

    .newsletter {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.indented-line {
    display: inline-block;
    padding-left: 2rem;
}
