/* =====================================================================
   VIVID HIRE STUDIO – Premium theme (black · gold · cream)
   ===================================================================== */
:root {
    --ink: #0b0b0c;
    --ink-800: #121214;
    --ink-700: #18181b;
    --gold: #c9a24b;
    --gold-light: #e6c77a;
    --gold-dark: #9c7a2e;
    --cream: #f4efe6;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-padding-top: 80px; }
body.loading { overflow: hidden; }
::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dark), var(--gold)); border-radius: 9px; }

/* ---------------- Preloader ---------------- */
#preloader { transition: opacity .8s var(--ease), visibility .8s; }
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark {
    width: 84px; height: 84px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201, 162, 75, .35);
    animation: spinPulse 2.2s var(--ease) infinite;
}
.preloader-bar { width: 180px; height: 1px; background: rgba(244, 239, 230, .1); margin-inline: auto; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: loadbar 1.2s ease-in-out infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes spinPulse {
    0% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(201, 162, 75, .4); }
    70% { box-shadow: 0 0 0 22px rgba(201, 162, 75, 0); }
    100% { transform: rotate(360deg); box-shadow: 0 0 0 0 rgba(201, 162, 75, 0); }
}

/* ---------------- Navbar ---------------- */
#navbar.scrolled {
    background: rgba(11, 11, 12, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 162, 75, .15);
}
#navbar.scrolled nav { height: 4.5rem; }
#navbar nav { transition: height .4s var(--ease); }

.nav-link { position: relative; color: rgba(244, 239, 230, .75); transition: color .3s; padding: 6px 0; }
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.burger-line { width: 26px; height: 1.5px; background: var(--cream); transition: all .4s var(--ease); }
#menuBtn.open .burger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--gold); }
#menuBtn.open .burger-line:nth-child(2) { opacity: 0; }
#menuBtn.open .burger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--gold); }
#mobileMenu.open { transform: translateX(0); }
.mobile-link { transition: color .3s; }
.mobile-link:hover { color: var(--gold); }

/* ---------------- Buttons ---------------- */
.btn-gold, .btn-outline {
    position: relative; display: inline-flex; align-items: center; gap: .6rem;
    padding: .8rem 1.7rem; font-size: .75rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; overflow: hidden; isolation: isolate;
    transition: color .4s var(--ease), border-color .4s, transform .3s;
}
.btn-lg { padding: 1.05rem 2.2rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: var(--ink); }
.btn-gold::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--cream); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-gold:hover::before { transform: translateY(0); }
.btn-gold::after {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-25deg); animation: shine 4s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -75%; } 100% { left: 130%; } }
.btn-outline { border: 1px solid rgba(244, 239, 230, .35); color: var(--cream); }
.btn-outline::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.btn-outline:hover { color: var(--ink); border-color: var(--gold); }
.btn-outline:hover::before { transform: scaleX(1); }
.btn-gold:active, .btn-outline:active { transform: scale(.97); }

/* ---------------- Hero ---------------- */
.hero-img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-1.5%, -1%); } }

