/* Custom styles for the Projects and Career pages - created by Darius Buhai */

/* ============================================================
   Projects page - app showcase sections
   ============================================================ */
.app-section {
    padding: 5rem 0;
}
.app-section .app-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.app-section .app-row.reverse {
    flex-direction: row-reverse;
}
.app-logo {
    width: 180px;
    height: 180px;
    min-width: 180px;
    border-radius: 40px;
    object-fit: cover;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}
.app-content {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
}
.app-content h2 {
    margin-bottom: 0.5rem;
}
.app-content .app-tagline {
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 1rem;
}
.app-content .app-description {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}
.app-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
}
.app-stat {
    display: inline-flex;
    align-items: center;
}
.app-stars {
    color: #f5a623;
    letter-spacing: 1px;
}
.app-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
.store-btn i {
    font-size: 1.35rem;
}
.store-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}
/* Light section => dark buttons/text; dark section => light buttons/text */
.app-section.is-dark { color: rgb(255,255,255); }
.app-section.is-dark .app-content h2 { color: #fff; }
.app-section.is-light { color: #1f2d41; }
.app-section.is-dark .store-btn { background: #fff; color: #1f2d41; }
.app-section.is-light .store-btn { background: #1f2d41; color: #fff; }
@media (max-width: 767px) {
    .app-section .app-row,
    .app-section .app-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .app-stores { justify-content: center; }
}

/* ============================================================
   Career page - experience & education sections
   ============================================================ */
.career-section {
    padding: 5rem 0;
}
.career-section .career-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.career-section .career-row.reverse {
    flex-direction: row-reverse;
}
.career-logo {
    width: 180px;
    height: 180px;
    min-width: 180px;
    border-radius: 32px;
    object-fit: contain;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}
.career-content {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
}
.career-content h2 {
    margin-bottom: 0.35rem;
}
.career-content .career-role {
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}
.career-content .career-period {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.2rem 0.75rem;
    border-radius: 50rem;
    margin-bottom: 1rem;
}
.career-content .career-description {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}
.career-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.75rem;
}
.career-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
    line-height: 1.5;
}
.career-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}
.career-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.career-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
/* Light section => dark accents; dark section => light accents */
.career-section.is-dark { color: #fff; }
.career-section.is-dark .career-content h2 { color: #fff; }
.career-section.is-light { color: #1f2d41; }
.career-section.is-dark .career-period { background: rgba(255, 255, 255, 0.18); }
.career-section.is-light .career-period { background: rgba(31, 45, 65, 0.1); }
.career-section.is-dark .career-btn { background: #fff; color: #1f2d41; }
.career-section.is-light .career-btn { background: #1f2d41; color: #fff; }
@media (max-width: 767px) {
    .career-section .career-row,
    .career-section .career-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   Resume page - creative HTML CV
   ============================================================ */
:root {
    --rz-accent: #00ac69;
    --rz-accent-2: #17c3b2;
    --rz-ink: #0f1720;
    --rz-muted: #6b7a8d;
    --rz-line: #e7ecf2;
}

/* ---- Hero ---- */
.rz-hero {
    position: relative;
    overflow: hidden;
    padding: 11rem 0 0;
    background: #05070b;
    color: #fff;
}
.rz-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 15% 10%, rgba(0, 172, 105, 0.35), transparent 60%),
        radial-gradient(55% 55% at 90% 20%, rgba(23, 195, 178, 0.28), transparent 60%),
        radial-gradient(70% 60% at 60% 110%, rgba(0, 172, 105, 0.22), transparent 60%);
    background-size: 200% 200%;
    animation: rzDrift 16s ease-in-out infinite alternate;
}
@keyframes rzDrift {
    from { background-position: 0% 0%; }
    to   { background-position: 100% 100%; }
}
.rz-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}
.rz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bfeede;
    background: rgba(0, 172, 105, 0.14);
    border: 1px solid rgba(0, 172, 105, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
}
.rz-eyebrow .rz-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rz-accent);
    box-shadow: 0 0 0 0 rgba(0, 172, 105, 0.7);
    animation: rzPulse 2s infinite;
}
@keyframes rzPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 172, 105, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(0, 172, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 172, 105, 0); }
}
.rz-name {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1.25rem 0 0.5rem;
    color: #ffffff;
}
.rz-title {
    font-size: clamp(1.2rem, 3vw, 1.9rem);
    font-weight: 700;
    background: linear-gradient(90deg, var(--rz-accent), var(--rz-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}
.rz-summary {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #c7d2de;
    max-width: 680px;
    margin-bottom: 2rem;
}
.rz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.rz-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.rz-btn-primary {
    background: linear-gradient(90deg, var(--rz-accent), var(--rz-accent-2));
    color: #05221a;
    box-shadow: 0 12px 30px -10px rgba(0, 172, 105, 0.7);
}
.rz-btn-primary:hover { transform: translateY(-3px); color: #05221a; }
.rz-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.rz-btn-ghost:hover { transform: translateY(-3px); color: #fff; background: rgba(255, 255, 255, 0.12); }
.rz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.75rem;
}
.rz-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cfd9e4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 0.9rem;
    border-radius: 50rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
a.rz-chip:hover { color: #fff; border-color: var(--rz-accent); }
.rz-chip i { color: var(--rz-accent-2); }
.rz-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.rz-highlight {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.rz-highlight:hover { transform: translateY(-4px); border-color: rgba(0, 172, 105, 0.6); }
.rz-highlight-value {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--rz-accent), var(--rz-accent-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rz-highlight-label { font-size: 0.82rem; color: #9fb0c0; margin-top: 0.25rem; }

/* ---- Body layout ---- */
.rz-body {
    background: #f6f8fb;
    padding: 5rem 0 6rem;
    color: var(--rz-ink);
}
.rz-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}
.rz-section-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    color: var(--rz-ink);
}
.rz-section-title i { color: var(--rz-accent); }

/* ---- Timeline ---- */
.rz-timeline { position: relative; padding-left: 1.75rem; }
.rz-timeline::before {
    content: "";
    position: absolute;
    left: 6px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--rz-accent), var(--rz-accent-2), transparent);
}
.rz-tl-item { position: relative; margin-bottom: 1.75rem; }
.rz-tl-dot {
    position: absolute;
    left: -1.75rem; top: 1.6rem;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--rz-accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0, 172, 105, 0.25);
}
.rz-card {
    background: #fff;
    border: 1px solid var(--rz-line);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 30px -20px rgba(15, 23, 32, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(0, 172, 105, 0.55);
}
.rz-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}
.rz-role { font-size: 1.25rem; font-weight: 800; margin: 0; }
.rz-company { font-weight: 600; color: var(--rz-accent); margin-top: 0.15rem; }
.rz-muted { color: var(--rz-muted); font-weight: 500; }
.rz-period {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rz-ink);
    background: #eef2f7;
    padding: 0.3rem 0.8rem;
    border-radius: 50rem;
    white-space: nowrap;
}
.rz-sublist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.rz-sublist > li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 1.1rem;
    border-left: 2px solid var(--rz-line);
    padding-bottom: 0.1rem;
}
.rz-sublist > li:last-child { margin-bottom: 0; }
.rz-sub-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 0.75rem; flex-wrap: wrap;
}
.rz-sub-title { font-weight: 700; }
.rz-sub-period { font-size: 0.78rem; color: var(--rz-muted); white-space: nowrap; }
.rz-sub-text { margin: 0.35rem 0 0; color: #46566a; line-height: 1.6; }
.rz-dotlist { margin: 1.1rem 0 0; padding-left: 1.1rem; color: #46566a; }
.rz-dotlist li { margin-bottom: 0.5rem; line-height: 1.55; }

/* ---- Sidebar ---- */
.rz-side { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem; }
.rz-panel {
    background: #fff;
    border: 1px solid var(--rz-line);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 10px 30px -22px rgba(15, 23, 32, 0.4);
}
.rz-panel-title {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem;
}
.rz-panel-title i { color: var(--rz-accent); }
.rz-skill-group { margin-bottom: 1.1rem; }
.rz-skill-group:last-child { margin-bottom: 0; }
.rz-skill-label {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700; color: var(--rz-muted); margin-bottom: 0.5rem;
}
.rz-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.rz-tag {
    font-size: 0.82rem; font-weight: 600;
    color: #075e3f;
    background: rgba(0, 172, 105, 0.1);
    border: 1px solid rgba(0, 172, 105, 0.2);
    padding: 0.35rem 0.7rem;
    border-radius: 50rem;
    transition: background 0.2s ease, transform 0.15s ease;
}
.rz-tag:hover { background: rgba(0, 172, 105, 0.2); transform: translateY(-2px); }
.rz-vol { padding: 0.9rem 0; border-bottom: 1px solid var(--rz-line); }
.rz-vol:first-of-type { padding-top: 0; }
.rz-vol:last-child { border-bottom: none; padding-bottom: 0; }
.rz-vol-title { font-weight: 700; margin-bottom: 0.25rem; }
.rz-vol-text { margin: 0; font-size: 0.9rem; color: #46566a; line-height: 1.55; }
.rz-pdf-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    justify-content: center;
    font-weight: 700; color: var(--rz-accent);
    text-decoration: none; padding: 0.5rem;
}
.rz-pdf-link:hover { color: var(--rz-accent-2); text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .rz-grid { grid-template-columns: 1fr; }
    .rz-side { position: static; }
    .rz-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .rz-hero { padding: 9rem 0 0; }
    .rz-card { padding: 1.25rem; }
}

/* ============================================================
   Wedding gallery - private, password-protected page
   ============================================================ */
:root {
    --wed-gold: #4fbf84;   /* forest green accent */
    --wed-gold-2: #a7d7b0; /* pastel green */
    --wed-ink: #12241a;
}

/* Shared romantic backdrop (reused by gate + hero) */
.wed-gate-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 55% at 20% 15%, rgba(79, 191, 132, 0.30), transparent 60%),
        radial-gradient(55% 55% at 85% 25%, rgba(167, 215, 176, 0.22), transparent 60%),
        radial-gradient(70% 60% at 60% 110%, rgba(79, 191, 132, 0.18), transparent 60%);
    background-size: 200% 200%;
    animation: rzDrift 18s ease-in-out infinite alternate;
}

