/* =========================================================================
   FONTS
   ========================================================================= */
/* @font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans/dmsans-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans/dmsans-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans/dmsans-bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant/cormorant-garamont.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
} */

/* =========================================================================
   CUSTOM FONT VARIABLES
   ========================================================================= */
:root {
    --font-main: var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
    --font-second: var(
        --wp--preset--font-family--cormorant-garamond,
        "Cormorant Garamond",
        serif
    );
    --safe-padding: 24px;
    --radius-main: 9999px;
    --shadow-main: 0 4px 20px -4px hsl(25 30% 15% / 0.08);
    /* Gradients */
    --gradient-main: linear-gradient(
        135deg,
        hsl(30 50% 98%) 0%,
        hsl(18 50% 95%) 50%,
        hsl(145 30% 95%) 100%
    );
    --gradient-warm: linear-gradient(
        180deg,
        hsl(30 50% 98%) 0%,
        hsl(35 60% 96%) 100%
    );
}

/* =========================================================================
   CONTAINER
   ========================================================================= */
.container {
    max-width: calc(1352px + var(--safe-padding) * 2);
    margin: 0 auto;
    padding: 0 var(--safe-padding);
}

/* =========================================================================
   BLOCKS BASE
   ========================================================================= */
.block {
    position: relative;
}

/* Full width blocks */
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Wide blocks */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================================
   EDITOR PREVIEW
   ========================================================================= */
