/* ===== AJ BARBER - Barbershop Premium Style ===== */

/* ===== Variables ===== */
:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #888888;
    --gold: #c9a227;
    --gold-light: #d4af37;
    --gold-dark: #a68519;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 30px rgba(201, 162, 39, 0.3);
    --transition: all 0.3s ease;
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.4;
    letter-spacing: 1px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: var(--black);
    color: var(--gold);
    border: 3px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

.btn-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--black);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
    margin-top: 30px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-nav {
    background: var(--gold);
    color: var(--black) !important;
    padding: 8px 18px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.btn-nav:hover {
    background: var(--gold-light);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    padding: 8px 0;
    transition: var(--transition);
    border-bottom: none;
    overflow: visible;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    -webkit-text-stroke: 0.5px var(--white);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-close {
    display: none;
}

.nav-menu-logo {
    display: none;
}

/* ===== Scrolling Banner ===== */
.scrolling-banner {
    position: relative;
    background: var(--black);
    overflow: hidden;
    padding: 5px 0;
    margin: 0;
    z-index: 10;
}

.banner-content {
    display: flex;
    width: fit-content;
}

.banner-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: scroll-infinite 20s linear infinite;
}

.banner-track span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.7px;
    padding-right: 45px;
    display: inline-block;
}

@keyframes scroll-infinite {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* ===== Hero Section ===== */
.hero {
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 40px 20px 20px 20px;
    max-width: 800px;
}

.hero-content > * {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease forwards;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 500;
    animation-delay: 0.1s;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 15px;
    letter-spacing: 8px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    animation-delay: 0.3s;
}

.hero-welcome {
    font-size: 0.85rem;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 15px;
    animation-delay: 0.5s;
}

.welcome-line {
    display: block;
}

.welcome-line.gold {
    color: var(--gold);
}

.btn-hero {
    display: inline-block;
    padding: 12px 38px;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    animation-delay: 0.7s;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--black);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
    letter-spacing: 1px;
}

.current-date {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold), transparent);
    animation: scroll 2s infinite;
}

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

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    color: var(--white);
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.2rem;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

/* ===== Prestige Section ===== */
.prestige {
    background:
        linear-gradient(rgba(0, 0, 0, 0.77), rgba(0, 0, 0, 0.77)),
        url('../images/prestige-bg.jpg') center/cover no-repeat fixed;
    position: relative;
}

.prestige .section-title {
    color: var(--gold);
}

.prestige .section-subtitle {
    color: var(--white);
}

.prestige-icon {
    display: block;
    margin: 0 auto 40px;
    width: 100%;
    max-width: 600px;
    height: auto;
    opacity: 0.85;
    filter: grayscale(100%) brightness(1.1);
    transition: all 0.3s ease;
}

.prestige-icon:hover {
    opacity: 1;
    transform: scale(1.02);
}

.prestige::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.prestige-content {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.prestige-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    letter-spacing: 0.5px;
}

.prestige-text strong {
    color: var(--gold);
    font-weight: 600;
}

/* Show desktop text by default, hide mobile text */
.prestige-text-desktop {
    display: block;
}

.prestige-text-mobile {
    display: none;
}

.prestige-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 60px auto;
    padding: 0 40px;
    perspective: 1500px;
}