/* ---- Login gate ---- */
.wed-gate {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
    background: linear-gradient(160deg, #12241a 0%, #1c3a28 48%, #2b5c3d 100%);
    color: #fff;
    overflow: hidden;
}
.wed-gate-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 215, 176, 0.28);
    border-radius: 24px;
    padding: 3rem 2.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.wed-monogram {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--wed-gold-2);
    margin-bottom: 1.25rem;
}
.wed-monogram span { color: rgba(255, 255, 255, 0.5); font-style: italic; }
.wed-gate-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}
.wed-gate-sub { color: #cbc3b4; margin-bottom: 2rem; font-size: 0.98rem; }
.wed-form { display: flex; flex-direction: column; gap: 0.85rem; }
.wed-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 50rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.15em;
}
.wed-input:focus { outline: none; border-color: var(--wed-gold); }
.wed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 50rem;
    font-weight: 700;
    cursor: pointer;
    color: #08301c;
    background: linear-gradient(90deg, var(--wed-gold), var(--wed-gold-2));
    box-shadow: 0 12px 30px -12px rgba(79, 191, 132, 0.8);
    transition: transform 0.15s ease;
}
.wed-btn:hover { transform: translateY(-2px); }
.wed-error { color: #ffb4a8; margin-top: 1.1rem; font-size: 0.9rem; }

/* ---- Gallery hero ---- */
.wed-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #12241a 0%, #1c3a28 48%, #2b5c3d 100%);
    color: #fff;
    padding: 9rem 0 4rem;
    text-align: center;
}
.wed-hero-inner { position: relative; z-index: 1; }
.wed-monogram-sm { font-size: 1.8rem; margin-bottom: 0.75rem; }
.wed-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
}
.wed-hero-sub { color: #ffffff; margin-bottom: 1.5rem; }
.wed-logout {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; font-weight: 600;
    color: #cbc3b4; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.4rem 1rem; border-radius: 50rem;
}
.wed-logout:hover { color: #fff; border-color: var(--wed-gold); }

/* ---- Photo grid: 8 per row ---- */
.wed-gallery-wrap { background: #eef3ec; padding: 3.5rem 0 5rem; }
.wed-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.6rem;
}
.wed-box {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #e7e2d8;
    box-shadow: 0 8px 22px -16px rgba(26, 23, 18, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wed-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.wed-box-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    background: rgba(26, 23, 18, 0.0);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.wed-box:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(79, 191, 132, 0.9); }
.wed-box:hover img { transform: scale(1.08); }
.wed-box:hover .wed-box-overlay { opacity: 1; background: rgba(26, 23, 18, 0.35); }

/* Progressively more columns + tighter gaps as the screen narrows */
@media (max-width: 1200px) { .wed-grid { grid-template-columns: repeat(7, 1fr); gap: 0.5rem; } }
@media (max-width: 991px)  { .wed-grid { grid-template-columns: repeat(6, 1fr); gap: 0.4rem; } }
@media (max-width: 767px)  {
    .wed-gallery-wrap .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .wed-grid { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
    .wed-box { border-radius: 8px; }
}
@media (max-width: 575px) {
    /* Keep a small, web-like gap between photos on mobile */
    .wed-gallery-wrap .container { padding-left: 0.5rem; padding-right: 0.5rem; }
    .wed-filters { padding-left: 0.25rem; padding-right: 0.25rem; }
    .wed-grid { grid-template-columns: repeat(4, 1fr); gap: 0.35rem; }
    .wed-box { border-radius: 7px; }
}

/* ---- Fullscreen carousel / lightbox ---- */
.wed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 7, 6, 0.96);
    backdrop-filter: blur(4px);
}
.wed-lightbox.open { display: flex; }
.wed-lb-stage {
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.wed-lb-stage img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.wed-lb-stage img.loaded { opacity: 1; transform: scale(1); }
.wed-lb-counter {
    position: absolute;
    bottom: -2.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #cbc3b4;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}
.wed-lb-close,
.wed-lb-nav {
    position: fixed;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}
.wed-lb-close:hover,
.wed-lb-nav:hover { background: rgba(79, 191, 132, 0.35); transform: scale(1.06); }
.wed-lb-close { top: 1.5rem; right: 1.5rem; }
.wed-lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.wed-lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.wed-lb-prev:hover, .wed-lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 575px) {
    .wed-lb-prev { left: 0.5rem; }
    .wed-lb-next { right: 0.5rem; }
    .wed-lb-close { top: 0.75rem; right: 0.75rem; }
}

/* ============================================================
   Home page - forest-green pastel hero + animations
   ============================================================ */
.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #12241a 0%, #1c3a28 48%, #2b5c3d 100%);
}
.home-hero .page-header-content { position: relative; z-index: 2; }

/* Animated aurora backdrop */
.home-hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    mix-blend-mode: screen;
    will-change: transform;
}
.home-orb.o1 { width: 460px; height: 460px; background: #7fd39a; top: -120px; left: -80px; animation: homeFloat1 15s ease-in-out infinite; }
.home-orb.o2 { width: 380px; height: 380px; background: #cdeccf; bottom: -140px; right: -60px; animation: homeFloat2 19s ease-in-out infinite; }
.home-orb.o3 { width: 320px; height: 320px; background: #4fbf84; top: 28%; right: 22%; animation: homeFloat3 17s ease-in-out infinite; }
.home-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(207, 236, 214, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(207, 236, 214, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 30% 20%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 20%, transparent 70%);
}
@keyframes homeFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 50px) scale(1.12); }
}
@keyframes homeFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -40px) scale(1.08); }
}
@keyframes homeFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.15); }
}

