/* ==========================================================================
   Global Reset, Theme Variables & Luxury Animations (common.css)
   ========================================================================== */

:root {
    --bg-dark: #0b0b0b;
    --header-bg: rgba(11, 11, 11, 0.96);
    --text-main: #e5e5e5;
    --text-muted: #8e8e8e;
    --accent-crimson: #8B0000;
    --accent-crimson-hover: #a30000;
    --gold-subtle: #c5a059;
    --border-subtle: rgba(255, 255, 255, 0.12);
    --font-heading: 'Cinzel', serif;
    --font-nav: 'Montserrat', sans-serif;
    --header-height: 80px;
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Enable Smooth Scrolling Site-Wide */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-nav);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Global Smooth Page Entrance Animation */
main.main-content {
    padding-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    animation: luxuryFadeIn 0.8s var(--ease-luxury) forwards;
}

@keyframes luxuryFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.35s var(--ease-luxury);
}

/* Call To Action Button (BOOK AN ARTIST) with Glowing Hover Effect */
.btn-get-inked {
    background-color: var(--accent-crimson);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    padding: 0.75rem 1.6rem;
    text-transform: uppercase;
    border: 1px solid var(--accent-crimson);
    transition: all 0.4s var(--ease-luxury);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.btn-get-inked::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s var(--ease-luxury);
}

.btn-get-inked:hover::before {
    left: 100%;
}

.btn-get-inked:hover {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.7);
    transform: translateY(-3px);
}

/* ==========================================================================
   Scroll Reveal Animation Classes (Re-triggerable & Staggered)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
    will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger Delays for Grid Elements */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   Site-Wide Luxury Studio Footer (site-footer)
   ========================================================================== */
.site-footer {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 2rem 2.5rem 2rem;
    position: relative;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    text-decoration: none;
}

.footer-logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent-crimson);
    font-weight: 600;
    margin-top: 0.2rem;
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    max-width: 360px;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s var(--ease-luxury);
}

.footer-social-icon:hover {
    background: var(--accent-crimson);
    border-color: var(--accent-crimson);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.5);
}

.footer-social-icon.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

.footer-social-icon.instagram:hover {
    background: #e1306c;
    border-color: #e1306c;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.5);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent-crimson);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-arrow {
    color: var(--accent-crimson);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-link:hover .nav-arrow {
    transform: translateX(2px);
}

.footer-link.highlight {
    color: var(--accent-crimson);
    font-weight: 600;
}

.footer-link.highlight:hover {
    color: #ff4d4d;
}

/* Studio Card in Footer */
.footer-info-group {
    margin-bottom: 1.3rem;
}

.footer-address-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-pin-icon {
    font-size: 1.1rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.footer-info-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.footer-info-text {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 0, 0, 0.12);
    border: 1px solid rgba(139, 0, 0, 0.4);
    color: #ff4d4d;
    padding: 0.55rem 1rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.footer-map-btn:hover {
    background: var(--accent-crimson);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.6);
    transform: translateY(-2px);
}

.hours-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
    display: inline-block;
}

.status-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-info-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    font-style: italic;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================================
   Floating WhatsApp Quick-Chat Widget
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s var(--ease-luxury);
}

.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
}

.whatsapp-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-icon-wrapper {
    background: #20ba5a;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-pulse-ring {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2.2s infinite;
    z-index: 1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(18, 18, 18, 0.95);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Rules for Footer & WhatsApp */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 3.5rem 1.2rem 2.2rem 1.2rem;
        background: #060606;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2.2rem;
        padding-bottom: 2.2rem;
    }

    /* Brand Center Stage on Mobile */
    .footer-brand-col {
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        align-items: center;
        margin-bottom: 0.8rem;
    }

    .footer-logo-title {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
    }

    .footer-about-text {
        text-align: center;
        font-size: 0.84rem;
        line-height: 1.6;
        margin-bottom: 1.4rem;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-social-links {
        justify-content: center;
        gap: 0.9rem;
    }

    .footer-social-icon {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
    }

    /* 2-Column Touch Grid for Quick Links on Mobile */
    .footer-nav-col .footer-heading {
        text-align: center;
        margin-bottom: 1.1rem;
    }

    .footer-nav-col .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .footer-link {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.65rem 0.8rem;
        border-radius: 4px;
        font-size: 0.8rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
    }

    .footer-link:hover,
    .footer-link.highlight {
        background: rgba(139, 0, 0, 0.12);
        border-color: rgba(139, 0, 0, 0.4);
    }

    /* Studio Card on Mobile */
    .footer-studio-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.6rem 1.3rem;
        border-radius: 6px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .footer-info-col .footer-heading {
        text-align: center;
        margin-bottom: 1.2rem;
    }

    .footer-info-col .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-address-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .footer-address-details {
        text-align: center;
    }

    .footer-map-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        margin-top: 0.8rem;
        font-size: 0.82rem;
    }

    .footer-hours-group {
        text-align: center;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .hours-status-badge {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding-top: 1.8rem;
    }

    .footer-copyright {
        font-size: 0.74rem;
    }

    .footer-craft-note {
        font-size: 0.68rem;
    }

    .floating-whatsapp {
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .whatsapp-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon-wrapper svg {
        width: 25px;
        height: 25px;
    }

    .whatsapp-pulse-ring {
        width: 52px;
        height: 52px;
    }
}
