:root {
    --page-bg: #f3f0ee;
    --paper: #fffaf6;
    --white: #ffffff;
    --cream: #f1ded1;
    --cream-dark: #dec4b3;
    --peach: #d2b09e;
    --caramel: #9a735d;
    --brown: #79695f;
    --charcoal: #4f4f4f;
    --ink: #3f3f3f;
    --rose-shadow: rgba(154, 115, 93, 0.2);
    --soft-shadow: rgba(79, 79, 79, 0.14);
    --stitched-border: rgba(121, 105, 95, 0.38);

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-script: "Great Vibes", cursive;
    --font-body: "Nunito Sans", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(241, 222, 209, 0.7) 0 120px, transparent 121px),
        radial-gradient(circle at 92% 12%, rgba(210, 176, 158, 0.25) 0 150px, transparent 151px),
        linear-gradient(180deg, var(--page-bg), #faf7f3 45%, var(--page-bg));
    color: var(--charcoal);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        radial-gradient(circle, rgba(79, 79, 79, 0.25) 1.2px, transparent 1.5px),
        radial-gradient(circle, rgba(210, 176, 158, 0.35) 1px, transparent 1.4px);
    background-size: 34px 34px, 58px 58px;
    background-position: 0 0, 16px 18px;
    z-index: -1;
}

img {
    max-width: 100%;
}

/* Header / Navbar */
.navbar {
    background-color: rgba(243, 240, 238, 0.93);
    border-bottom: 1px solid rgba(121, 105, 95, 0.18);
    box-shadow: 0 0.45rem 1.5rem var(--soft-shadow);
    backdrop-filter: blur(10px);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.navbar .container {
    min-height: 76px;
}

.navbar-brand {
    color: var(--charcoal) !important;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    line-height: 1.1;
}

.centered-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 10;
}

.navbar-logo {
    width: 74px;
    height: 58px;
    object-fit: contain;
    border-radius: 999px;
    background-color: var(--page-bg);
    box-shadow: 0 0.35rem 1rem rgba(79, 79, 79, 0.12);
}

.navbar-brand span {
    white-space: nowrap;
}

.nav-link {
    color: var(--charcoal) !important;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.07rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.25rem;
    height: 2px;
    background-color: var(--peach);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--caramel) !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 2px solid var(--charcoal);
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
}

/* Hero / Carousel */
.hero {
    min-height: 100vh;
    padding: 8.25rem 1rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px dashed rgba(121, 105, 95, 0.2);
    pointer-events: none;
}

.hero::before {
    left: -70px;
    top: 150px;
}

.hero::after {
    right: -80px;
    bottom: 70px;
}

.hero-shell {
    width: min(1120px, 100%);
    position: relative;
}

.hero-kicker {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-kicker span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(121, 105, 95, 0.28);
    border-radius: 999px;
    background-color: rgba(255, 250, 246, 0.82);
    color: var(--caramel);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    box-shadow: 0 0.5rem 1.4rem rgba(79, 79, 79, 0.08);
}

.hero-title {
    margin: 0 0 1.15rem;
    text-align: center;
    color: var(--ink);
    font-family: var(--font-script);
    font-size: clamp(3.8rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.88;
    text-shadow: 0 0.35rem 1rem rgba(79, 79, 79, 0.08);
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--brown);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero .carousel {
    width: 100%;
    margin: 0 auto;
    border-radius: 2.25rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 250, 246, 0.95), rgba(241, 222, 209, 0.85));
    border: 3px solid rgba(121, 105, 95, 0.16);
    box-shadow: 0 1.25rem 3.5rem rgba(79, 79, 79, 0.18);
    position: relative;
}

.hero .carousel::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 2px dashed var(--stitched-border);
    border-radius: 1.55rem;
    pointer-events: none;
    z-index: 2;
}

.hero .carousel-inner,
.hero .carousel-item {
    height: clamp(400px, 65vh, 740px);
    background-color: transparent;
}

.hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1.6rem;
    filter: drop-shadow(0 1rem 1.2rem rgba(79, 79, 79, 0.16));
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(79, 79, 79, 0.78);
    border-radius: 50%;
    padding: 1.4rem;
    background-size: 52%;
}

/* Layout sections */
section {
    scroll-margin-top: 105px;
}

.section-padding {
    padding: 6rem 0;
}

.section-eyebrow {
    color: var(--caramel);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.section-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.03rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 112px;
    height: 14px;
    margin-top: 1rem;
    background:
        radial-gradient(circle at 7px 7px, transparent 0 5px, var(--peach) 5.5px 6.5px, transparent 7px) 0 0 / 28px 14px repeat-x;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.lead {
    color: var(--brown);
    font-family: var(--font-body);
    font-weight: 600;
}

.intro-box,
.contact-box {
    background:
        linear-gradient(135deg, rgba(255, 250, 246, 0.96), rgba(255, 255, 255, 0.94));
    border: 2px solid rgba(121, 105, 95, 0.16);
    border-radius: 2.25rem;
    box-shadow: 0 1rem 2.75rem rgba(79, 79, 79, 0.13);
    position: relative;
    overflow: hidden;
}

.intro-box::before,
.contact-box::before {
    content: "";
    position: absolute;
    inset: 1.05rem;
    border: 2px dashed var(--stitched-border);
    border-radius: 1.55rem;
    pointer-events: none;
}

.intro-box::after,
.contact-box::after {
    content: "🪡";
    position: absolute;
    top: -1.25rem;
    right: 2.25rem;
    width: 3.2rem;
    height: 3.2rem;
    background: var(--cream);
    color: var(--ink);
    border: 2px solid rgba(79, 79, 79, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 0.45rem 1.2rem rgba(79, 79, 79, 0.14);
}

.intro-box > *,
.contact-box > * {
    position: relative;
    z-index: 1;
}

.intro-image-wrap {
    position: relative;
    border-radius: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--cream), var(--paper));
    border: 2px solid rgba(121, 105, 95, 0.16);
}

