/* =========================
   Classic Theme — Spiritual Compass
   ========================= */

/* --- Tokens --- */
:root {
    --bg: #020512;
    --surface: rgba(7, 11, 28, 0.72);
    --surface-2: rgba(15, 23, 42, 0.6);
    --text: #ffffff;
    /* Ultra bright white for maximum readability */
    --muted: #e2e8f0;
    /* Bright silver / light-blue for secondary text */
    --border: rgba(138, 246, 255, 0.15);

    --accent-ink: #8AF6FF;
    --accent-soft: rgba(138, 246, 255, 0.1);

    --cta: #8AF6FF;
    --cta-2: #5EE3F0;
    --cta-text: #020512;

    --heading-grad-from: #ffffff;
    /* Brighter heading */
    --heading-grad-to: #AEE3FF;
    --subheading: #E0F2FE;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --radius: 12px;
    --radius-lg: 16px;
    --shadow-1: 0 6px 16px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 0 20px rgba(138, 246, 255, 0.2);
    --glow: 0 0 15px rgba(138, 246, 255, 0.3);
    --container: 1200px;
}

/* --- Base --- */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    /* fallback */
    line-height: 1.6;
    position: relative;
    z-index: 0;
    font-weight: 500;
}

/* Antigravity video background */
.bg-video {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #020512;
}

.bg-video__media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05) brightness(0.9);
}

.bg-video__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(138, 246, 255, .10), transparent 60%),
        radial-gradient(900px 500px at 90% 20%, rgba(247, 138, 255, .08), transparent 60%),
        rgba(0, 0, 0, .35);
}

@media (prefers-reduced-motion: reduce) {
    .bg-video__media {
        display: none;
    }

    .bg-video {
        background: #070b1c url('assets/IMG_1227.jpeg') center/cover no-repeat;
    }
}

/* ===== Full-page blurred background (your second pic) ===== */
body::before {
    content: none !important;
}

/* Helpers */
img {
    display: block;
    max-width: 100%
}

a {
    color: var(--accent-ink);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto
}

.section {
    padding: 72px 0
}

.section.accent {
    background: var(--surface-2)
}

.section-head {
    margin-bottom: 28px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    background: linear-gradient(135deg, var(--heading-grad-from), var(--heading-grad-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(174, 227, 255, 0.2);
    color: var(--heading-grad-from);
    margin-top: 0;
    font-family: var(--font-serif);
    font-weight: 900;
}

.sub,
.about-sub {
    color: var(--subheading);
    font-weight: 700;
}

.center {
    text-align: center
}

.mt-12 {
    margin-top: 12px
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    z-index: 10
}

/* --- Header --- */
/* --- Header --- */
.site-header {
    position: sticky;
    top: 24px;
    z-index: 1000;
    margin: 0 auto;
    width: min(96%, 1400px);
    background: rgba(4, 9, 24, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(138, 246, 255, 0.25);
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(138, 246, 255, 0.1);
    padding: 4px 12px;
    transition: all 0.3s ease;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 10px 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: var(--text);
}

.brand img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px;
    border: 1px solid rgba(138, 246, 255, 0.4);
    box-shadow: 0 0 15px rgba(138, 246, 255, 0.3);
}

.brand-text h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(174, 227, 255, 0.4);
}

.nav {
    display: none;
    gap: 36px;
    align-items: center;
    justify-content: flex-end;
}

.nav a {
    font-family: var(--font-serif);
    color: var(--muted);
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-ink);
    box-shadow: 0 0 10px var(--accent-ink);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(138, 246, 255, 0.8);
}

.nav a:hover:not(.btn)::after,
.nav a.active:not(.btn)::after {
    width: 100%;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(138, 246, 255, 0.1);
    border: 1px solid rgba(138, 246, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 24px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(138, 246, 255, 0.6);
}

@media(min-width: 1050px) {
    .nav {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }
}

.nav.open {
    display: grid;
    grid-auto-flow: row;
    gap: 24px;
    padding: 32px;
    background: rgba(4, 9, 24, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(138, 246, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(138, 246, 255, 0.2);
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    z-index: 1001;
}

.nav.open a {
    font-size: 1.35rem;
    text-align: center;
}

.nav.open .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.35rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .2s;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-primary {
    background: linear-gradient(180deg, var(--cta), var(--cta-2));
    color: var(--cta-text);
    box-shadow: var(--shadow-1), var(--glow);
    text-shadow: none;
    -webkit-text-fill-color: var(--cta-text);
}

.btn-secondary {
    background: rgba(138, 246, 255, 0.05);
    border-color: rgba(138, 246, 255, 0.3);
    color: var(--accent-ink);
    -webkit-text-fill-color: var(--accent-ink);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent-ink)
}

.btn-sm {
    padding: 8px 14px
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.btn-lg {
    padding: 14px 22px;
    font-size: 1.05rem
}

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border)
}

.hero-inner {
    display: grid;
    gap: 28px;
    align-items: center;
    padding: 56px 0
}

.display {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw + .6rem, 3.2rem);
    font-weight: 900;
    margin: 0 0 12px;
    color: #F2F6FF;
}

