:root {
    --gold-gradient: linear-gradient(90deg, #a67827 0%, #B18E72 25%, #f5d580 50%, #B18E72 75%, #a67827 100%);
    --gold-dark: #a67827;
    --bg-dark: #101010;
    --text-light: #F5F5DC;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: metallicShine 3s linear infinite alternate;
}

@keyframes metallicShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.gold-border {
    position: relative;
    z-index: 1;
}

.gold-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gold-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(166, 120, 39, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 120, 39, 0.4);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-gold:hover::after {
    opacity: 1;
    left: 100%;
}

.btn-outline-gold {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box, var(--gold-gradient) border-box;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient) border-box;
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(166, 120, 39, 0.3);
    transform: translateY(-2px);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.animate-title:hover .section-title::after {
    transform: scaleX(1);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(177, 142, 114, 0.5);
    border-radius: 50%;
    opacity: 0.5;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

.service-card {
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.star {
    color: var(--gold-dark);
}

.testimonial-card:hover .star {
    transform: scale(1.1);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.quote {
    font-family: 'Dancing Script', cursive;
    position: relative;
}

.quote::before,
.quote::after {
    content: '"';
    color: var(--gold-dark);
    font-size: 1.5em;
    position: absolute;
}

.quote::before {
    top: -15px;
    left: -25px;
}

.quote::after {
    bottom: -25px;
    right: -25px;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(16, 16, 16, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateX(100%);
    visibility: hidden;
    top: 0;
    height: 100vh;
    width: 75%;
    max-width: 300px;
    right: 0;
    z-index: 999;
    padding-top: 80px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 10px;
}

.video-story-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

/* Extended FAB Styles */
.extended-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 56px;
    width: 130px;
    /* Fixed width for uniformity */
    border-radius: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.extended-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.extended-fab i {
    font-size: 1.25rem;
    margin-right: 12px;
}

.fab-sms {
    background-color: #0a0a0a;
    color: #f5d580;
    border: 1px solid #a67827;
}

.fab-chat {
    background: var(--gold-gradient);
    color: #0a0a0a;
    border: none;
}
/* ===== Brand: TM Beauty logo (2026) ===== */
/* Hero photo shows the salon's own wall sign: soften it so the crisp logo leads */
.hero-bg {
    filter: blur(5px) brightness(.8) saturate(.9);
    transform: scale(1.06);
}

/* Hero veil: deeper at the centre so the logo reads cleanly over the salon wall sign */
.hero-veil {
    background:
        radial-gradient(ellipse 60% 55% at 50% 42%, rgba(8, 8, 8, .78) 0%, rgba(8, 8, 8, .55) 60%, rgba(8, 8, 8, .45) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, .6) 100%);
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-logo--nav {
    height: 56px;
    transition: opacity .5s ease, transform .5s ease;
}

.brand-logo--footer {
    height: 96px;
}

@media (min-width: 1024px) {
    .brand-logo--nav { height: 64px; }
}

/* Home: the hero already shows the full logo, so the navbar logo only appears after scrolling */
.page-home .navbar:not(.scrolled) .brand-logo--nav {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.hero-brand {
    position: relative;
    width: fit-content;
    margin: 0 auto 1.75rem;
    animation: brandReveal 1.6s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-brand::before {
    content: '';
    position: absolute;
    inset: -18% -12%;
    background: radial-gradient(closest-side, rgba(212, 175, 55, .16), transparent 72%);
    z-index: -1;
    pointer-events: none;
}

.hero-brand__logo {
    display: block;
    height: 150px;
    width: auto;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55));
}

/* A slow band of light crossing the gold, clipped to the logo's own shape */
.hero-brand__sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, .75) 50%, transparent 62%);
    background-size: 250% 100%;
    background-position: 130% 0;
    -webkit-mask: url('images/brand/tm-beauty-logo-480.webp') center / contain no-repeat;
    mask: url('images/brand/tm-beauty-logo-480.webp') center / contain no-repeat;
    mix-blend-mode: soft-light;
    animation: brandSheen 7s ease-in-out 1.4s infinite;
}

.hero-rule {
    display: block;
    width: 64px;
    height: 1px;
    margin: 0 auto 1.75rem;
    background: var(--gold-gradient);
    opacity: .8;
    animation: ruleGrow 1.2s cubic-bezier(.22, 1, .36, 1) .6s both;
}

.hero-content h1,
.hero-content > p,
.hero-content > div:last-child {
    animation: heroRise 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-content h1 {
    animation: heroRise 1.1s cubic-bezier(.22, 1, .36, 1) .5s both, metallicShine 3s linear infinite alternate;
}
.hero-content > p { animation-delay: .65s; }
.hero-content > div:last-child { animation-delay: .8s; }

@media (min-width: 768px) {
    .hero-brand__logo { height: 210px; }
}

@keyframes brandReveal {
    from { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes brandSheen {
    0% { background-position: 130% 0; }
    35%, 100% { background-position: -30% 0; }
}

@keyframes ruleGrow {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: .8; transform: scaleX(1); }
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-brand,
    .hero-rule,
    .hero-content h1,
    .hero-content > p,
    .hero-content > div:last-child { animation: none; }
    .hero-brand__sheen { display: none; }
}
