/* ============================================================
   Vacation Agency Plugin — style.css
   Design: Dark editorial / adventure-magazine aesthetic
   Palette: Near-black bg · ivory text · golden yellow accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,600;1,400&family=DM+Sans:wght@400;500&display=swap');

/* ── CSS Variables ── */
.va-wrap, .va-hero, .va-section {
    --va-bg:        #0e0e0e;
    --va-surface:   #161616;
    --va-surface2:  #1f1f1f;
    --va-ivory:     #f0ebe0;
    --va-gold:      #f5c842;
    --va-gold-dark: #c9a22e;
    --va-green:     #3d7a35;
    --va-white:     #ffffff;
    --va-muted:     #888;
    --va-border:    rgba(245,200,66,.18);
    --va-radius:    14px;
    --va-gap:       clamp(1.5rem, 4vw, 3rem);
    --va-font-head: 'Bebas Neue', sans-serif;
    --va-font-body: 'DM Sans', sans-serif;
    --va-font-play: 'Playfair Display', serif;
    --va-max:       1280px;
    --va-trans:     .45s cubic-bezier(.22,1,.36,1);
}

/* ── Reset / Base ── */
.va-wrap *, .va-hero *, .va-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Scroll Reveal Utility ── */
.va-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s var(--va-trans), transform .7s var(--va-trans);
}
.va-reveal.va-visible { opacity: 1; transform: none; }
.va-reveal--d1 { transition-delay: .1s; }
.va-reveal--d2 { transition-delay: .22s; }
.va-reveal--d3 { transition-delay: .38s; }

/* ╔══════════════════════════════════════╗
   ║            HERO SECTION              ║
   ╚══════════════════════════════════════╝ */

.va-hero {
    background: var(--va-bg);
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 3rem);
}

/* Decorative gradient blobs */
.va-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.va-blob--1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(61,122,53,.55) 0%, transparent 70%);
    top: -120px; left: -80px;
}
.va-blob--2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(245,200,66,.22) 0%, transparent 70%);
    bottom: -60px; right: 10%;
}

.va-hero__inner {
    max-width: var(--va-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--va-gap);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Agency eyebrow */
.va-hero__agency {
    display: inline-block;
    font-family: var(--va-font-body);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--va-gold);
    border: 1px solid var(--va-border);
    padding: .28rem .75rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

.va-hero__title {
    font-family: var(--va-font-head);
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: .02em;
    line-height: .95;
    color: var(--va-ivory);
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 40px rgba(0,0,0,.5);
}

.va-hero__subtitle {
    font-family: var(--va-font-body);
    font-size: .88rem;
    line-height: 1.7;
    color: var(--va-muted);
    max-width: 420px;
    margin-bottom: 2rem;
}

/* Feature badges */
.va-hero__badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.4rem;
}

.va-badge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--va-surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--va-radius);
    padding: 1rem 1.2rem;
    transition: transform var(--va-trans), box-shadow var(--va-trans);
}
.va-badge:hover {
    transform: translateX(6px);
    box-shadow: -3px 0 0 var(--va-gold);
}
.va-badge__icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--va-gold), var(--va-gold-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #000;
}
.va-badge strong {
    display: block;
    font-family: var(--va-font-body);
    font-size: .82rem;
    font-weight: 600;
    color: var(--va-ivory);
    margin-bottom: .25rem;
}
.va-badge p {
    font-family: var(--va-font-body);
    font-size: .74rem;
    color: var(--va-muted);
    line-height: 1.5;
}

/* CTA Button */
.va-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--va-gold);
    color: #000;
    font-family: var(--va-font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .9rem 1.8rem;
    border-radius: 8px;
    transition: background var(--va-trans), transform var(--va-trans), box-shadow var(--va-trans);
    box-shadow: 0 6px 24px rgba(245,200,66,.3);
}
.va-btn:hover {
    background: var(--va-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245,200,66,.45);
}
.va-btn svg { transition: transform .3s ease; }
.va-btn:hover svg { transform: translateX(4px); }

/* ── Image Collage ── */
.va-hero__right { position: relative; }

.va-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr .55fr;
    gap: 10px;
}
.va-collage__main { position: relative; }
.va-collage__side { display: flex; flex-direction: column; gap: 10px; }

.va-collage__img {
    border-radius: var(--va-radius);
    overflow: hidden;
    position: relative;
}
.va-collage__img--main { height: 340px; }
.va-collage__img--top,
.va-collage__img--bottom { height: 165px; }

.va-collage__placeholder {
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--va-trans);
}
.va-collage__img:hover .va-collage__placeholder { transform: scale(1.04); }

.va-collage__placeholder svg {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}

.va-collage__overlay-text {
    position: absolute;
    bottom: 10px; left: 12px;
    font-family: var(--va-font-body);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.45);
    padding: .25rem .6rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* Border treatments on each image */