.lead {
    color: #CFE0FF;
    font-size: 1.06rem;
    font-weight: 600;
    max-width: 58ch;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px
}

.trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    list-style: none;
    color: #CFE0FF;
    margin: 14px 0 0;
    padding: 0
}

.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    min-height: 260px
}

@media(min-width:950px) {
    .hero-inner {
        grid-template-columns: 1.15fr .85fr
    }
}

/* ================= About section semi-background (your first pic) ================= */
.about-hero {
    position: relative;
    overflow: hidden;
    background-image: none !important;
}

.astro-box__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .08) 60%, rgba(0, 0, 0, .15) 100%);
    pointer-events: none;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .40) 45%, rgba(0, 0, 0, .28));
}

/* Light text for readability on dark image */
/* Light text for readability on dark image */
.about-title {
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.about-sub {
    color: var(--subheading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.about-text {
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.about-story-grid {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 56px;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.about-row .order-1 {
    order: 1;
}

.about-row .order-2 {
    order: 2;
}

.about-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cosmic-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    border: 1px solid var(--border);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    width: 100%;
    max-width: 320px;
    /* Force image to be small */
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.cosmic-img:hover {
    box-shadow: 0 0 35px rgba(138, 246, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
}

.about-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-block h3 {
    margin-bottom: 16px;
    font-size: 1.6rem;
    font-weight: 900;
}

.about-text-block p {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media(min-width: 900px) {
    .about-row {
        /* Text gets slightly more space than the small image */
        grid-template-columns: 0.8fr 1.2fr;
        gap: 64px;
    }

    .about-row.flip {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .about-row.flip .order-1 {
        order: 2;
    }

    .about-row.flip .order-2 {
        order: 1;
    }
}

/* --- Services --- */
.svc-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, 1fr)
}

@media(max-width:1200px) {
    .svc-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:900px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .svc-grid {
        grid-template-columns: 1fr
    }
}

.svc-card {
    background: rgba(7, 11, 28, .72);
    backdrop-filter: blur(6px);
    border: 1px solid #1b2340;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-1);
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform .15s, box-shadow .2s, border-color .2s;
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2)
}

.svc-media {
    position: relative;
    display: block;
    background: var(--accent-soft)
}

.svc-media img {
    width: 100%;
    height: 180px;
    object-fit: cover
}

.svc-pill {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #0f172a;
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .8rem
}

.svc-body {
    padding: 16px;
    display: grid;
    gap: 8px;
    align-content: start
}

.svc-body h3 {
    margin: 2px 0 0;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 900;
    color: #F2F6FF;
}

.svc-body p {
    margin: 0;
    color: #ADC0E8;
    min-height: 48px;
    font-weight: 600;
}

.svc-cta {
    margin-top: 10px;
    display: inline-block;
    background: linear-gradient(180deg, var(--cta), var(--cta-2));
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 8px 20px rgba(255, 122, 0, .25)
}

.svc-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

/* --- Fortune Spinner --- */
.spinner-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--border);
    background: radial-gradient(circle at center, rgba(138, 246, 255, 0.05) 0%, rgba(4, 9, 24, 0.8) 100%);
    box-shadow: 0 0 30px rgba(138, 246, 255, 0.2), inset 0 0 20px rgba(138, 246, 255, 0.1);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-content span {
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-ink);
    text-shadow: 0 0 10px rgba(138, 246, 255, 0.5);
}

.spinner-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cta), var(--cta-2));
    color: var(--cta-text);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(138, 246, 255, 0.5);
    z-index: 2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spinner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(138, 246, 255, 0.8);
}

.spinner-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: scale(0.95);
    box-shadow: none;
}

.fortune-result {
    margin-top: 30px;
    padding: 24px;
    background: rgba(4, 9, 24, 0.8);
    border: 1px solid rgba(138, 246, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 246, 255, 0.15);
    max-width: 600px;
    margin-inline: auto;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.fortune-result.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
}

.fortune-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 900;
    color: #F2F6FF;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.fortune-result::before {
    content: "✨";
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* --- Forms / Booking --- */
.grid {
    display: grid;
    gap: 22px
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-1)
}

.form .row-2 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr
}

.form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

input,
select,
textarea {
    background: #fff;
    color: #020512;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px #e5e7eb
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    color: #4b5563
}

.ticks li {
    margin: 6px 0;
    position: relative;
    padding-left: 22px
}

.ticks li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #9aa3b2;
    font-size: 1.2rem;
    line-height: 1
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid rgba(138, 246, 255, 0.15);
    background: rgba(4, 9, 24, 0.9);
    padding: 32px 0;
    margin-top: 50px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand p {
    margin: 0;
    color: var(--text);
    font-weight: 800;
}

.company-text {
    font-size: 0.85rem;
    color: var(--muted) !important;
    margin-top: 4px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600 !important;
}

.nav.small {
    display: flex;
}

.nav.small a {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 4px 0;
}

.nav.small a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 246, 255, 0.5);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Specific overrides for elements with their own hover transforms */
.svc-card.reveal {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;
}

.svc-card.reveal.active:hover {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    transform: translateY(-4px);
}