/* Shimmering gradient title */
.home-title {
    background: linear-gradient(90deg, #ffffff, #a7d7b0, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: homeShimmer 7s linear infinite;
}
@keyframes homeShimmer { to { background-position: 200% center; } }

/* Floating photo with pastel-green glow ring */
.home-photo {
    border: 4px solid rgba(167, 215, 176, 0.55);
    box-shadow: 0 0 0 6px rgba(127, 211, 154, 0.14), 0 25px 55px -22px rgba(0, 0, 0, 0.7);
    animation: homeBob 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-photo:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 0 8px rgba(127, 211, 154, 0.22), 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
@keyframes homeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
    .home-orb, .home-title, .home-photo { animation: none !important; }
}

/* Inline (SVG) icons for the wedding page - no Font Awesome dependency */
.wed-ic {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    display: inline-block;
    flex-shrink: 0;
}

/* Wedding photographer filter pills */
.wed-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}
.wed-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50rem;
    border: 1px solid rgba(79, 191, 132, 0.4);
    background: #ffffff;
    color: var(--wed-ink);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.wed-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgba(79, 191, 132, 0.9); }
.wed-pill.active {
    background: linear-gradient(90deg, #2b7a4f, #4fbf84);
    color: #ffffff;
    border-color: transparent;
}
.wed-pill-count {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 50rem;
    background: rgba(79, 191, 132, 0.16);
    color: #2b7a4f;
}
.wed-pill.active .wed-pill-count { background: rgba(255, 255, 255, 0.25); color: #ffffff; }

/* ============================================================
   Contact page - cool black theme
   ============================================================ */
.ct-hero {
    position: relative;
    overflow: hidden;
    padding: 11rem 0 6rem;
    background: linear-gradient(160deg, #141414 0%, #000000 55%, #1c1c1c 100%);
    color: #fff;
    text-align: center;
}
/* Monochrome the shared aurora orbs for the black theme */
.ct-hero .home-orb.o1 { background: #3a3a3a; }
.ct-hero .home-orb.o2 { background: #565656; }
.ct-hero .home-orb.o3 { background: #262626; }
.ct-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4d4d4;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
}
.ct-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ffffff;
    animation: rzPulse 2s infinite;
}
.ct-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1.25rem 0 0.75rem;
}
.ct-sub { color: #b8b8b8; font-size: 1.1rem; line-height: 1.6; margin: 0 auto; max-width: 560px; }

/* ---- Body ---- */
.ct-body { background: #000000; padding: 1rem 0 5rem; color: #fff; }
.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 4.5rem;
}
.ct-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ct-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--ct-accent) 16%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ct-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--ct-accent) 55%, transparent);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 45px -25px color-mix(in srgb, var(--ct-accent) 80%, black);
    color: #fff; text-decoration: none;
}
.ct-card:hover::before { opacity: 1; }
.ct-card-icon {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--ct-accent);
    background: color-mix(in srgb, var(--ct-accent) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--ct-accent) 30%, transparent);
    margin-bottom: 1.1rem;
}
.ct-card-name { position: relative; z-index: 1; color: #fff; font-weight: 700; margin-bottom: 0.35rem; }
.ct-card-desc { position: relative; z-index: 1; color: #9a9a9a; font-size: 0.92rem; margin-bottom: 1.25rem; }
.ct-card-cta {
    position: relative; z-index: 1;
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-weight: 700; font-size: 0.9rem;
    color: var(--ct-accent);
}
.ct-card-cta i { transition: transform 0.2s ease; }
.ct-card:hover .ct-card-cta i { transform: translateX(4px); }

/* ---- Email ---- */
.ct-email { text-align: center; }
.ct-email-title { color: #fff; font-weight: 800; margin-bottom: 0.4rem; }
.ct-email-sub { color: #9a9a9a; margin-bottom: 2rem; }
.ct-email-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.ct-email-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    text-align: left;
    transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}
.ct-email-pill i { font-size: 1.1rem; color: #d4d4d4; }
.ct-email-pill:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; }
.ct-email-type { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8a8a8a; }
.ct-email-addr { display: block; font-weight: 600; }

@media (max-width: 991px) { .ct-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
    .ct-hero { padding: 9rem 0 4rem; }
    .ct-grid { grid-template-columns: 1fr; }
}

/* Wedding - download & selection UI */
.wed-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.wed-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: #e8efe9;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.wed-hero-btn:hover { transform: translateY(-2px); color: #fff; border-color: var(--wed-gold); text-decoration: none; }
.wed-hero-btn.active { border-color: var(--wed-gold); color: #fff; background: rgba(79, 191, 132, 0.18); }
.wed-hero-btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, #2b7a4f, #4fbf84);
    border-color: transparent;
}
.wed-hero-btn-primary:hover { color: #ffffff; }
.wed-hero-btn-primary:disabled { opacity: 0.5; cursor: default; transform: none; }

/* Selection checkmark on each photo box */
.wed-check {
    position: absolute;
    top: 8px; left: 8px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #fff;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.wed-check svg { width: 15px; height: 15px; }
/* Show empty checkmarks while in selection mode */
body.wed-selecting .wed-check { display: flex; }
body.wed-selecting .wed-box-overlay { display: none; }
.wed-box.selected .wed-check { background: #2b7a4f; border-color: #2b7a4f; }
.wed-box.selected { outline: 3px solid #4fbf84; outline-offset: -3px; }
.wed-box.selected img { transform: scale(1.04); filter: brightness(0.9); }

/* Sticky selection action bar */
.wed-selectbar {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 200%);
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 0.85rem 0.75rem 1.5rem;
    border-radius: 50rem;
    background: rgba(13, 26, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wed-selectbar.open { transform: translate(-50%, 0); }
.wed-selectbar-count { color: #fff; font-weight: 700; white-space: nowrap; }
.wed-selectbar-actions { display: flex; gap: 0.5rem; }

/* Carousel download button (sits left of the close button) */
.wed-lb-download {
    position: fixed;
    top: 1.5rem;
    right: 5.25rem;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.wed-lb-download:hover { background: rgba(79, 191, 132, 0.4); transform: scale(1.06); color: #fff; }
@media (max-width: 575px) {
    .wed-lb-download { top: 0.75rem; right: 4rem; width: 44px; height: 44px; }
    .wed-selectbar { left: 0.75rem; right: 0.75rem; transform: translateY(200%); padding-left: 1.1rem; }
    .wed-selectbar.open { transform: translateY(0); }
    .wed-selectbar-count { font-size: 0.85rem; }
}

/* Wedding - download loader (bottom-right) */
.wed-loader {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.15rem;
    border-radius: 50rem;
    background: rgba(13, 26, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(150%);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wed-loader.open { opacity: 1; transform: translateY(0); }
.wed-loader-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #4fbf84;
    animation: wedSpin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes wedSpin { to { transform: rotate(360deg); } }
@media (max-width: 575px) {
    .wed-loader { right: 0.75rem; bottom: 0.75rem; font-size: 0.82rem; }
}