.block-empty-state {
    padding: 40px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.block-empty-state p {
    margin: 0;
    font-size: 14px;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1;
    font-weight: 500;
    font-family: var(--font-second);
}

h1 {
    font-size: 72px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 24px;
}

h1 span,
h2 span,
h3 span {
    color: var(--wp--preset--color--primary);
}

.paragraph {
    line-height: 1.75rem;
    font-weight: 400;
    color: var(--wp--preset--color--text-secondary);
}

.paragraph p {
    margin: 0;
    color: var(--wp--preset--color--text-secondary);
}

.paragraph p + p {
    margin-top: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text600 {
    font-weight: 600;
}

.text_accented {
    color: var(--wp--preset--color--primary);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    .text_xl {
        font-size: 1.125rem;
    }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
/* Reset button defaults */
button,
.btn {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    user-select: none;
    appearance: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    border-radius: var(--radius-main);
    font-family: var(--font-main);
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary button */
.btn--primary {
    background: var(--wp--preset--color--primary, #dc9170);
    color: #fff;
    border: 2px solid var(--wp--preset--color--primary, #dc9170);
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.btn--primary:active {
    transform: scale(1.01);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .btn--primary:hover {
        background: var(--wp--preset--color--primary, #dc9170);
        filter: brightness(0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-decoration: none;
    }
}

/* Secondary button */
.btn--secondary {
    background: var(--wp--preset--color--secondary, #1a1a2e);
    color: #fff;
    border: 2px solid var(--wp--preset--color--secondary, #1a1a2e);
}

.btn--secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .btn--secondary:hover {
        background: var(--wp--preset--color--secondary, #1a1a2e);
        filter: brightness(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Outline button */
.btn--outline {
    background: transparent;
    color: var(--wp--preset--color--primary, #dc9170);
    border: 2px solid var(--wp--preset--color--primary, #dc9170);
}

.btn--outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (hover: hover) {
    .btn--outline:hover {
        background: var(--wp--preset--color--primary, #dc9170);
        color: #fff;
        border-color: var(--wp--preset--color--primary, #dc9170);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

.btn--outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Button icon */
.btn__icon {
    gap: 1rem;
}

.btn__icon--arrow::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Button sizes */
.btn--small {
    padding: 10px 24px;
    font-size: 1rem;
    line-height: 1.5rem;
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
html {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75rem;
    color: var(--wp--preset--color--text-primary);
}

a {
    color: var(--wp--preset--color--primary, #e94560);
    text-decoration: none;
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline;
    }
}

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

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
    background: rgba(252, 250, 247, 0.8);
    color: var(--wp--preset--color--text-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav .header-action a {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--light);
    height: 48px;
    font-weight: 500;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-main);
    transition: all 0.3s ease;
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

@media (hover: hover) {
    .site-nav .header-action a:hover {
        background: var(--wp--preset--color--primary);
        filter: brightness(0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        color: var(--wp--preset--color--light);
    }
}

/* Fix for WordPress admin bar (desktop only) */
@media screen and (min-width: 783px) {
    .admin-bar .site-header {
        top: 32px;
    }
}

.site-header.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header a {
    color: var(--wp--preset--color--text-primary);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--wp--preset--color--text-secondary);
    font-size: 1rem;
}

@media (hover: hover) {
    .nav-menu a:hover {
        text-decoration: none;
        color: var(--wp--preset--color--primary);
    }
}

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--wp--preset--color--text-primary);
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.menu-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.menu-toggle__icon span:nth-child(1) {
    top: 0;
}

.menu-toggle__icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle__icon span:nth-child(3) {
    bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

/* Responsive: Hide desktop nav, show hamburger */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--wp--preset--color--bg-color);
        border-top: 1px solid var(--wp--preset--color--border-color, #e8e0d9);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        z-index: 1001;
        transition:
            max-height 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
        display: block;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.is-open {
        max-height: 100vh !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding-inline: 0;
    padding-block: 16px;
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.mobile-menu__list li {
}

.mobile-menu__list li:last-child {
    border-bottom: none;
}

.mobile-menu__list a {
    display: block;
    padding: 8px var(--safe-padding);
    font-weight: 500;
    color: var(--wp--preset--color--text-secondary);
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.mobile-menu__list a:active,
.mobile-menu__list a:hover {
    background-color: var(--wp--preset--color--primary-light, #f5e7e0);
    color: var(--wp--preset--color--primary);
}

/* =========================================================================
   MAIN CONTENT
   ========================================================================= */
.site-main {
    min-height: 60vh;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: #533d2d;
    color: var(--wp--preset--color--text-secondary-light);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.site-footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
}

/* Company Column */
.site-footer__logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.site-footer__title {
    font-family: var(--font-second);
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.site-footer__title--coastal {
    color: #d4a75b;
}

.site-footer__title--doula {
    color: #82b29a;
}

.site-footer__description {
    line-height: 1.625;
    color: var(--wp--preset--color--text-secondary-light);
    margin-top: 1rem;
    max-width: 448px;
    font-weight: 400;
}

.site-footer__social {
    display: flex;
    gap: 16px;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #e0ded9;
    background-color: #645041;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer__social-link svg {
    width: 20px;
    height: 20px;
}

@media (hover: hover) {
    .site-footer__social-link:hover {
        background: #756355;
        text-decoration: none;
    }
}

/* Links & Services Columns */
.site-footer__heading {
    font-family: var(--font-second);
    font-weight: 500;
    margin-bottom: 1rem;
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer__menu li {
    margin: 0;
}

.site-footer__menu a {
    color: #e0ded9;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .site-footer__menu a:hover {
        color: #d4a75b;
        text-decoration: none;
    }
}

/* Bottom Section */
.site-footer__bottom {
    border-top: 1px solid rgba(224, 222, 217, 0.2);
    padding-top: 2rem;
    margin-top: 2.5rem;
}

.site-footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__copyright,
.site-footer__made {
    color: var(--wp--preset--color--text-secondary-light);
    margin: 0;
}

.site-footer__made {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer__made svg {
    width: 16px;
    height: 16px;
    fill: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.site-footer__heart-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .site-footer__column--company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 24px;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer__column--company {
        grid-column: 1;
    }

    .site-footer__bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__title {
        font-size: 1.75rem;
    }
}

/* =========================================================================
   COMMON ELEMENTS
   ========================================================================= */
.lucide-star {
    color: #dda73c;
    fill: #dda73c;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: var(--radius-main);
}

/* =========================================================================
   Forms
   ========================================================================= */

.form
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(
        [type="hidden"]
    ):not([type="file"]) {
    height: 40px;
    border-radius: 10px;
    background-color: var(--wp--preset--color--bg-color);
    border: 1px solid #e2e8f0;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font: 400 0.875rem/1.25rem var(--font-main);
    outline: 0;
    color: var(--wp--preset--color--text-primary);
}

.form input::placeholder,
.form textarea::placeholder {
    font: 400 0.875rem/1.25rem var(--font-main);
    color: var(--wp--preset--color--text-secondary);
}

.form
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(
        [type="hidden"]
    ):not([type="file"]):focus,
.form textarea:focus {
    border-color: var(--wp--preset--color--primary) !important;
    outline: none;
    outline-offset: 2px;
}

.form input,
.form textarea {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.form input:disabled,
.form textarea:disabled {
    background-color: var(--wp--preset--color--bg-color2);
    cursor: not-allowed;
    opacity: 0.7;
}

.form input[readonly],
.form textarea[readonly] {
    background-color: var(--wp--preset--color--bg-color2);
    cursor: default;
}

.form input[type="number"] {
    -moz-appearance: textfield;
}

.form input[type="number"]::-webkit-outer-spin-button,
.form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form input:focus::placeholder,
.form textarea:focus::placeholder {
    opacity: 0.5;
    transition: opacity 0.25s ease;
}

.form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font: 400 0.875rem/1.25rem var(--font-main);
    outline: 0;
    color: var(--wp--preset--color--text-primary);
    height: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: var(--wp--preset--color--bg-color);
}

.form .wpcf7-spinner {
    position: absolute;
}

.form label {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
}

/* =========================================================================
   Animations
   ========================================================================= */

@keyframes float {
    0%,
    to {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================================
   CLEAN TEMPLATE STYLES
   ========================================================================= */

.site-header--clean {
    background: rgba(252, 250, 247, 0.8);
    color: var(--wp--preset--color--text-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

.site-header--clean .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 0;
}

.site-header--clean .site-header__back {
    color: var(--wp--preset--color--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (hover: hover) {
    .site-header__back:hover {
        color: var(--wp--preset--color--primary);
        text-decoration: none;
    }
}

.site-footer--clean {
    background-color: #faf5f0;
    color: #fcf9f5;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-footer--clean .site-footer__content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-footer--clean .site-footer__text {
    color: var(--wp--preset--color--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.site-footer--clean .site-footer__text a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .site-footer--clean .site-footer__text a:hover {
        text-decoration: underline;
    }
}

/* Single events global fixes */
.single-events .container {
    max-width: 1300px;
}
