/* ==========================================================================
   HAUTE ATELIER — XCLUSIVE TATTOOS ATELIER GUWAHATI
   Design System & Global Stylesheet (Strict Zero Radius Geometry)
   ========================================================================== */

:root {
    /* Color Palette (Material You Haute Atelier Theme) */
    --surface-lowest: #0e0e0f;
    --surface-low: #1c1b1c;
    --surface: #131314;
    --surface-high: #2a2a2b;
    --surface-highest: #353436;

    --on-surface: #e5e2e3;
    --on-surface-variant: #d1c5b6;
    --outline: #9a8f82;
    --outline-variant: #4e463a;

    --primary: #f1cd95;
    --primary-container: #d4b27c;
    --on-primary: #422d03;
    --on-primary-container: #5c4418;

    --secondary: #ccc6b8;
    --border-hairline: #2A2A30;
    --border-accent: #A0825B;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    border-radius: 0 !important; /* STRICT ZERO-RADIUS GEOMETRY */
}

html {
    scroll-behavior: smooth;
    background-color: var(--surface);
    color: var(--on-surface);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    overflow-x: hidden;
}

/* Container Fluid Full Width Layout */
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 640px) {
    .container-fluid {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (min-width: 1024px) {
    .container-fluid {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
}

@media (min-width: 1536px) {
    .container-fluid {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--surface-lowest);
}
::-webkit-scrollbar-thumb {
    background: #2a2a30;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-container);
}

/* Selection Highlight */
::selection {
    background-color: var(--primary-container);
    color: var(--on-primary);
}

/* Form inputs & buttons focus state */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
}

/* Button & Link Hover Animations */
.portfolio-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-filter-btn {
    letter-spacing: 0.18em;
    font-weight: 600;
}

/* ==========================================================================
   HAUTE ATELIER — MODERN ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* ==========================================================================
   HAUTE ATELIER — MODERN ANIMATIONS, GOLD SHIMMER HOVER & MICRO-INTERACTIONS
   ========================================================================== */

/* 1. Continuous Gold Shimmer Text */
/* Static Metallic Text Shimmer (Left → Right Specular Shine Pass) */
.shimmer-text {
    position: relative !important;
    display: inline-block !important;
    background-size: 300% 100% !important;
    background-repeat: repeat !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #f5f3ef !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    animation: metallicShineLeftToRight 5s linear infinite !important;
    will-change: background-position;
}

/* Metallic Silver / Platinum Gradient (ART THAT STAYS) */
.shimmer-white {
    background-image: linear-gradient(
        110deg,
        #ffffff 0%,
        #e0dcd5 25%,
        #ffffff 45%,
        #ffffff 55%,
        #a3988a 70%,
        #ffffff 100%
    ) !important;
}

/* Metallic Champagne Gold Gradient (WITH YOU.) */
.shimmer-gold {
    background-image: linear-gradient(
        110deg,
        #f1cd95 0%,
        #d4b27c 25%,
        #fffdf0 45%,
        #ffffff 55%,
        #8a6630 70%,
        #f1cd95 100%
    ) !important;
}

/* Bright Specular Metallic Shine Pass (Left → Right) */
@keyframes metallicShineLeftToRight {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 2. SPECULAR GOLD SHIMMER HOVER SYSTEM (BUTTONS, CARDS, BADGES, LINKS) */
@keyframes gold-sweep-pass {
    0% {
        transform: translateX(-120%) rotate(25deg);
    }
    100% {
        transform: translateX(180%) rotate(25deg);
    }
}

/* Button & Interactive Element Gold Shimmer Sweep on Hover */
/* Header BOOK CONSULTATION Button Text Continuous Zoom-In / Pop-Out Animation */
.header-btn-pulse-text {
    display: inline-block !important;
    will-change: transform, text-shadow;
    transform-origin: center center;
    animation: headerTextPop 1.6s ease-in-out infinite alternate !important;
}

@keyframes headerTextPop {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0px transparent;
    }
    100% {
        transform: scale(1.18);
        text-shadow: 0 0 10px rgba(66, 45, 3, 0.7), 0 0 16px rgba(241, 205, 149, 0.95);
    }
}

.btn-gold-shimmer,
.btn-shimmer,
.shimmer-hover {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-gold-shimmer::before,
.btn-shimmer::before,
.shimmer-hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.12) 42%,
        rgba(241, 205, 149, 0.65) 50%,
        rgba(255, 255, 255, 0.25) 58%,
        transparent 70%
    );
    transform: translateX(-150%) rotate(25deg);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-gold-shimmer:hover::before,
.btn-shimmer:hover::before,
.shimmer-hover:hover::before {
    opacity: 1;
    animation: gold-sweep-pass 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-gold-shimmer:hover,
.btn-shimmer:hover {
    border-color: rgba(241, 205, 149, 0.8) !important;
    box-shadow: 0 0 25px rgba(241, 205, 149, 0.35), inset 0 0 15px rgba(241, 205, 149, 0.15) !important;
}

/* Card Frame Uplift & Border Glow on Hover (NO golden overlay sheen on images) */
.card-gold-shimmer,
.card-shimmer {
    position: relative !important;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.card-gold-shimmer::after,
.card-shimmer::after {
    display: none !important;
}

.card-gold-shimmer:hover,
.card-shimmer:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.85) !important;
}

/* ==========================================================================
   HEADLINE SHINE STARS & SPARKLE ANIMATIONS
   ========================================================================== */
.headline-sparkle-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.sparkle-star {
    position: absolute;
    pointer-events: none;
    z-index: 25;
    color: #F1CD95;
    will-change: transform, opacity, filter;
}

@keyframes sparkle-twinkle-glow {
    0%, 100% {
        transform: scale(0.25) rotate(0deg);
        opacity: 0.2;
        filter: drop-shadow(0 0 3px rgba(241, 205, 149, 0.3));
    }
    50% {
        transform: scale(1.3) rotate(45deg);
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(241, 205, 149, 1)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.9));
    }
}