.hero-anim { opacity: 0; transform: translateY(40px); filter: blur(6px); }
body.ready .hero-anim { animation: heroIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

.gold-text {
    background: linear-gradient(110deg, var(--cream) 0%, var(--cream) 35%, var(--gold-light) 50%, var(--gold) 60%, var(--cream) 75%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: goldSweep 7s linear infinite;
}
@keyframes goldSweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.glass-card {
    background: rgba(18, 18, 20, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 162, 75, .3);
}
.avatar-dot {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--ink-700); border: 2px solid var(--gold); color: var(--gold); font-size: 13px;
}
.social-mini { font-size: 11px; letter-spacing: .15em; color: rgba(244, 239, 230, .6); writing-mode: vertical-rl; transition: color .3s; }
.social-mini:hover { color: var(--gold); }

.scroll-indicator { width: 26px; height: 42px; border: 1.5px solid rgba(244, 239, 230, .4); border-radius: 20px; display: flex; justify-content: center; }
.scroll-indicator span { width: 3px; height: 8px; background: var(--gold); border-radius: 3px; margin-top: 7px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; animation: marquee 32s linear infinite; padding-right: 2.5rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-star { font-style: normal; font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section-eyebrow {
    display: flex; align-items: center; gap: .9rem;
    color: var(--gold); font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.section-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.section-eyebrow.justify-center::after { content: ''; width: 36px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; line-height: 1.05; margin-bottom: 1.6rem; }

.pattern-lines {
    background-image: repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 22px);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal[data-reveal="left"] { transform: translateX(-70px); }
.reveal[data-reveal="right"] { transform: translateX(70px); }
.reveal[data-reveal="zoom"] { transform: scale(.88); }
.reveal.in { opacity: 1; transform: none; }

/* owner */
.owner-frame { position: relative; padding: 14px; }
.owner-frame::before {
    content: ''; position: absolute; inset: 0; border: 1px solid var(--gold);
    transform: translate(22px, 22px); z-index: -1; transition: transform .8s var(--ease);
}
.owner-frame:hover::before { transform: translate(10px, 10px); }
.owner-frame img { filter: grayscale(15%) contrast(1.05); transition: filter .8s, transform 1.2s var(--ease); }
.owner-frame:hover img { filter: none; }
.stat-box { border-top: 1px solid rgba(201, 162, 75, .3); padding-top: 1rem; }

/* features */
.feature-card {
    position: relative; padding: 2.4rem 2rem; background: var(--ink);
    border: 1px solid rgba(244, 239, 230, .06); overflow: hidden;
    transition: transform .6s var(--ease), border-color .5s, opacity 1.1s var(--ease);
}
.feature-card::before {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.feature-card:hover { transform: translateY(-10px); border-color: rgba(201, 162, 75, .3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-num { position: absolute; top: 1rem; right: 1.4rem; font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: rgba(201, 162, 75, .1); line-height: 1; }
.feature-icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    color: var(--gold); border: 1px solid rgba(201, 162, 75, .35); border-radius: 50%; margin-bottom: 1.6rem;
    transition: background .5s, color .5s, transform .7s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--gold); color: var(--ink); transform: rotateY(180deg); }

/* tabs */
.tab-btn {
    padding: .6rem 1.4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid rgba(244, 239, 230, .15); color: rgba(244, 239, 230, .7);
    transition: all .35s var(--ease);
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold); }
.tab-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }

/* services */
.service-card {
    position: relative; padding: 2rem; background: linear-gradient(160deg, var(--ink-700), var(--ink-800));
    border: 1px solid rgba(244, 239, 230, .07); overflow: hidden;
    transition: transform .55s var(--ease), border-color .5s, box-shadow .5s;
    animation: cardIn .7s var(--ease) both; animation-delay: var(--d, 0s);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.service-card::after {
    content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -110px; top: -110px;
    background: radial-gradient(circle, rgba(201, 162, 75, .18), transparent 70%); transition: transform .7s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 75, .4); box-shadow: 0 25px 50px -20px rgba(201, 162, 75, .25); }
.service-card:hover::after { transform: scale(1.8); }
.service-card .svc-icon { color: var(--gold); transition: transform .6s var(--ease); }
.service-card:hover .svc-icon { transform: rotate(-12deg) scale(1.12); }
.service-card .price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.service-card .dots { flex: 1; border-bottom: 1px dashed rgba(244, 239, 230, .15); margin: 0 .8rem .45rem; }
.svc-badge { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; padding: .3rem .7rem; background: var(--gold); color: var(--ink); font-weight: 700; z-index: 1; }
.svc-book { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .4rem; }
.svc-book svg { transition: transform .4s var(--ease); }
.svc-book:hover svg { transform: translateX(6px); }

.skeleton { background: linear-gradient(90deg, var(--ink-700) 25%, #222226 37%, var(--ink-700) 63%); background-size: 400% 100%; animation: skeleton 1.4s ease infinite; }
@keyframes skeleton { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; grid-auto-rows: 260px; grid-auto-flow: dense; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
    .gallery-grid .gallery-item:nth-child(6n+1) { grid-row: span 2; }
    .gallery-grid .gallery-item:nth-child(6n+5) { grid-column: span 2; }
}
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-700); }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.85); }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(.55); }
.gallery-item figcaption {
    position: absolute; left: 1.5rem; bottom: 1.3rem; display: flex; flex-direction: column; gap: .2rem;
    transform: translateY(20px); opacity: 0; transition: all .6s var(--ease);
}
.gallery-item:hover figcaption { transform: none; opacity: 1; }
.gallery-zoom {
    position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--ink);
    transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease);
}
.gallery-item:hover .gallery-zoom { transform: scale(1) rotate(0); }
.gallery-item::before {
    content: ''; position: absolute; inset: 12px; border: 1px solid rgba(201, 162, 75, .6); z-index: 1;
    opacity: 0; transform: scale(1.06); transition: all .6s var(--ease); pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 6, .95); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 90vw; max-height: 85vh; text-align: center; transform: scale(.9); transition: transform .5s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-width: 90vw; max-height: 78vh; object-fit: contain; border: 1px solid rgba(201, 162, 75, .3); }
