/* ============================================================
   Wools by Jools — Stylesheet
   Warm cream + turquoise, cottage-core craft aesthetic
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: #FBF8F4;
    color: #3D3532;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--brand);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: #3D3532;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.site-header {
    background: #fff;
    border-bottom: 3px dashed var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 2px;
}

.logo-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #9B9490;
    font-weight: 500;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3D3532;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-list .active .nav-link {
    background: var(--brand);
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--brand);
    border-radius: 8px;
    font-size: 1.5rem;
    padding: 4px 10px;
    cursor: pointer;
    color: var(--brand-dark);
}

/* --- Sections --- */
.section {
    padding: 72px 0;
}

.section--alt {
    background: #fff;
}

.section--brand {
    background: var(--brand);
    color: #fff;
}

.section--brand h2,
.section--brand h3,
.section--brand p {
    color: #fff;
}

.section--brand a {
    color: #fff;
    text-decoration: underline;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #7A7572;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 12px auto 0;
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 64px 0 52px;
    background:
        url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0z' fill='%23c8a882' fill-opacity='0.03'/%3E%3Cpath d='M20 20h1v1h-1z' fill='%23c8a882' fill-opacity='0.02'/%3E%3C/svg%3E"),
        linear-gradient(160deg, #f5ece3 0%, #ede4d8 40%, #f0e7dc 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 700px 500px at 75% 50%, rgba(200,170,130,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 90% 30%, rgba(43,188,179,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--brand) 0px, var(--brand) 8px, transparent 8px, transparent 16px);
    opacity: 0.3;
}

.hero .container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-top: 32px;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #3D3532;
    margin-bottom: 16px;
}

.hero-text h1 span {
    color: var(--brand);
}

.hero-text p {
    font-size: 1.15rem;
    color: #6B6562;
    margin-bottom: 28px;
    max-width: 480px;
}

/* --- Hero Collage --- */
.hero-collage {
    flex: 0 0 600px;
    position: relative;
    height: 440px;
    margin-right: -40px;
}

.hero-photo {
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(61,53,50,0.15), 0 1px 4px rgba(61,53,50,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.hero-photo:hover {
    z-index: 10;
    transform: scale(1.06) !important;
    box-shadow: 0 12px 36px rgba(61,53,50,0.22);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.hero-photo--1 {
    width: 270px; height: 310px;
    top: 0; left: 0;
    transform: rotate(-2deg);
    z-index: 3;
}

.hero-photo--2 {
    width: 210px; height: 230px;
    top: -10px; right: 40px;
    transform: rotate(3deg);
    z-index: 2;
}

.hero-photo--3 {
    width: 200px; height: 190px;
    bottom: 0; left: 10px;
    transform: rotate(2deg);
    z-index: 4;
}

.hero-photo--4 {
    width: 190px; height: 210px;
    bottom: 0; left: 230px;
    transform: rotate(-1.5deg);
    z-index: 5;
}

.hero-photo--5 {
    width: 180px; height: 180px;
    bottom: 20px; right: 20px;
    transform: rotate(-3.5deg);
    z-index: 1;
}

.hero-photo--6 {
    display: none; /* Only shown on mobile grid */
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-instagram {
    margin-top: 24px;
    font-size: 0.9rem;
}

.hero-instagram a {
    color: #9B9490;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.hero-instagram a:hover {
    color: var(--brand);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(43,188,179,0.3);
}

.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43,188,179,0.4);
}

.btn--outline {
    background: transparent;
    color: var(--brand-dark);
    border: 2px dashed var(--brand);
}

.btn--outline:hover {
    background: var(--brand);
    color: #fff;
    border-style: solid;
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--brand-dark);
}

.btn--white:hover {
    background: #f0ebe4;
    color: var(--brand-dark);
    transform: translateY(-2px);
}

/* --- Category Cards --- */
.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--brand);
    color: inherit;
}