@keyframes sparkle-float-pulse {
    0%, 100% {
        transform: translateY(0px) scale(0.35) rotate(0deg);
        opacity: 0.25;
        filter: drop-shadow(0 0 3px rgba(241, 205, 149, 0.4));
    }
    50% {
        transform: translateY(-8px) scale(1.2) rotate(90deg);
        opacity: 1;
        filter: drop-shadow(0 0 14px rgba(241, 205, 149, 1)) drop-shadow(0 0 28px rgba(241, 205, 149, 0.8));
    }
}

@keyframes sparkle-orbit-twinkle {
    0% {
        transform: rotate(0deg) translateX(5px) rotate(0deg) scale(0.4);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) translateX(5px) rotate(-180deg) scale(1.25);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(241, 205, 149, 1));
    }
    100% {
        transform: rotate(360deg) translateX(5px) rotate(-360deg) scale(0.4);
        opacity: 0.3;
    }
}

.sparkle-star-1 {
    top: -1.2rem;
    left: -1.5rem;
    width: 1.85rem;
    height: 1.85rem;
    animation: sparkle-twinkle-glow 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0s;
}

.sparkle-star-2 {
    top: -0.6rem;
    left: 48%;
    width: 1.35rem;
    height: 1.35rem;
    animation: sparkle-float-pulse 3.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.7s;
}

.sparkle-star-3 {
    top: -1.4rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    animation: sparkle-twinkle-glow 3.1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1.3s;
}

.sparkle-star-4 {
    top: 45%;
    right: -2rem;
    width: 1.65rem;
    height: 1.65rem;
    animation: sparkle-float-pulse 3.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.4s;
}

.sparkle-star-5 {
    bottom: -1rem;
    left: -1rem;
    width: 1.4rem;
    height: 1.4rem;
    animation: sparkle-twinkle-glow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1.9s;
}

.sparkle-star-6 {
    bottom: -1.5rem;
    right: 3rem;
    width: 2.25rem;
    height: 2.25rem;
    animation: sparkle-twinkle-glow 3.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1.0s;
}

.sparkle-star-7 {
    bottom: 0.2rem;
    right: -1.4rem;
    width: 1.2rem;
    height: 1.2rem;
    animation: sparkle-orbit-twinkle 4.2s linear infinite;
    animation-delay: 2.3s;
}

/* 3. Ambient Gold Glow Backgrounds & Pulsing Highlights */
.gold-ambient-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 9999px !important;
    background: radial-gradient(circle, rgba(241, 205, 149, 0.12) 0%, rgba(212, 178, 124, 0.03) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
    animation: ambient-pulse 8s ease-in-out infinite alternate;
}

