/* Site-wide polish — MaruVista */
:root {
    --mv-gold: #d4af37;
    --mv-gold-soft: #e8c96a;
    --mv-green: #25d366;
}

::selection {
    background: rgba(212, 175, 55, 0.35);
    color: #111;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal */
.section-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section heading accent */
.tours-heading-main,
.content-section h2,
.why-heading,
.blog-heading,
.credibility-heading {
    position: relative;
}

.section-gold-line {
    display: block;
    width: 48px;
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--mv-gold), transparent);
}

.section-gold-line--left {
    margin-left: 0;
    margin-right: auto;
}

.content-section h2 + .section-gold-line {
    margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.about-copy h2 + .section-gold-line {
    margin-bottom: 1rem;
}

.exclusive-heading + .section-gold-line {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.tours-heading {
    margin-bottom: 0.35rem;
}

/* Hero glass enhancement */
.hero-glass {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tours-heading + .section-gold-line {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.why-heading + .section-gold-line,
.blog-heading + .section-gold-line {
    margin-bottom: 1rem;
}

.credibility-heading + .section-gold-line {
    margin-bottom: 1rem;
}

/* Header scroll polish */
.site-header.is-fixed {
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.1));
}

.site-header.is-scrolled.is-fixed .header-main {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero CTA gold */
.hero-btn-primary {
    background: linear-gradient(135deg, #e8c96a 0%, #c9922e 55%, #b07d1f 100%);
    border-color: rgba(255, 255, 255, 0.55);
    color: #1a1510;
    box-shadow: 0 6px 22px rgba(201, 146, 46, 0.35);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #f0d078 0%, #d4a038 55%, #c9922e 100%);
    box-shadow: 0 10px 28px rgba(201, 146, 46, 0.45);
}

/* Hero features entrance */
.hero-feat {
    animation: heroFeatIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.55s + var(--feat-i, 0) * 0.12s);
}

@keyframes heroFeatIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-feat svg {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-feat:hover svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(232, 201, 106, 0.45));
}

/* Stagger reveal inside sections */
.stagger-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stagger-i, 0) * 0.07s);
}

.section-reveal.is-visible .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

/* Lazy image fade-in */
.tour-card-image img[loading="lazy"],
.blog-card img[loading="lazy"],
.about-media img[loading="lazy"],
.service-card-visual img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.tour-card-image img[loading="lazy"].img-loaded,
.blog-card img[loading="lazy"].img-loaded,
.about-media img[loading="lazy"].img-loaded,
.service-card-visual img[loading="lazy"].img-loaded {
    opacity: 1;
}

/* Card polish */
.tour-card,
.blog-card,
.why-card,
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover,
.blog-card:hover,
.why-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.cred-stat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cred-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(197, 160, 89, 0.15);
}

.review-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.tours-view-all {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tours-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 146, 46, 0.25);
}

.about-media {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.about-media img {
    transition: transform 0.6s ease;
}

.about-section:hover .about-media img {
    transform: scale(1.03);
}

/* Footer dev strip glow */
.footer-dev-inner a {
    position: relative;
}

.footer-dev-inner a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mv-gold-soft), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.footer-dev-inner a:hover::after {
    opacity: 1;
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--mv-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .section-reveal,
    .stagger-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-feat {
        animation: none;
    }

    img[loading="lazy"].img-loaded,
    .tour-card-image img,
    .blog-card img,
    .about-media img {
        opacity: 1;
    }

    html {
        scroll-behavior: auto;
    }
}