.prestige-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.polaroid-stack {
    position: relative;
    width: 420px;
    height: 520px;
    margin: 0 auto;
    /* Enable GPU acceleration for smooth dragging */
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.polaroid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    background: #fff;
    padding: 20px 20px 60px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    /* Performance optimizations */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Prevent default touch behaviors for smooth dragging */
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Effet de pile - chaque photo a une position légèrement différente */
.polaroid[data-index="0"] {
    transform: translate(-50%, -50%) rotate(-2deg);
    z-index: 13;
}

.polaroid[data-index="1"] {
    transform: translate(-51%, -49%) rotate(1deg);
    z-index: 12;
}

.polaroid[data-index="2"] {
    transform: translate(-49%, -51%) rotate(-1deg);
    z-index: 11;
}

.polaroid[data-index="3"] {
    transform: translate(-50%, -50%) rotate(2deg);
    z-index: 10;
}

.polaroid[data-index="4"] {
    transform: translate(-51%, -50%) rotate(-3deg);
    z-index: 9;
}

.polaroid[data-index="5"] {
    transform: translate(-49%, -49%) rotate(1deg);
    z-index: 8;
}

.polaroid[data-index="6"] {
    transform: translate(-50%, -51%) rotate(-1deg);
    z-index: 7;
}

.polaroid[data-index="7"] {
    transform: translate(-51%, -51%) rotate(2deg);
    z-index: 6;
}

.polaroid[data-index="8"] {
    transform: translate(-49%, -50%) rotate(-2deg);
    z-index: 5;
}

.polaroid[data-index="9"] {
    transform: translate(-50%, -49%) rotate(1deg);
    z-index: 4;
}

.polaroid[data-index="10"] {
    transform: translate(-51%, -50%) rotate(-1deg);
    z-index: 3;
}

.polaroid[data-index="11"] {
    transform: translate(-49%, -51%) rotate(2deg);
    z-index: 2;
}

.polaroid[data-index="12"] {
    transform: translate(-50%, -50%) rotate(-2deg);
    z-index: 1;
}

.polaroid.fly-out {
    animation: flyAway 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes flyAway {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-200%, -150%) rotate(-45deg) scale(0.3);
        opacity: 0;
    }
}

.polaroid img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border: 1px solid #ddd;
}

.polaroid-caption {
    text-align: center;
    margin-top: 15px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--black);
    letter-spacing: 1px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-rendez-vous {
    background: var(--black);
    color: var(--gold);
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.2);
}

.btn-rendez-vous:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

/* CTA Button between sections */
.cta-between-sections {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: var(--black);
}

/* ===== Services Section ===== */
.services {
    background:
        linear-gradient(rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.80)),
        url('../images/services-bg.webp') center/cover no-repeat fixed;
    padding: 100px 0;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.services-left {
    position: sticky;
    top: 100px;
}

.services-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.services-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.category-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.category-btn.active:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.6);
}

.service-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-nav-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-nav-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}

.service-display-card {
    background: var(--dark-gray);
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 380px;
    /* GPU acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.service-display-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    max-height: 100%;
}

.service-display-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.service-display-description {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-display-cta {
    margin-top: auto;
    padding-top: 10px;
}

.service-display-cta a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.service-display-cta a:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
    transform: translateX(5px);
}

.service-display-image {
    position: relative;
    overflow: hidden;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-display-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ===== Gallery Section ===== */
.galerie {
    background: var(--black);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 935px;
    margin: 0 auto;
}

.instagram-grid-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--dark-gray);
    cursor: pointer;
}

.instagram-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-icon {
    font-size: 3rem;
    filter: brightness(0) invert(1);
}

.instagram-grid-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-grid-item:hover img {
    transform: scale(1.05);
}

.instagram-cta {
    text-align: center;
    margin-top: 50px;
}