.va-collage__placeholder--forest { background: #1c3820; }
.va-collage__placeholder--beach  { background: #1a3040; }
.va-collage__placeholder--city   { background: #0d0d1e; }

/* Caption tag */
.va-collage__caption {
    position: absolute;
    bottom: -18px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--va-gold);
    color: #000;
    font-family: var(--va-font-body);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: .4rem 1rem;
    border-radius: 99px;
    display: flex; align-items: center; gap: .4rem;
    box-shadow: 0 6px 18px rgba(245,200,66,.4);
    z-index: 2;
}

/* ╔══════════════════════════════════════╗
   ║           FEATURES SECTION           ║
   ╚══════════════════════════════════════╝ */

.va-section {
    background: var(--va-bg);
    padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    position: relative;
    overflow: hidden;
}

/* Ink splatter decorations */
.va-ink {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: .07;
}
.va-ink--1 {
    width: 600px; height: 600px;
    background: var(--va-gold);
    filter: blur(120px);
    top: 20%; right: -200px;
}
.va-ink--2 {
    width: 400px; height: 400px;
    background: var(--va-green);
    filter: blur(100px);
    bottom: 10%; left: -100px;
}

/* Section heading */
.va-section__head {
    text-align: center;
    max-width: var(--va-max);
    margin: 0 auto 5rem;
}
.va-section__title {
    font-family: var(--va-font-play);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--va-ivory);
    line-height: 1.15;
    position: relative;
    display: inline-block;
}
.va-section__title em {
    font-style: italic;
    color: var(--va-gold);
}
.va-section__line {
    width: 60px; height: 3px;
    background: var(--va-gold);
    border-radius: 2px;
    margin: 1.2rem auto 0;
}

/* ── Feature Cards ── */
.va-features {
    max-width: var(--va-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
    position: relative;
    z-index: 1;
}

.va-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--va-gap);
    align-items: center;
}
.va-feature--right  { direction: rtl; }
.va-feature--right > * { direction: ltr; }
.va-feature--center { text-align: center; }
.va-feature--center .va-feature__body {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.va-feature--center {
    grid-template-columns: 1fr;
    justify-items: center;
}
.va-feature--large  .va-feature__media-inner { height: 380px; }

/* Media box */
.va-feature__media { position: relative; }
.va-feature__media-inner {
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}
.va-feature__media-inner svg {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Ink mask overlay effect */
.va-feature__ink-mask {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, transparent 50%, rgba(14,14,14,.75) 100%);
    pointer-events: none;
}

/* Hover zoom on media */
.va-feature__media-inner {
    transition: box-shadow var(--va-trans);
}
.va-feature:hover .va-feature__media-inner {
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.va-feature__media-inner svg {
    transition: transform var(--va-trans);
}
.va-feature:hover .va-feature__media-inner svg {
    transform: scale(1.05);
}

/* Body text */
.va-feature__title {
    font-family: var(--va-font-play);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--va-ivory);
    margin-bottom: .75rem;
    position: relative;
    display: inline-block;
}
.va-feature__title::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--va-gold);
    transition: width .5s ease;
}
.va-feature:hover .va-feature__title::after { width: 100%; }

.va-feature__desc {
    font-family: var(--va-font-body);
    font-size: .9rem;
    line-height: 1.75;
    color: var(--va-muted);
    max-width: 380px;
}
.va-feature--right .va-feature__desc,
.va-feature--center .va-feature__desc { margin-left: auto; margin-right: auto; }

/* ── Destinations Grid ── */
.va-destinations {
    max-width: var(--va-max);
    margin: 5rem auto 0;
    position: relative;
    z-index: 1;
}
.va-destinations__title {
    font-family: var(--va-font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--va-ivory);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: .04em;
}
.va-destinations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.va-dest-card {
    background: var(--va-surface);
    border-radius: var(--va-radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform var(--va-trans), box-shadow var(--va-trans);
}
.va-dest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0,0,0,.5);
}

.va-dest-card__img {
    height: 180px;
    background: var(--va-surface2) center/cover no-repeat;
    position: relative;
    display: flex; align-items: flex-end;
}
.va-dest-card__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
}
.va-dest-card__tag {
    position: relative;
    z-index: 1;
    margin: 0 0 10px 10px;
    background: var(--va-gold);
    color: #000;
    font-family: var(--va-font-body);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .22rem .6rem;
    border-radius: 6px;
}
.va-dest-card__body {
    padding: 1rem 1.2rem 1.4rem;
}
.va-dest-card__body h4 {
    font-family: var(--va-font-play);
    font-size: 1rem;
    font-weight: 600;
    color: var(--va-ivory);
    margin-bottom: .3rem;
}
.va-dest-card__body p {
    font-family: var(--va-font-body);
    font-size: .78rem;
    color: var(--va-muted);
    line-height: 1.5;
}

/* ╔══════════════════════════════════════╗
   ║            RESPONSIVE               ║
   ╚══════════════════════════════════════╝ */

@media (max-width: 900px) {
    .va-hero__inner { grid-template-columns: 1fr; }
    .va-hero__right { order: -1; }
    .va-collage { max-width: 480px; margin: 0 auto; }

    .va-feature { grid-template-columns: 1fr; }
    .va-feature--right { direction: ltr; }
    .va-feature--center .va-feature__body { grid-column: 1; }
}

@media (max-width: 600px) {
    .va-collage__img--main { height: 220px; }
    .va-collage__img--top,
    .va-collage__img--bottom { height: 105px; }
    .va-feature__media-inner { height: 200px; }
    .va-feature--large .va-feature__media-inner { height: 220px; }
    .va-destinations__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .va-destinations__grid { grid-template-columns: 1fr; }
}
