/*
Theme Name: Mariana Travel
Description: Къстъм WordPress тема за туристическа агенция Мариана Травел, Девин.
Version: 3.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: marianatravel
*/
:root {
    --forest:#13362b; --deep:#09251c; --gold:#efca83; --cream:#faf7ee;
    --sand:#f0e9d9; --muted:#52625b; --line:#ded5c3; --white:#fffefa;
    --serif:Georgia, 'Times New Roman', serif;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--cream);color:var(--forest);font:16px/1.65 system-ui,sans-serif}
a {color:inherit;text-underline-offset:.22em}
a:focus-visible,summary:focus-visible {outline:2px solid #ad7737;outline-offset:4px}
img {max-width:100%;height:auto}
h1,h2,h3,p {margin:0}
h1,h2,h3 {font-family:var(--serif);font-weight:500;line-height:1.05}
h1 {font-size:clamp(2.7rem,7vw,5.2rem)}
h2 {font-size:clamp(2.25rem,4.4vw,3.6rem);letter-spacing:-.04em}
h3 {font-size:1.65rem}
.wrap {width:min(1180px,calc(100% - 80px));margin-inline:auto}
.skip-link {position:absolute;top:-100px;left:1rem;z-index:5;padding:.65rem;background:var(--gold);color:var(--deep)}
.skip-link:focus {top:1rem}
.site-header {background:var(--deep);color:var(--white);border-bottom:1px solid #ffffff24}
.masthead {min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.wordmark {font:1.35rem/1 var(--serif);color:var(--gold);text-decoration:none;white-space:nowrap;letter-spacing:.055em}
.wordmark em {font-style:normal;color:var(--white)}
.wordmark small {font:700 .57rem/1 system-ui,sans-serif;letter-spacing:.36em;display:block;margin-top:.6rem}
.custom-logo-link {display:block;max-width:160px}
.custom-logo {max-height:72px;width:auto;display:block}
.masthead nav {display:flex;align-items:center;flex-wrap:wrap;gap:clamp(12px,2vw,30px);font-size:.88rem}
.masthead nav a,.header-phone {text-decoration:none}
.masthead nav a:hover,.header-phone:hover {color:var(--gold)}
.header-phone {border:1px solid #ebc57866;padding:.48rem .85rem;color:var(--gold);white-space:nowrap;font-size:.88rem}
.hero {
    color:var(--white); min-height:clamp(480px,48vw,675px);display:grid;align-items:center;
    background:linear-gradient(90deg,#091f16ed 2%,#0a231bb0 36%,#0a231b30 75%),#17372b url('assets/rhodopes.webp') center 56%/cover no-repeat;
    border-bottom:4px solid var(--gold);
}
.hero-copy {padding-block:74px}
.eyebrow {font-size:.72rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:#815b2b}
.hero .eyebrow,.site-footer .eyebrow {color:var(--gold)}
.hero h1 {font-size:clamp(3.4rem,8.8vw,8.15rem);line-height:.89;letter-spacing:-.06em;margin:24px 0}
.hero h1 em {color:var(--gold);font-weight:400}
.hero p:not(.eyebrow) {font-size:clamp(1rem,2vw,1.25rem);color:#fff9ec}
.button {display:inline-flex;align-items:center;gap:18px;background:var(--gold);color:var(--deep);padding:.8rem 1.12rem;text-decoration:none;font-weight:750;font-size:.9rem;border:1px solid transparent}
.button:hover {background:#f8d898}
.hero .button {margin-top:27px}
.section {padding-block:clamp(50px,7vw,94px)}
.section-heading {display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:25px}
.section-heading p,.country-grid p {margin-top:10px;color:var(--muted)}
.text-link {font-size:.9rem;font-weight:750;color:var(--forest)}
.empty {background:var(--white);border:1px solid var(--line);padding:20px 23px}
.empty a {font-weight:700;display:inline-block}
.routes {margin-top:18px;border-bottom:1px solid var(--line);padding-bottom:13px}
.routes summary {cursor:pointer;font-weight:650;width:fit-content}
.routes ul {margin-bottom:.3rem;padding-left:1.2rem}
.routes li {margin-top:.4rem}
.destinations {background:var(--sand)}
.type-grid,.card-grid,.country-grid {display:grid;gap:16px}
.type-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
.type-card {background:var(--white);border:1px solid var(--line);padding:22px;min-height:190px;text-decoration:none;display:flex;flex-direction:column}
.type-card:hover {border-color:#a67739}
.type-card p {color:var(--muted);margin:.65rem 0 1rem}
.type-card span {margin-top:auto;color:#815b2b}
.country-grid,.card-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.country-grid {margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}
.rhodope-grid {display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:clamp(25px,6vw,86px)}
.rhodope-grid h2 {margin:.8rem 0 1rem}
.rhodope-grid p:not(.eyebrow) {color:var(--muted);margin-bottom:.8rem}
.rhodope-image {min-height:360px;background:var(--forest) url('assets/rhodopes.webp') 83% center/cover no-repeat}
.specials {padding-bottom:clamp(50px,7vw,94px)}
.special-panel {background:var(--forest);color:var(--white);padding:clamp(25px,5vw,55px);display:flex;justify-content:space-between;align-items:center;gap:22px}
.special-panel p {color:#f8edd3;margin-top:10px}
.special-panel .button {flex-shrink:0}
.trip-card {background:var(--white);border:1px solid var(--line);overflow:hidden}
.trip-image {display:block}
.trip-image img {display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.trip-copy {padding:22px}
.trip-copy h3 {margin-bottom:.6rem}
.trip-copy h3 a {text-decoration:none}
.trip-copy h3 a:hover {text-decoration:underline}
.trip-copy .text-link {display:inline-block;margin-top:.7rem}
.trip-meta {color:var(--muted);font-size:.87rem;margin-bottom:.6rem}
.trip-meta time {color:#805a28;font-weight:750}
.inner-page {min-height:50vh}
.inner-page h1 {margin-bottom:1.6rem}
.article {max-width:840px;margin-inline:auto}
.article-image {display:block;margin-bottom:1.5rem}
.article-body {margin:1.5rem 0}
.article-body p {margin-bottom:1em}
.pagination {margin-top:1.5rem}
.site-footer {background:var(--deep);color:var(--white);padding-top:47px}
.footer-grid {display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding-bottom:40px}
.footer-grid h2 {margin-top:.7rem}
.footer-grid address {font-style:normal}
.footer-grid address p {margin-bottom:.7rem}
.footer-grid address a {color:var(--gold)}
.footer-end {padding-block:15px;border-top:1px solid #ffffff24;color:#ece5d4;font-size:.82rem;display:flex;justify-content:space-between;gap:12px}
@media(max-width:860px) {
    .wrap {width:calc(100% - 42px)}
    .masthead {flex-wrap:wrap;gap:11px 18px;padding-block:14px}
    .masthead nav {order:3;width:100%}
    .type-grid,.card-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:580px) {
    .wrap {width:calc(100% - 32px)}
    .masthead nav {gap:6px 13px;font-size:.8rem}
    .header-phone {font-size:.8rem}
    .hero {min-height:450px;background-position:63% center}
    .hero-copy {padding-block:55px}
    .section-heading,.special-panel {align-items:flex-start;flex-direction:column}
    .rhodope-grid,.footer-grid,.card-grid {grid-template-columns:1fr}
    .rhodope-image {min-height:240px}
    .type-grid,.country-grid {gap:10px}
    .type-card {min-height:auto;padding:13px}
    .type-card h3,.country-grid h3 {font-size:1.2rem}
    .type-card p,.country-grid p {font-size:.88rem}
}
@media(prefers-reduced-motion:reduce) {
    html {scroll-behavior:auto}
}

/* Home layout and the shared brand elements. */
.wrap {width:min(1380px,calc(100% - 96px))}
.site-header {background:#0b2a20}
.masthead {min-height:88px}
.wordmark {display:inline-flex;align-items:center;gap:12px;font-size:1.24rem}
.brand-symbol {display:block;width:43px;flex:none}
.brand-symbol svg {display:block;width:100%}
.header-phone {padding:.65rem 1.05rem;border-radius:999px}
.hero {
    min-height:clamp(500px,46vw,735px);
    background:linear-gradient(90deg,#081f17f2 0%,#0c2319c4 25%,#0c23194d 56%,transparent 82%),#17372b url('assets/rhodopes.webp') center 57%/cover no-repeat;
    border-bottom:1px solid #bb914f;
}
.hero-copy {padding-block:92px 110px}
.hero h1 {font-size:clamp(3.6rem,7.5vw,8.2rem);letter-spacing:-.055em;margin:24px 0 22px}
.hero .eyebrow {letter-spacing:.13em}
.button {border-radius:999px;padding:.95rem 1.35rem}
.hero-contact {display:inline-block;margin:22px 0 0 21px;font-size:.9rem;font-weight:700;color:var(--white)}
.section {padding-block:clamp(54px,6vw,90px)}
.section-heading {margin-bottom:30px}
.section-heading h2 {letter-spacing:-.035em}
.departure-layout {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:20px}
.departure-empty,.route-panel {height:100%;border-radius:18px;padding:clamp(23px,3vw,43px)}
.departure-empty {display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:var(--white);border:1px solid var(--line);min-height:240px}
.departure-empty h3 {font-size:clamp(1.8rem,3vw,2.65rem)}
.departure-empty p {color:var(--muted);margin:12px 0 21px}
.route-panel {background:var(--forest);color:var(--white)}
.route-panel h3 {color:var(--gold)}
.route-panel ul {padding:0;margin:13px 0;list-style:none}
.route-panel li {border-top:1px solid #ffffff2b;padding:9px 0;font-size:.9rem;line-height:1.45}
.route-panel p {color:#ede1c8;font-size:.8rem}
.departure-offers .card-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.trip-card {border-radius:16px}
.destinations {background:#eee7d7}
.type-grid {gap:18px}
.type-card {
    position:relative;isolation:isolate;border:0;border-radius:18px;min-height:clamp(245px,25vw,345px);
    justify-content:flex-end;padding:clamp(18px,2.1vw,32px);overflow:hidden;color:white;background:var(--forest);
}
.type-card::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 14%,#081a1380 48%,#081a13f5 99%),var(--destination-photo) center/cover no-repeat;transition:transform .35s ease}
.type-card:hover::before {transform:scale(1.045)}
.type-card--bulgaria {--destination-photo:url('assets/bulgaria.webp')}
.type-card--abroad {--destination-photo:url('assets/abroad.webp')}
.type-card--one-day {--destination-photo:url('assets/one-day.webp')}
.type-card--weekends {--destination-photo:url('assets/weekends.webp')}
.type-card h3 {font-size:clamp(1.55rem,2.5vw,2.55rem)}
.type-card p {color:#fff7e7;margin:.6rem 0 .9rem;line-height:1.4}
.type-card span {margin-top:0;color:var(--gold);display:grid;place-items:center;border:1px solid #efca8390;border-radius:50%;width:36px;height:36px}
.country-grid {margin-top:34px;padding-top:24px}
.country-grid > div {padding-inline:16px;border-left:1px solid #c7b99e}
.rhodope-grid {grid-template-columns:1.15fr 1fr}
.rhodope-image {position:relative;min-height:0;margin:0;border-radius:20px;overflow:hidden;background:var(--forest)}
.rhodope-image img {display:block;width:100%;aspect-ratio:1.43;object-fit:cover}
.rhodope-image figcaption {position:absolute;bottom:16px;left:16px;padding:8px 14px;border-radius:999px;background:#09251ced;color:var(--white);font-size:.8rem}
.special-panel {border-radius:20px;background:linear-gradient(110deg,#113a2a,#1d4a37);border:1px solid #a18048}
.site-footer {padding-top:64px}
.footer-grid address a[href^="tel"] {font-size:1.1rem}
@media(max-width:1020px) {
    .wrap {width:calc(100% - 56px)}
    .type-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px) {
    .departure-layout,.rhodope-grid {grid-template-columns:1fr}
    .hero {min-height:490px;background-position:61% center}
    .hero-copy {padding-block:65px 80px}
}
@media(max-width:580px) {
    .wrap {width:calc(100% - 32px)}
    .masthead {min-height:auto}
    .wordmark {gap:7px;font-size:.97rem}
    .brand-symbol {width:32px}
    .header-phone {padding:.48rem .65rem}
    .hero {min-height:445px}
    .hero h1 {font-size:clamp(3rem,11.5vw,4.7rem)}
    .hero-contact {margin-left:12px}
    .hero .button {padding:.68rem .8rem}
    .departure-offers .card-grid {grid-template-columns:1fr}
    .type-grid {gap:11px}
    .type-card {min-height:220px;padding:13px;border-radius:13px}
    .type-card h3 {font-size:clamp(1.18rem,5vw,1.6rem)}
    .type-card p {font-size:.84rem}
    .country-grid {grid-template-columns:1fr;gap:14px}
}
@media(prefers-reduced-motion:reduce) {
    .type-card::before {transition:none}
}

/* Trip discovery and catalog */
.home-finder {position:relative;margin-top:-47px;z-index:1}
.trip-finder {padding:clamp(18px,3vw,32px);background:var(--white);border:1px solid var(--line);border-radius:20px;box-shadow:0 14px 36px #0b30201a}
.finder-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.finder-heading h2 {font-size:clamp(1.6rem,3vw,2.35rem)}
.finder-form {display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1fr auto;gap:12px;align-items:end}
.finder-form label {display:grid;gap:4px;min-width:0;font-size:.83rem;font-weight:700}
.finder-form input,.finder-form select {width:100%;min-width:0;min-height:46px;padding:8px 10px;border:1px solid #bcb2a1;border-radius:9px;background:#faf7ee;color:var(--deep);font:inherit}
.finder-form button {cursor:pointer;justify-content:center;min-height:46px;padding:0 19px;white-space:nowrap}
.finder-shortcuts,.trip-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:15px}
.finder-shortcuts a,.share-trip {border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:var(--cream);color:var(--forest);font:inherit;font-size:.82rem;font-weight:700;text-decoration:none}
.finder-shortcuts a:hover,.share-trip:hover {background:#f3e2bf}
.share-trip {cursor:pointer;padding:10px 15px}
.result-count {margin:20px 0 0;color:var(--muted);font-size:.92rem}
.inner-page .trip-finder {margin-bottom:22px}
.result-count + .card-grid,.result-count + .empty {margin-top:16px}
.offer-facts {display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.offer-facts strong {font-size:1.16rem}
.article .offer-facts {justify-content:flex-start;margin-bottom:14px}
.trip-image {overflow:hidden}
.trip-image img {transition:transform .35s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
    .trip-card {transition:box-shadow .25s ease}
    .trip-card:hover {box-shadow:0 12px 24px #09251c20}
    .trip-card:hover .trip-image img {transform:scale(1.045)}
}
@media(max-width:920px) {
    .finder-form {grid-template-columns:repeat(2,minmax(0,1fr))}
    .finder-form button {grid-column:1/-1}
}
@media(max-width:440px) {
    .home-finder {margin-top:-30px}
    .finder-form {grid-template-columns:1fr}
}