.category-card-img {
    height: 220px;
    overflow: hidden;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.category-card:hover .category-card-img img {
    transform: scale(1.05);
}

.category-card-body {
    padding: 24px;
}

.category-card-body h3 {
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.category-card-body p {
    font-size: 0.9rem;
    color: #7A7572;
    margin-bottom: 0;
}

/* --- Featured Gallery Strip --- */
.featured-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.featured-strip-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.featured-strip-item:hover {
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(43,188,179,0.2);
}

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

/* --- CTA Banner --- */
.cta-banner {
    text-align: center;
    padding: 56px 24px;
    border-radius: 20px;
    background: var(--brand);
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

/* --- Gallery --- */
.gallery-grid {
    columns: 3;
    column-gap: 20px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 24px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(43,188,179,0.3);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: box-shadow 0.3s;
}

.gallery-cta {
    text-align: center;
    padding: 32px 20px;
    margin: 16px 0 48px;
    border-top: 2px dashed rgba(43,188,179,0.25);
    border-bottom: 2px dashed rgba(43,188,179,0.25);
}

.gallery-cta p {
    color: #6B6562;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.gallery-category {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.gallery-category h2 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.gallery-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
}

/* --- About / Content Pages --- */
.content-with-image {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.content-with-image--reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 0 0 360px;
}

.content-image img {
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

/* --- How It Works (Commissions) --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #e0dbd6;
    transition: border-color 0.3s;
}

.step:hover {
    border-color: var(--brand);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--brand);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step h3 {
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: #7A7572;
    margin-bottom: 0;
}

/* --- Callout Box --- */
.callout {
    background: #fff;
    border: 2px dashed var(--brand);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.callout h3 {
    color: var(--brand-dark);
}

/* --- Contact Form --- */
.contact-form {
    max-width: 560px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #3D3532;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0dbd6;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 1rem;
    color: #3D3532;
    background: #fff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info {
    margin-top: 40px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #e0dbd6;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    font-weight: 600;
}

/* --- Instagram link --- */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--brand-dark);
    transition: color 0.2s;
}

.instagram-link:hover {
    color: var(--brand);
}

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

/* --- Footer --- */
.site-footer {
    background: #3D3532;
    color: #c9c3be;
    padding: 56px 0 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--brand);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-instagram {
    display: inline-block;
    margin-top: 12px;
    color: var(--brand) !important;
    font-weight: 600;
}

.footer-email {
    margin-top: 16px;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 16px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
    color: #9B9490;
}

/* --- Cookie Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #3D3532;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner p {
    font-size: 0.85rem;
    margin: 0;
}

.cookie-banner a {
    color: var(--brand);
}

.cookie-dismiss {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    white-space: nowrap;
}

/* --- Lightbox --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61,53,50,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding: 12px;
    z-index: 2001;
    transition: color 0.2s;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--brand);
}

.lightbox-close {
    top: 16px;
    right: 24px;
    font-size: 3rem;
}

.lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
}

.lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
}

.lightbox-caption {
    color: #c9c3be;
    font-size: 0.95rem;
    margin-top: 16px;
    text-align: center;
}

/* --- Privacy Page --- */
.privacy-content h2 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-content li {
    margin-bottom: 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo-tagline {
        display: block;
        line-height: 1.3;
    }

    .mobile-toggle {
        flex-shrink: 0;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 10;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid #f0ebe4;
    }

    .hero {
        padding: 12px 0 32px;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 16px;
    }

    .hero-text {
        padding-top: 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        max-width: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-collage {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        height: auto;
        margin: 0 -24px;
        width: calc(100% + 48px);
    }

    .hero-photo {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-photo img {
        border-radius: 0;
    }

    .hero-photo--6 {
        display: block;
    }

    .category-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        columns: 2;
        column-gap: 12px;
    }

    .gallery-item {
        margin-bottom: 12px;
    }

    .content-with-image,
    .content-with-image--reverse {
        flex-direction: column;
    }

    .content-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 48px 0;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner {
        border-radius: 12px;
        padding: 40px 20px;
    }
}

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

    .gallery-grid {
        columns: 1;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .logo-name {
        font-size: 1.3rem;
    }

    .lightbox-prev {
        left: 4px;
    }

    .lightbox-next {
        right: 4px;
    }
}
