

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ====================================
   COLORS — UNCHANGED
==================================== */

:root {
    --green:  #10241D;
    --copper: #B87A54;
    --cream:  #F0EBE3;
    --bg:     #F5F0EA;
    --border: #E2D8CE;
    --text:   #222;
    --muted:  #888;

    /* extras for new sections */
    --border-lt:  #EDE7DF;
    --text-mid:   #4a4035;
    --copper-lt:  #d4997a;
    --shadow-card: 0 2px 10px rgba(0,0,0,.055), 0 6px 28px rgba(0,0,0,.045);
    --shadow-hover: 0 14px 44px rgba(0,0,0,.11), 0 4px 14px rgba(0,0,0,.06);
    --ease: cubic-bezier(.4,0,.2,1);
}

/* ====================================
   HERO — UNTOUCHED
==================================== */

.gallery-hero {
    position: relative;
    z-index: 0;
}

.gallery-hero__grid {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 90vh;
    background: #ddd0be;
}

.gallery-hero__left {
    background: #ddd0be;
    display: flex;
    align-items: center;
    border-left: 5px solid var(--copper);
    position: relative;
    overflow: hidden;
}

.gallery-hero__left::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 48px solid rgba(184,122,84,.12);
    pointer-events: none;
}

.gallery-hero__left-inner {
    padding: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 64px);
    position: relative;
    z-index: 1;
}

.gallery-hero__right {
    position: relative;
    overflow: hidden;
    background: var(--green);
}

.gallery-hero__img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.gallery-hero__right:hover .gallery-hero__img {
    transform: scale(1.04);
}

.gallery-hero__right::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 56px; height: 100%;
    background: linear-gradient(to right, #ddd0be, transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 28px;
}

.gallery-hero__left-inner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 5.5vw, 118px);
    line-height: .88;
    margin: 0 0 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

.h1-dark   { color: #1c1810; }
.h1-copper { color: var(--copper); }

.hero-line {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
    width: 180px;
}

.hero-line-left,
.hero-line-right {
    flex: 1;
    height: 1.5px;
    background: var(--copper);
    display: block;
    max-width: 70px;
}

.hero-diamond {
    color: var(--copper);
    font-size: 12px;
    margin: 0 6px;
    line-height: 1;
}

.gallery-hero__left-inner p {
    font-family: 'Inter', sans-serif;
    color: #7a6e61;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
    max-width: 340px;
}

/* ====================================
   GALLERY SECTION — BEAUTIFIED
==================================== */

.gallery-section {
    background: var(--bg);
    padding: 48px 0 72px;
}

/* Collapse section when only showing empty state */
.gallery-section:has(.empty-state) {
    padding: 32px 0 48px;
}

/* ── Section header ── */
.gallery-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-lt);
}

.section-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1;
    letter-spacing: -.5px;
}

.section-title em {
    font-style: italic;
    color: var(--copper);
}

/* ── Topbar ── */
.gallery-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 14px;
}

.gallery-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    background: white;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: all .25s var(--ease);
    letter-spacing: .15px;
}

.filter-pill:hover {
    border-color: var(--copper);
    color: var(--copper);
    background: white;
}

.filter-pill.active {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.gallery-sort {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid var(--border);
    padding: 9px 18px;
    border-radius: 50px;
    background: white;
    font-size: 12.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    transition: background .2s;
    user-select: none;
}

.gallery-sort:hover {
    background: var(--cream);
}

.sort-chevron { color: var(--muted); }

/* ── Grids ── */
.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
}

.gallery-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Card ── */
.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-lt);
    box-shadow: var(--shadow-card);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border);
}

/* ── Image wrapper ── */
.gallery-image {
    overflow: hidden;
    position: relative;
}

.gallery-grid-3 .gallery-image img {
    width: 100%;
    height: 295px;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}

.gallery-grid-4 .gallery-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}

.gallery-card:hover img {
    transform: scale(1.07);
}

/* ── Hover overlay ── */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(16,36,29,0) 40%, rgba(184,122,84,.28) 100%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-card:hover .card-hover-overlay {
    opacity: 1;
}

