/* AURUM — Global Stylesheet */
/* Reset, variables, typography, nav, footer, buttons, utilities, preloader, scrollbar, responsive global */

/* ── Variables & Reset ── */

:root {
    --black: #080808;
    --black-rich: #0C0C0C;
    --black-card: #111111;
    --black-elevated: #161616;
    --border: #1E1E1E;
    --border-light: #2A2A2A;
    --white: #FFFFFF;
    --white-off: #F0EDE6;
    --white-muted: #9A9A9A;
    --white-dim: #5C5C5C;
    --gold: #C6A550;
    --gold-light: #D9BC6E;
    --gold-dark: #A88B3A;
    --gold-muted: rgba(198,165,80,0.12);
    --gold-glow: rgba(198,165,80,0.06);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Poppins', sans-serif;
    --section-gap: clamp(100px, 12vw, 160px);
    --container: 1200px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: var(--white-off);
    background: var(--black);
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

::selection { background: var(--gold); color: var(--black); }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }

button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 48px);
}


/* ── Preloader ── */

.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: 0.45em;
    color: var(--white);
    text-indent: 0.45em;
}
.preloader__bar {
    width: 180px; height: 1px;
    background: var(--border);
    margin: 28px auto 0;
    overflow: hidden;
}
.preloader__fill {
    width: 0; height: 100%;
    background: var(--gold);
    animation: loaderFill 2s var(--ease-smooth) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── Navigation ── */

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 24px 0;
    transition: all 0.5s var(--ease);
}
.nav.scrolled {
    padding: 14px 0;
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 48px);
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
    display: inline-flex; align-items: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.45em;
    color: var(--white);
    transition: opacity 0.3s;
}
.nav__logo:hover { opacity: 0.8; }
.nav__links { display: flex; gap: 40px; align-items: center; }
.nav__link {
    font-size: 12px; font-weight: 400;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--white-muted);
    position: relative; padding: 4px 0;
}
.nav__link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.5s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta-btn {
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--black); background: var(--gold);
    padding: 10px 24px; border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.nav__cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; padding: 4px 0; }
.nav__hamburger span {
    display: block; width: 100%; height: 1.5px;
    background: var(--white); transition: all 0.3s var(--ease);
    transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ---- Nav Dropdown ---- */
.nav__dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav__dropdown-toggle {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
    font-family: inherit;
}
.nav__dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.5s var(--ease);
}
.nav__dropdown-toggle:hover,
.nav__dropdown-toggle[aria-expanded="true"],
.nav__dropdown-toggle.active {
    color: var(--white);
}
.nav__dropdown-toggle:hover::after,
.nav__dropdown-toggle[aria-expanded="true"]::after,
.nav__dropdown-toggle.active::after {
    width: 100%;
}
.nav__dropdown-icon {
    transition: transform 0.3s var(--ease);
}
.nav__dropdown-toggle[aria-expanded="true"] .nav__dropdown-icon {
    transform: rotate(180deg);
}
.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav__dropdown.open .nav__dropdown-menu,
.nav__dropdown-toggle[aria-expanded="true"] + .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.nav__dropdown-link {
    display: block;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white-muted);
    transition: color 0.3s, background 0.3s;
}
.nav__dropdown-link:hover {
    color: var(--gold);
    background: var(--gold-glow);
}