.lightbox figcaption { margin-top: 1rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: var(--cream); font-size: 2.6rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; transition: color .3s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold); }
.lb-close { top: 1.2rem; right: 1.5rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 4rem; }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 4rem; }

/* testimonials */
.testi-slider { position: relative; display: grid; }
.testi-slide { grid-area: 1 / 1; opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.testi-slide.leaving { transform: translateX(-40px); }
.testi-dot { width: 8px; height: 8px; border-radius: 8px; background: rgba(244, 239, 230, .25); transition: all .4s var(--ease); }
.testi-dot.active { width: 30px; background: var(--gold); }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244, 239, 230, .2); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* booking */
.contact-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-icon {
    flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201, 162, 75, .35); color: var(--gold); transition: all .4s;
}
.contact-row:hover .contact-icon { background: var(--gold); color: var(--ink); }
.contact-label { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(244, 239, 230, .45); margin-bottom: .2rem; }
.contact-value { color: var(--cream); transition: color .3s; }

.booking-card { background: var(--ink); border: 1px solid rgba(201, 162, 75, .2); padding: 2.4rem; position: relative; }
.booking-card::before {
    content: ''; position: absolute; top: -1px; left: 2.4rem; right: 2.4rem; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
@media (max-width: 640px) { .booking-card { padding: 1.5rem; } }
.field label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 239, 230, .6); margin-bottom: .55rem; }
.field input, .field select, .field textarea {
    width: 100%; background: var(--ink-800); border: 1px solid rgba(244, 239, 230, .1); color: var(--cream);
    padding: .9rem 1rem; font-size: .95rem; outline: none; transition: border-color .3s, box-shadow .3s; border-radius: 0;
    color-scheme: dark;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c9a24b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .12); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 239, 230, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e06c6c; animation: shake .4s; }
.field .err { display: block; color: #e88a8a; font-size: .75rem; min-height: 0; margin-top: .35rem; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.form-alert { margin-top: 1.4rem; padding: 1rem 1.2rem; font-size: .9rem; border-left: 3px solid; animation: cardIn .5s var(--ease); }
.form-alert.ok { background: rgba(201, 162, 75, .1); border-color: var(--gold); color: var(--gold-light); }
.form-alert.bad { background: rgba(224, 108, 108, .08); border-color: #e06c6c; color: #f0a0a0; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(11, 11, 12, .3); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-wrap iframe { filter: grayscale(1) invert(.92) contrast(.9) sepia(.15); }

/* footer */
.footer-title { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.footer-link { position: relative; transition: color .3s, padding .3s; }
.footer-link:hover { color: var(--gold); padding-left: 8px; }
.social-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(244, 239, 230, .15); font-size: .68rem; letter-spacing: .1em; transition: all .35s;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-4px); }

/* floating */
.whatsapp-float {
    position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .35); animation: wpPulse 2.5s infinite;
}
@keyframes wpPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 50px; height: 50px;
    background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--cream); }

.toast {
    position: fixed; left: 50%; bottom: 2rem; z-index: 95; transform: translate(-50%, calc(100% + 3rem)); visibility: hidden;
    background: var(--ink-700); border: 1px solid var(--gold); color: var(--cream); padding: .9rem 1.5rem;
    font-size: .9rem; transition: transform .5s var(--ease), visibility .5s; max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .hero-anim { opacity: 1; transform: none; filter: none; }
}