.intro-image-wrap::before {
    content: "✿";
    position: absolute;
    left: -0.85rem;
    top: -0.85rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--charcoal);
    color: var(--cream);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    z-index: 2;
}

.intro-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center;
    border-radius: 1.35rem;
    background-color: var(--page-bg);
}

.crochet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.crochet-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background-color: var(--cream);
    color: var(--charcoal);
    border: 1px solid rgba(121, 105, 95, 0.18);
    font-size: 0.86rem;
    font-weight: 800;
}

/* Crochet showcase */
#showcase {
    background:
        linear-gradient(180deg, rgba(243, 240, 238, 0.75), rgba(248, 238, 232, 0.92), rgba(243, 240, 238, 0.75));
    position: relative;
}

#showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        repeating-linear-gradient(90deg, transparent 0 26px, rgba(121, 105, 95, 0.18) 27px, transparent 28px),
        repeating-linear-gradient(0deg, transparent 0 26px, rgba(210, 176, 158, 0.24) 27px, transparent 28px);
}

#showcase .container {
    position: relative;
}

.card {
    border: 2px solid rgba(121, 105, 95, 0.16);
    border-radius: 2rem;
    overflow: hidden;
    background-color: var(--paper);
    box-shadow: 0 0.85rem 2rem rgba(79, 79, 79, 0.13);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0.75rem;
    border: 1.8px dashed rgba(121, 105, 95, 0.28);
    border-radius: 1.45rem;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.35rem 2.85rem rgba(79, 79, 79, 0.22);
}

.card-img-top {
    height: 290px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    background:
        radial-gradient(circle at center, var(--white), var(--page-bg));
    padding: 1.4rem;
}

.card-body {
    background-color: var(--paper);
    padding: 1.5rem;
}

.card-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02rem;
    margin-bottom: 0.35rem;
}

.card-title::before {
    content: "🧶 ";
    font-family: var(--font-body);
    font-size: 1rem;
}

.card-text {
    color: var(--brown);
    margin-bottom: 0;
}

/* Buttons */
.btn-crochet {
    background-color: var(--charcoal);
    color: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    box-shadow: 0 0.75rem 1.5rem rgba(79, 79, 79, 0.18);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn-crochet:hover {
    background-color: var(--caramel);
    border-color: var(--caramel);
    color: var(--white);
    transform: translateY(-2px);
}

/* Forms */
.form-label {
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.08rem;
}

.form-control {
    border: 2px solid rgba(121, 105, 95, 0.18);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--charcoal);
}

.form-control:focus {
    border-color: var(--peach);
    box-shadow: 0 0 0 0.25rem rgba(210, 176, 158, 0.35);
    background-color: var(--white);
}

.alert-info {
    background-color: var(--soft-cream, #f8eee8);
    border: 2px solid var(--peach);
    color: var(--charcoal);
    border-radius: 1rem;
}

.contact-note {
    padding: 1rem;
    background: var(--cream);
    border-radius: 1.25rem;
    border: 1px solid rgba(121, 105, 95, 0.18);
}

/* Footer */
footer {
    background:
        linear-gradient(135deg, var(--charcoal), #3c3c3c);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "~~~~~~  🧶  ~~~~~~";
    display: block;
    color: var(--cream);
    opacity: 0.72;
    letter-spacing: 0.2rem;
    margin-bottom: 0.75rem;
}

footer small {
    color: var(--cream);
}

@media (max-width: 991px) {
    .centered-brand {
        position: static;
        transform: none;
    }

    .navbar .container {
        justify-content: space-between;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
    }
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 62px;
        height: 48px;
    }

    .navbar-brand span {
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(3.5rem, 17vw, 5.25rem);
    }

    .hero .carousel-inner,
    .hero .carousel-item {
        height: 430px;
    }

    .hero .carousel-item img {
        padding: 1rem;
    }

    .section-padding {
        padding: 4.5rem 0;
    }

    .intro-image-wrap img {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        gap: 0.45rem;
    }

    .navbar-logo {
        width: 54px;
        height: 44px;
    }

    .navbar-brand span {
        font-size: 0.86rem;
        white-space: normal;
    }

    .hero {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .hero .carousel {
        border-radius: 1.45rem;
    }

    .hero .carousel::before {
        inset: 0.6rem;
        border-radius: 1rem;
    }

    .hero .carousel-inner,
    .hero .carousel-item {
        height: 340px;
    }

    .intro-box,
    .contact-box {
        border-radius: 1.5rem;
    }

    .intro-box::before,
    .contact-box::before {
        inset: 0.65rem;
        border-radius: 1rem;
    }

    .section-title {
        font-size: 2.3rem;
    }
}
