/* ============================================
   FRIENDS BARBER - STYLES CSS
   
   GUIDE DES COULEURS (à modifier ici) :
   - Fond principal : #0a0a0a (noir profond)
   - Texte principal : #ffffff (blanc)
   - Texte secondaire : rgba(255,255,255,0.4)
   - Accent orange : #f59e0b à #f97316
   - Accent vert : #10b981 à #14b8a6
   - Accent violet : #9333ea à #ec4899
   - Accent bleu : #3b82f6 à #06b6d4
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Sélection */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: white;
}

/* Touch feedback */
button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.2) 40%, 
        #0a0a0a 100%
    );
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 48px;
    width: auto;
}

.header-phone {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.2s;
}

.header-phone:active {
    transform: scale(0.95);
}

.header-phone svg {
    color: white;
}

/* Hero Content */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    padding-bottom: 48px;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* Badges */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-rating {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.badge-rating svg {
    width: 14px;
    height: 14px;
}

.badge-open {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 10px;
}

.reviews-count {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.flex-spacer {
    flex: 1;
}

/* Hero Title */
.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Hero Buttons */
.hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    gap: 4px;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: white;
    color: black;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    color: rgba(255,255,255,0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   HOURS SECTION
   ============================================ */
.hours-section {
    padding: 0 16px;
    margin-top: -24px;
    position: relative;
    z-index: 10;
}

.hours-card {
    background: linear-gradient(to right, #18181b, #1f1f23);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
}

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

.hours-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-icon svg {
    color: #10b981;
}

.hours-info {
    flex: 1;
}

.hours-label {
    font-size: 14px;
    font-weight: 600;
}

.hours-today {
    font-size: 12px;
    color: #10b981;
}

.hours-chevron {
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s;
}

.hours-card.open .hours-chevron {
    transform: rotate(180deg);
}

.hours-list {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hours-card.open .hours-list {
    display: grid;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.hours-row.highlight {
    color: #10b981;
    font-weight: 600;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 40px 16px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-line {
    width: 4px;
    height: 32px;
    border-radius: 4px;
}

.section-line.orange {
    background: linear-gradient(to bottom, #f59e0b, #f97316);
}

.section-line.purple {
    background: linear-gradient(to bottom, #a855f7, #ec4899);
}

.section-line.blue {
    background: linear-gradient(to bottom, #3b82f6, #06b6d4);
}

.section-line.green {
    background: linear-gradient(to bottom, #10b981, #14b8a6);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 900;
}

.rating-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 100px;
}

.rating-badge svg {
    color: #fbbf24;
    width: 20px;
    height: 20px;
}

.rating-badge span {
    font-weight: 900;
    color: #fbbf24;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    position: relative;
    background: rgba(24, 24, 27, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card.popular {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    padding: 1px;
    border: none;
}

.service-card.popular > * {
    position: relative;
}

.service-card.popular::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: #18181b;
    border-radius: 15px;
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: black;
    font-size: 10px;
    font-weight: 900;
    border-radius: 8px;
    z-index: 1;
}

.service-info {
    position: relative;
    z-index: 1;
}

.service-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.service-duration {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}

.service-price {
    position: relative;
    z-index: 1;
    text-align: right;
}

.service-price .price {
    font-size: 32px;
    font-weight: 900;
}

.service-price .euro {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

/* No Appointment Badge */
.no-appointment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    margin-top: 24px;
    background: linear-gradient(to right, rgba(24,24,27,0.5), rgba(31,31,35,0.5));
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.05);
}

.no-appointment-badge svg {
    color: #fbbf24;
}

.no-appointment-badge span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 40px 0;
}

.gallery-section .section-header {
    padding: 0 16px;
}

.gallery-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex-shrink: 0;
    width: 256px;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:active img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.gallery-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Instagram Button */
.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #9333ea, #ec4899, #f97316);
    border-radius: 16px;
    font-weight: 700;
    transition: transform 0.2s;
}

.instagram-btn:active {
    transform: scale(0.95);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 40px 16px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    position: relative;
    background: linear-gradient(135deg, rgba(39,39,42,0.8), rgba(24,24,27,0.8));
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.review-quote {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 64px;
    font-family: serif;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: black;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.review-stars svg {
    color: #fbbf24;
}

.review-date {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.review-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Google Reviews Button */
.google-reviews-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    transition: transform 0.2s;
}

.google-reviews-btn:active {
    transform: scale(0.95);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 40px 16px;
    padding-bottom: 140px;
}

.map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-container iframe {
    display: block;
}

.map-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a0a0a, transparent);
    pointer-events: none;
}

/* Address Button */
.address-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    border-radius: 16px;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.address-btn:active {
    transform: scale(0.98);
}

.address-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-info {
    flex: 1;
}

.address-label {
    font-weight: 700;
    margin-bottom: 2px;
}

.address-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.address-btn > svg {
    color: rgba(255,255,255,0.6);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-card {
    background: rgba(39,39,42,0.5);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s;
}

.contact-card:active {
    transform: scale(0.95);
}

.contact-card svg {
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.contact-title {
    font-weight: 700;
    font-size: 14px;
}

.contact-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   BOTTOM BAR
   ============================================ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.bottom-bar-content {
    display: flex;
    gap: 12px;
}

.bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    transition: transform 0.2s;
}

.bottom-btn:active {
    transform: scale(0.95);
}

.btn-white {
    background: white;
    color: black;
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

.btn-orange {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: black;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.lightbox-dot.active {
    width: 24px;
    background: white;
}

/* ============================================
   RESPONSIVE - TABLETTE / DESKTOP
   ============================================ */
@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
    
    .hero-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-section,
    .reviews-section,
    .contact-section {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-item {
        width: 300px;
        height: 380px;
    }
    
    .bottom-bar-content {
        max-width: 500px;
        margin: 0 auto;
    }
}