.hover-diamond {
    color: rgba(255,255,255,.8);
    font-size: 20px;
    transform: scale(.5) rotate(0deg);
    transition: transform .4s var(--ease);
    display: block;
}

.gallery-card:hover .hover-diamond {
    transform: scale(1) rotate(15deg);
}

/* ── Info row ── */
.gallery-info {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border-top: 1px solid var(--border-lt);
}

.gallery-number {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    min-width: 20px;
    letter-spacing: .8px;
}

.info-divider {
    display: block;
    width: 1px;
    height: 16px;
    background: var(--border);
    flex-shrink: 0;
}

.gallery-info h3 {
    flex: 1;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-arrow {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--copper);
    flex-shrink: 0;
    transition: all .28s var(--ease);
}

.gallery-card:hover .gallery-arrow {
    background: var(--copper);
    border-color: var(--copper);
    color: white;
    transform: rotate(-45deg);
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    font-family: 'Inter', sans-serif;
    color: var(--muted);
    font-size: 14px;
}

.empty-icon {
    display: block;
    font-size: 26px;
    color: var(--border);
    margin-bottom: 12px;
}

/* ====================================
   CTA — BEAUTIFIED
==================================== */

.gallery-cta {
    background: var(--bg);
    padding-bottom: 80px; /* gap before footer */
}

.cta-box {
    background: var(--green);
    border-radius: 0;
    padding: 68px 88px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

/* Subtle grain */
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: .4;
    z-index: 0;
}

/* Watermark text */
.cta-box::after {
    content: 'CREATE';
    position: absolute;
    right: 220px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 130px;
    font-weight: 700;
    color: rgba(255,255,255,.03);
    letter-spacing: -3px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.cta-left-ornament {
    position: absolute;
    left: 88px;
    top: 28px;
    transform: none;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 1;
}

.cta-line {
    display: block;
    width: 40px;
    height: 1.5px;
    background: var(--copper);
    opacity: .7;
}

.cta-star {
    color: var(--copper);
    font-size: 11px;
    margin-left: 5px;
    line-height: 1;
    opacity: .7;
}

.cta-content {
    flex: 1;
    padding-top: 18px;
    position: relative;
    z-index: 1;
}

/* eyebrow label above heading */
.cta-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--copper);
    margin: 0 0 12px;
    opacity: .85;
}

.cta-content h2 {
    color: white;
    font-size: 48px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.05;
    letter-spacing: -.5px;
}

.cta-content h2 em {
    font-style: italic;
    color: var(--copper-lt);
}

.cta-sub {
    color: rgba(255,255,255,.4);
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 300;
}

.cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--copper);
    color: var(--copper);
    text-decoration: none;
    padding: 15px 34px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    transition: all .3s var(--ease);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.cta-btn svg {
    transition: transform .3s var(--ease);
}

.cta-btn:hover {
    background: var(--copper);
    color: white;
}

.cta-btn:hover svg {
    transform: translateX(4px);
}

.cta-botanical {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 140px;
    pointer-events: none;
    opacity: .5;
    z-index: 1;
}

.botanical-svg {
    width: 100%;
    height: auto;
}

/* ====================================
   RESPONSIVE
==================================== */

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

@media (max-width: 991px) {
    .gallery-hero__grid { grid-template-columns: 1fr; }
    .gallery-hero__right::before { display: none; }
    .gallery-hero__img { min-height: 320px; }
    .gallery-hero__left {
        border-left: none;
        border-top: 4px solid var(--copper);
    }
    .gallery-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 56px 40px;
        gap: 28px;
    }
    .cta-left-ornament { left: 50%; transform: translateX(-50%); }
    .cta-content { padding-top: 22px; }
    .cta-botanical { display: none; }
    .cta-box::after { display: none; }
}

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

@media (max-width: 576px) {
    .gallery-grid-3,
    .gallery-grid-4 { grid-template-columns: 1fr; }
    .gallery-hero__left-inner { padding: 40px 24px; }
    .cta-content h2 { font-size: 34px; }
    .cta-box { padding: 52px 24px; }
    .cta-left-ornament { left: 50%; }
}