.instagram-cta p {
    color: var(--light-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.instagram-floating-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    padding: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    transform: translateX(200px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-floating-icon.animate {
    animation: slideFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.instagram-floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.instagram-floating-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.insta-icon {
    margin-right: 8px;
}

/* ===== Team Section ===== */
.equipe {
    background: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--dark-gray);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.team-card:hover {
    border-color: var(--gold);
}

.team-img {
    height: 350px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: var(--transition);
}

.team-card:hover .team-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.5rem;
    margin: 25px 0 5px;
    color: var(--white);
    letter-spacing: 2px;
}

.role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.bio {
    color: var(--light-gray);
    padding: 0 25px 25px;
    font-size: 1.05rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.social-link-team {
    display: inline-block;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.social-link-team:hover {
    transform: scale(1.2);
}

/* ===== Shop Section ===== */
.shop {
    background: var(--black);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.product-card {
    background: var(--dark-gray);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card.hidden-desktop {
    display: none !important;
}

.product-card.hidden-desktop.show {
    display: block !important;
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-price {
    color: var(--gold);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    margin: 0;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    color: var(--gold);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.product-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 40px;
}

.product-info .btn {
    width: 100%;
}

.show-more-btn {
    display: block;
    margin: 0 auto;
}

.show-more-btn.hidden {
    display: none;
}

.shop-carousel-dots {
    display: none;
}

/* ===== Reviews Section ===== */
.reviews {
    background: var(--dark);
    padding: 100px 0;
}

.google-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.google-logo {
    width: 150px;
    height: auto;
}

.google-logo svg {
    width: 100%;
    height: auto;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars .star {
    font-size: 2rem;
    color: var(--gold);
}

.rating-text {
    font-size: 1.5rem;
    color: var(--gold);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    margin-left: 10px;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 80px;
}

.reviews-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.review-card {
    background: var(--black);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    display: none;
    flex-direction: column;
    gap: 15px;
    min-height: 280px;
}

.review-card.active {
    display: flex;
}

.review-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
}

.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.review-nav-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
}

.review-prev {
    left: 0;
}

.review-next {
    right: 0;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 700;
}

.reviewer-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.review-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-style: italic;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-gray);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-item p,
.contact-item a {
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.contact-item a:hover {
    color: var(--gold);
}

.hours-list {
    margin-top: 10px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    background: var(--dark-gray);
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

/* Map Icons Container */
.map-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 60px 40px;
    background: var(--black);
    border-radius: 15px;
    min-height: 300px;
}

.map-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.map-icon-card:hover {
    transform: scale(1.1);
}

.map-icon-card span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-top: 15px;
    letter-spacing: 2px;
    font-weight: 700;
}

.map-icon-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

/* Falling Animation */
@keyframes fallFromSky {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(-10deg);
    }
    50% {
        opacity: 1;
        transform: translateY(10px) rotate(5deg);
    }
    70% {
        transform: translateY(-5px) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.fall-animation {
    opacity: 0;
}

.fall-animation.animate {
    animation: fallFromSky 0.8s ease-out forwards;
}

.fall-animation.delay-1.animate {
    animation-delay: 0.2s;
}

.fall-animation.delay-2.animate {
    animation-delay: 0.5s;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid var(--gold);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 5px;
    margin-bottom: 10px;
    -webkit-text-stroke: 0.5px var(--white);
}

.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.footer-tagline {
    color: var(--light-gray);
    font-style: normal;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-address {
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-social {
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.footer-social a:hover {
    color: var(--gold-light);
}

.footer-social span {
    color: var(--medium-gray);
}

.copyright {
    color: var(--light-gray);
    font-size: 1rem;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.footer-date {
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-date .eshop-link {
    color: var(--gold);
    text-decoration: none;
    border: 2px solid var(--gold);
    padding: 5px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
}

.footer-date .eshop-link:hover {
    background: var(--gold);
    color: var(--black);
}

/* ===== Install Banner ===== */
.install-banner {
    position: fixed;
    bottom: -100%;
    left: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid var(--gold);
}

.install-banner.show {
    bottom: 20px;
}

.install-buttons {
    display: flex;
    gap: 10px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    font-weight: 600;
    z-index: 1001;
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    /* Reduce navbar spacing for medium screens to prevent button cutoff */
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .btn-nav {
        padding: 7px 15px;
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-right: 0;
    }

    .map-icons-container {
        padding: 40px 20px;
        gap: 40px;
        flex-wrap: wrap;
    }

    .map-icon-img {
        width: 100px;
        height: 100px;
    }

    .map-icon-card span {
        font-size: 1.1rem;
    }

    /* Switch to hamburger menu on smaller screens */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 70px 30px 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-left: 2px solid var(--gold);
        border-bottom: none;
        z-index: 9999;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: var(--gold);
        cursor: pointer;
        padding: 5px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-close:hover {
        transform: rotate(90deg);
        color: var(--white);
    }

    .nav-close:focus {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }

    .nav-menu-logo {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--gold);
        width: 100%;
        text-align: center;
        -webkit-text-stroke: 0.5px var(--white);
    }

    .nav-menu li {
        width: 100%;
        list-style: none;
    }

    .nav-menu a {
        display: block;
        font-size: 1.05rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    }

    .nav-menu .btn-nav {
        margin-top: 12px;
        text-align: center;
        border: 2px solid var(--gold);
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 0.95rem;
        background: var(--gold);
        color: var(--black);
        font-weight: 600;
        border-bottom: none;
    }

}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablets - Banner adjustments */
    .scrolling-banner {
        padding: 3.6px 0;
    }

    .banner-track span {
        font-size: 2.25rem;
        letter-spacing: 2.25px;
    }

    .banner-track {
        animation: scroll-infinite 17s linear infinite;
    }

    /* Prestige Carousel Tablet */
    .polaroid-stack {
        width: 380px;
        height: 480px;
    }

    .polaroid {
        width: 340px;
        padding: 18px 18px 55px 18px;
    }

    .polaroid img {
        height: 340px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    /* Switch to mobile text on small screens */
    .prestige-text-desktop {
        display: none;
    }

    .prestige-text-mobile {
        display: block;
    }

    /* Banner mobile */
    .scrolling-banner {
        padding: 9px 0;
    }

    .banner-track span {
        font-size: 3.6rem;
        letter-spacing: 3.6px;
    }

    .banner-track {
        animation: scroll-infinite 15s linear infinite;
    }

    /* Hero mobile adjustments */
    .hero {
        height: 60vh;
        min-height: 500px;
        max-height: 600px;
    }

    .hero-video-container {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        overflow: hidden;
    }

    .hero-video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 177.78vh;
        height: 100vh;
        max-width: none;
    }

    /* Ensure video displays in full on portrait orientation */
    @media (orientation: portrait) {
        .hero-video-container iframe {
            width: 100%;
            height: 56.25vw;
            min-height: 100%;
        }
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 8px;
    }

    .hero-welcome {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .btn-hero {
        font-size: 0.9rem;
        padding: 12px 38px;
    }

    /* Prestige Carousel Mobile */
    .prestige-icon {
        max-width: 400px;
        margin-bottom: 30px;
    }

    .prestige-carousel-container {
        padding: 0 10px;
    }

    .prestige-carousel {
        height: 400px;
        max-width: 100%;
    }

    .polaroid-stack {
        width: 320px;
        height: 400px;
    }

    .polaroid {
        width: 280px;
        padding: 15px 15px 50px 15px;
    }

    .polaroid img {
        height: 280px;
    }

    .polaroid-caption {
        font-size: 1rem;
        margin-top: 10px;
    }

    .btn-rendez-vous {
        padding: 14px 40px;
        font-size: 1rem;
    }

    .cta-between-sections {
        padding: 40px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .install-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hours-list li {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    /* Banner small mobile */
    .scrolling-banner {
        padding: 5.4px 0;
    }

    .banner-track span {
        font-size: 2.7rem;
        letter-spacing: 2.7px;
    }

    .banner-track {
        animation: scroll-infinite 12s linear infinite;
    }

    .prestige-icon {
        max-width: 300px;
        margin-bottom: 25px;
    }

    .hero {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .hero-welcome {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 18px;
    }

    .btn-hero {
        font-size: 0.85rem;
        padding: 10px 32px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .current-date {
        font-size: 0.8rem;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    .services {
        padding: 60px 0;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-left {
        position: static;
    }

    .services-title {
        font-size: 2rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .services-categories {
        justify-content: center;
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .service-display-card {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 550px;
        /* Enable touch swipe gestures */
        touch-action: pan-y;
        -webkit-touch-callout: none;
        user-select: none;
        -webkit-user-select: none;
        cursor: grab;
    }

    .service-display-card:active {
        cursor: grabbing;
    }

    .service-display-content {
        padding: 25px 20px;
        max-height: 280px;
        overflow: hidden;
    }

    .service-display-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .service-display-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .service-display-image {
        height: 270px;
        max-height: 270px;
        min-height: 270px;
    }

    .service-display-cta a {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    .service-carousel-wrapper {
        gap: 0;
    }

    .service-nav-btn {
        display: none;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        max-width: 100%;
    }

    .instagram-icon {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }

    .btn-large {
        padding: 16px 30px;
    }

    .section-title {
        letter-spacing: 2px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .social-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Reviews mobile */
    .reviews {
        padding: 60px 0;
    }

    .google-logo {
        width: 120px;
    }

    .rating-stars .star {
        font-size: 1.5rem;
    }

    .rating-text {
        font-size: 1.2rem;
    }

    .reviews-carousel-wrapper {
        padding: 0 20px;
    }

    .review-card {
        padding: 30px 25px;
        min-height: auto;
        border: 2px solid var(--gold);
    }

    .review-nav-btn {
        display: none;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .reviewer-info h4 {
        font-size: 1.1rem;
    }

    .review-stars {
        font-size: 1.1rem;
    }

    .review-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .review-date {
        font-size: 0.9rem;
    }

    /* Shop mobile - Carousel mode */
    .shop {
        padding: 60px 0;
        overflow: hidden;
    }

    .show-more-btn {
        display: none !important;
    }

    .shop .container {
        overflow: visible;
        max-width: 100%;
        padding: 0;
    }

    .products-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        min-height: 550px;
        margin-bottom: 30px;
    }

    .product-card {
        position: absolute;
        width: 85%;
        max-width: 400px;
        left: 50%;
        top: 0;
        transform: translateX(-50%) scale(0.85);
        opacity: 0;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: block !important;
        z-index: 1;
    }

    .product-card.active {
        opacity: 1;
        transform: translateX(-50%) scale(1);
        z-index: 10;
        pointer-events: auto;
    }

    .product-card.prev {
        opacity: 0.3;
        transform: translateX(-120%) scale(0.8);
        z-index: 5;
    }

    .product-card.next {
        opacity: 0.3;
        transform: translateX(20%) scale(0.8);
        z-index: 5;
    }

    .product-card.hidden-desktop {
        display: block !important;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 20px 15px;
    }

    .product-info h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
        min-height: auto;
    }

    .product-price {
        font-size: 1.8rem;
    }

    .product-info .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .shop-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
        padding: 0 20px;
    }

    .shop-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(201, 162, 39, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .shop-dot.active {
        background: var(--gold);
        width: 30px;
        border-radius: 5px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card,
.team-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Fidelite Modal ===== */
.fidelite-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.fidelite-modal.show {
    display: flex;
}

.fidelite-modal-content {
    position: relative;
    width: 95%;
    height: 95%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--black);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(201, 162, 39, 0.3);
}

.fidelite-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    border: none;
    color: var(--black);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.fidelite-close:hover {
    background: var(--white);
    transform: rotate(90deg);
}

.fidelite-close svg {
    width: 24px;
    height: 24px;
}

/* ===== Review Popup ===== */
.review-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.review-popup.show {
    display: flex;
}

.review-popup-content {
    background: var(--dark-gray);
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
}

.review-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.review-popup-close:hover {
    transform: rotate(90deg);
}

.review-popup-google-logo {
    width: 180px;
    margin: 0 auto 25px;
}

.review-popup-google-logo svg {
    width: 100%;
    height: auto;
}

.review-popup-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.popup-star {
    font-size: 2.5rem;
    color: var(--gold);
    animation: popStar 0.6s ease forwards;
}

.popup-star:nth-child(1) { animation-delay: 0s; }
.popup-star:nth-child(2) { animation-delay: 0.1s; }
.popup-star:nth-child(3) { animation-delay: 0.2s; }
.popup-star:nth-child(4) { animation-delay: 0.3s; }
.popup-star:nth-child(5) { animation-delay: 0.4s; }

@keyframes popStar {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.review-popup-content h3 {
    color: var(--gold);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-popup-content p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.review-popup-content .btn-primary {
    font-size: 1.2rem;
    padding: 18px 40px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile responsive for popup */
@media (max-width: 768px) {
    .review-popup-content {
        padding: 40px 30px;
        width: 85%;
    }

    .review-popup-google-logo {
        width: 140px;
        margin-bottom: 20px;
    }

    .review-popup-stars {
        gap: 5px;
        margin-bottom: 20px;
    }

    .popup-star {
        font-size: 2rem;
    }

    .review-popup-content h3 {
        font-size: 1.8rem;
        white-space: nowrap;
    }

    .review-popup-content p {
        font-size: 1rem;
    }

    .review-popup-content .btn-primary {
        font-size: 1rem;
        padding: 16px 30px;
        width: 100%;
    }

    /* Fidelite Modal mobile */
    .fidelite-modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .fidelite-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .fidelite-close svg {
        width: 20px;
        height: 20px;
    }

    /* Performance optimizations for mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Reduce animations complexity on mobile */
    .polaroid {
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Optimize carousel transitions */
    .service-display-card,
    .product-card,
    .review-card {
        will-change: transform, opacity;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* Optimize images */
    img {
        will-change: auto;
    }

    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}