/* Mobile Overlay */
.mobile-nav {
    position: fixed; inset: 0; z-index: 999;
    pointer-events: none; visibility: hidden;
}
.mobile-nav.open { pointer-events: auto; visibility: visible; }
.mobile-nav__bg {
    position: absolute; inset: 0; background: rgba(0,0,0,0.85);
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-nav.open .mobile-nav__bg { opacity: 1; }
.mobile-nav__panel {
    position: absolute; top: 0; right: 0;
    width: min(380px, 88vw); height: 100%;
    background: var(--black-rich);
    border-left: 1px solid var(--border);
    padding: 80px 40px 40px;
    display: flex; flex-direction: column; gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__link {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 300;
    color: var(--white-muted); padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s;
}
.mobile-nav__link:hover, .mobile-nav__link.active { color: var(--gold); }
.mobile-nav__cta {
    margin-top: auto;
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--black); background: var(--gold);
    padding: 16px 32px; border-radius: 2px;
    text-align: center; transition: background 0.3s;
}
.mobile-nav__cta:hover { background: var(--gold-light); }

/* ── Buttons ── */

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 15px 34px; border-radius: 2px;
    transition: all 0.35s var(--ease);
    cursor: pointer; position: relative;
}
.btn--gold {
    color: var(--black); background: var(--gold);
    border: 1px solid var(--gold);
}
.btn--gold:hover {
    background: var(--gold-light); border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(198,165,80,0.2);
}
.btn--outline {
    color: var(--white); background: transparent;
    border: 1px solid var(--border-light);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 18px 42px; font-size: 13px; }

/* ── Section Utilities ── */

.section-label {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-body);
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 22px;
}
.section-label::before {
    content: ''; width: 24px; height: 1px; background: var(--gold);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 300; line-height: 1.15;
    color: var(--white); letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 15px; color: var(--white-muted);
    max-width: 500px; line-height: 1.8;
}
.text-gold { color: var(--gold); }
.section-header { margin-bottom: clamp(52px, 7vw, 80px); }

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

/* ── Footer ── */

.footer {
    padding: 72px 0 0;
    background: var(--black); border-top: 1px solid var(--border);
}
.footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(28px, 4vw, 48px); padding-bottom: 48px;
}
.footer__logo {
    display: block; margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.45em;
    color: var(--white);
}
.footer__tagline { font-size: 13px; color: var(--white-dim); margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 4px;
    color: var(--white-muted); transition: all 0.3s var(--ease);
}
.footer__social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer__heading {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--white); margin-bottom: 18px;
}
.footer__link {
    display: block; font-size: 13px; color: var(--white-dim);
    padding: 5px 0; transition: color 0.3s;
}
.footer__link:hover { color: var(--gold); }
.footer__addr { font-size: 13px; color: var(--white-dim); padding: 5px 0; }
.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0; text-align: center;
}
.footer__bottom p { font-size: 11px; color: var(--white-dim); letter-spacing: 0.05em; }

/* ── Page Hero (inner pages) ── */

.page-hero {
    position: relative;
    padding: clamp(160px, 20vh, 240px) 0 clamp(80px, 10vh, 120px);
    overflow: hidden;
}
.page-hero__bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 40%, var(--gold-glow) 0%, transparent 70%), var(--black);
}
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 300; line-height: 1.1;
    color: var(--white); margin-bottom: 20px;
}
.page-hero__desc {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--white-muted); max-width: 540px; line-height: 1.85;
}

/* ── Page Banner (inner pages) ── */

.page-banner {
    position: relative;
    padding: clamp(140px, 16vh, 180px) 0 clamp(48px, 6vh, 72px);
    overflow: hidden;
}
.page-banner__bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 40%, var(--gold-glow) 0%, transparent 70%), var(--black);
}
.page-banner__breadcrumb {
    position: relative;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--white-dim);
    margin-bottom: 16px;
}
.page-banner__breadcrumb a {
    color: var(--white-muted);
    transition: color 0.3s var(--ease);
}
.page-banner__breadcrumb a:hover { color: var(--gold); }
.page-banner__breadcrumb span { margin: 0 8px; }
.page-banner__title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
}

/* ── CTA Final (inner pages) ── */

.cta-final {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--black);
    border-top: 1px solid var(--border);
}
.cta-final__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-final__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 32px;
}
.cta-final__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── WhatsApp FAB ── */

.wpp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wpp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
.wpp-fab__icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ── Scrollbar ── */

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }


/* ── Focus & Accessibility ── */

*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .wpp-fab { transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ── Responsive: Global Elements ── */

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .nav__links, .nav__cta-btn { display: none; }
    .nav__dropdown { display: none; }
    .nav__hamburger { display: flex; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-final__btns { flex-direction: column; align-items: center; }
    .wpp-fab { bottom: 20px; right: 20px; }
}