@keyframes ambient-pulse {
    0% {
        transform: scale(0.9) translate(0, 0);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.15) translate(15px, -15px);
        opacity: 1;
    }
}

/* Pulsing Status Dot */
.status-pulse-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 9999px !important;
}

.status-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 9999px !important;
    border: 2px solid var(--primary);
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* 4. SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    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-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays for Grid Elements */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* 5. Master Artist Feature Depth Shift */
.artist-feature-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.artist-feature-card::before,
.artist-feature-card::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

.artist-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.9);
    transform: translateY(-4px);
}

/* ==========================================================================
   FOUNDER PORTRAIT: CLEAN STATIC MONOCHROME GREY IMAGE (ALL ANIMATIONS REMOVED)
   ========================================================================== */

/* 1. Outer Container */
.founder-parallax-container,
.artist-feature-card {
    position: relative !important;
    overflow: hidden !important;
}

/* Eliminate all pseudo-element overlays, shine sweeps, and keyframes */
.founder-parallax-container::before,
.founder-parallax-container::after,
.artist-feature-card::before,
.artist-feature-card::after,
.founder-image-wrapper::before,
.founder-image-wrapper::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    background: none !important;
    animation: none !important;
}

/* 2. Fixed Text Overlay Protection */
.founder-text-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
}

/* 3. Image Wrapper — Completely Static, No Animation, No Zoom */
.founder-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    z-index: 1 !important;
}

.founder-parallax-container:hover .founder-image-wrapper,
.artist-feature-card:hover .founder-image-wrapper {
    transform: none !important;
    animation: none !important;
}

/* 4. Founder Portrait Image — Completely Static Crisp Monochrome Grey */
.founder-portrait-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(100%) contrast(120%) brightness(95%) !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.founder-parallax-container:hover .founder-portrait-img,
.artist-feature-card:hover .founder-portrait-img,
.founder-image-wrapper:hover .founder-portrait-img {
    filter: grayscale(100%) contrast(120%) brightness(95%) !important;
    transform: none !important;
    animation: none !important;
}

/* 6. Portfolio Gallery Cards & Filter Transitions */
.portfolio-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: opacity, transform;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: rgba(241, 205, 149, 0.6) !important;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(241, 205, 149, 0.18);
}

.portfolio-item-hidden {
    opacity: 0 !important;
    transform: scale(0.94) !important;
    pointer-events: none !important;
}

.portfolio-item-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* 7. Interactive Before/After Cover-Up Transformation Slider */
.ba-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    border: 1px solid var(--border-hairline);
    background: var(--surface-lowest);
}

.ba-image-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid var(--primary);
}

.ba-before-wrapper .ba-image-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: none;
}

.ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--surface-low);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 10px rgba(241, 205, 149, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ba-slider-handle:hover,
.ba-slider-handle:active {
    background: var(--primary);
    color: var(--on-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.no-scrollbar,
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile Responsiveness & Touch Interface Optimizations */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .sparkle-star-1 { left: 0.1rem !important; }
    .sparkle-star-4 { right: 0.1rem !important; }
    .sparkle-star-7 { right: 0.1rem !important; }
    .gold-ambient-glow {
        width: 280px !important;
        height: 280px !important;
    }
}

/* iOS Safari Input Zoom Prevention & Ultra-Mobile Responsive Typography */
@media (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important; /* Prevents unwanted iOS auto-zoom on input focus */
    }
    
    /* Responsive Headline Scaling for Small Mobile Displays */
    .text-display-hero-mobile {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        line-height: 1.15 !important;
    }
    .text-headline-xl-mobile {
        font-size: clamp(1.6rem, 6.5vw, 2rem) !important;
        line-height: 1.2 !important;
    }
    
    /* Touch optimization */
    button, a, input, select, textarea {
        touch-action: manipulation;
    }
    
    /* Smooth Touch Scroll for Horizontal Carousels and Data Tables */
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
}

/* Sticky Bottom Mobile Bar Offset for Main Content */
@media (max-width: 1023px) {
    main {
        padding-bottom: 4.5rem !important;
    }
}

/* Vertical Editorial Cards Gallery System */
.artist-card {
    will-change: transform, border-color, box-shadow;
}

.artist-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(241, 205, 149, 0.15);
}

.artist-card img {
    will-change: transform, filter;
}





