:root {
    /* Colours sampled from the supplied Figma prototype */
    --green-main: #0B5D3B;
    --green-card: #126B48;
    --green-accent: #087A4B;
    --green-footer: #378E63;
    --gold: #D4AF37;
    --gold-bright: #D4AF37;
    --white: #FFFFFF;
    --border: #D4AF37;

    --page-width: 1180px;
    --section-gap: clamp(3rem, 6vw, 6rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--green-main);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   NAVBAR
========================= */

.site-header {
    border-bottom: 1px solid var(--gold);
    background: var(--green-main);
}

.nav-shell {
    width: min(100% - 48px, var(--page-width));
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand {
    justify-self: center;
    width: 99px;
}

.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.icon-button {
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.menu-button {
    width: 34px;
    height: 34px;
}

.menu-button span {
    display: block;
    width: 27px;
    height: 1px;
    margin: 3px 0;
    background: var(--white);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-actions svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-button svg {
    width: 37px;
}

/* =========================
   GENERAL
========================= */

.section {
    width: min(100% - 48px, var(--page-width));
    margin-inline: auto;
}

.section h2 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero {
    padding-top: clamp(1.5rem, 4vw, 3rem);

    display: grid;

    grid-template-columns: 1.15fr 0.95fr;

    gap: 0;

    align-items: stretch;
}

.hero-image-wrap {
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: 58% 30%;
}

.hero-copy {
    border: 2px solid #D4AF37;
    background: #0B5D3B;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px 45px;

    max-width: none;
}

.hero-copy h1 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.2;
    margin-bottom: 0.45rem;
}

.hero-list {
    margin-bottom: 1.25rem;
}

.hero-copy p {
    margin-bottom: 0.9rem;
}

.outline-button,
.small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.outline-button {
    min-width: 130px;
    padding: 0.55rem 1.1rem;
    font-size: 0.78rem;
}

.outline-button:hover,
.small-button:hover {
    background: var(--gold);
    color: var(--green-main);
}

/* =========================
   NEW DROPS
========================= */

.drops-section {
    margin-top: var(--section-gap);
}

.drops-window {
    overflow: hidden;
}

.drops-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
}

.drop-card {
    flex: 0 0 calc((100% - 2rem) / 2);
    aspect-ratio: 1.6 / 1;
    border: 1px solid var(--border);
    overflow: hidden;
    background:
        linear-gradient(45deg, transparent calc(50% - 0.5px), var(--border) 50%, transparent calc(50% + 0.5px)),
        linear-gradient(-45deg, transparent calc(50% - 0.5px), var(--border) 50%, transparent calc(50% + 0.5px));
}

.drop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1rem;
}

.carousel-button {
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.carousel-dots {
    display: flex;
    gap: 5px;
}

.carousel-dots span {
    width: 5px;
    height: 5px;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.carousel-dots span.active {
    background: var(--gold);
}

/* =========================
   STORY
========================= */

.story-section {
    margin-top: var(--section-gap);
}

.story-card {
    width: min(100%, 850px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--border);
    background: var(--green-card);
    text-align: center;
    font-size: clamp(0.75rem, 1vw, 0.92rem);
}

.story-card p + p {
    margin-top: 0.85rem;
}

.story-card strong {
    font-weight: 700;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.contact-card {
    width: min(100%, 850px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--border);
    background: var(--green-card);
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card label {
    display: block;
    color: var(--white);
    font-size: 0.72rem;
}

.contact-card label span {
    display: block;
    margin-bottom: 0.35rem;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--white);
    outline: none;
    border-radius: 4px;
    padding: 0.55rem 0.7rem;
}

.contact-card input {
    height: 32px;
    border-radius: 20px;
}

.contact-card textarea {
    min-height: 180px;
    resize: vertical;
}

.form-row,
.form-row + label {
    margin-bottom: 1rem;
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 2px rgba(154, 193, 92, 0.15);
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.small-button {
    padding: 0.35rem 0.85rem;
    font-size: 0.65rem;
}

.form-message {
    min-height: 1.2em;
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--green-footer);
    padding: 3rem 0 1rem;
}

.footer-shell {
    width: min(100% - 48px, var(--page-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-brand img {
    width: 65px;
    margin-bottom: 0.8rem;
}

.footer-brand p,
.footer-column p,
.footer-column a {
    font-size: 0.72rem;
}

.footer-brand p + p {
    margin-top: 0.5rem;
}

.footer-column h3 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-column p + p {
    margin-top: 0.6rem;
}

.footer-button {
    min-width: 110px;
}

.footer-bottom {
    width: min(100% - 48px, var(--page-width));
    margin: 2rem auto 0;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255,255,255,0.35);
    font-size: 0.65rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 850px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hero-copy {
        max-width: 700px;
    }

    .drop-card {
        flex-basis: 75%;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
    .nav-shell,
    .section,
    .footer-shell,
    .footer-bottom {
        width: min(100% - 30px, var(--page-width));
    }

    .nav-shell {
        min-height: 64px;
    }

    .brand {
        width: 58px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-actions svg {
        width: 24px;
        height: 24px;
    }

    .hero {
        padding-top: 1rem;
    }

    .hero-image-wrap {
        aspect-ratio: 1.4 / 1;
    }

    .hero-copy {
        font-size: 0.68rem;
    }

    .hero-copy h1 {
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 0.9rem;
    }

    .drops-track {
        gap: 1rem;
    }

    .drop-card {
        flex-basis: 82%;
        aspect-ratio: 1.45 / 1;
    }

    .story-card,
    .contact-card {
        padding: 1.25rem;
        font-size: 0.67rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .contact-card textarea {
        min-height: 125px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p,
    .footer-column p,
    .footer-column a {
        font-size: 0.62rem;
    }
}

@media (max-width: 380px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}


/* ===== CloverCali Navigation Dashboard ===== */

.dashboard-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100dvh;

    background: #2F8059;
    padding: 45px 32px;
    z-index: 1001;

    display: flex;
    flex-direction: column;

    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.dashboard-menu a {
    display: block;
    padding: 18px 25px;

    color: #FFFFFF;
    font-size: 17px;
    text-decoration: none;

    border-bottom: 1px solid #D4AF37;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dashboard-menu .menu-close {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 8px 4px;

    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

.dashboard-menu .menu-close span {
    font-size: 26px;
    line-height: 1;
}

.dashboard-menu .menu-close:hover,
.dashboard-menu .menu-close:focus-visible {
    color: #D4AF37;
}

.dashboard-menu a:hover {
    background: rgba(212, 175, 55, 0.12);
    padding-left: 32px;
}

/* Open state */
.dashboard-menu.active {
    transform: translateX(0);
    visibility: visible;
}

/* Darkened background behind the menu */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent scrolling behind the open menu */
body.menu-open {
    overflow: hidden;
}