/* styles.css */

/* Import Google Fonts - Inter (police du site mère) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* === Slider principal (inspiration: jh3y - Responsive Faux 3D Content Scroller) === */
.hero {
    /* on garde tes réglages existants */
  }
  /* Animation au-dessus du slider */
.intro-anim{
  /* centre parfait */
  display: grid;
  place-items: center;

  /* taille de bandeau responsive */
  min-height: clamp(110px, 40vh, 320px);

  /* respiration autour */
  margin: 2rem auto 1rem;
  padding: 0;
}

.intro-anim img{
  width: min(70vw, 240px); /* max 480px, sinon 90% viewport */
  height: auto;
  /* optionnel: rendu propre sur écrans HD */
  image-rendering: -webkit-optimize-contrast;
}

  
  /* Conteneur avec perspective + scroll horizontal */
  .track-wrapper{
    --card-w: clamp(220px, 32vw, 420px);
    --card-h: clamp(180px, 22vw, 320px);
    --gap:    clamp(12px, 2vw,  24px);
  
    width: 100%;
    /*height: calc(100vh - 64px);  nav fixe compensée */
    display: grid;
    place-items: center;
  
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  
    perspective: 1000px;
    scrollbar-width: none; /* Firefox */
  }
  .track-wrapper::-webkit-scrollbar{ display:none; } /* Chrome/Safari */
  
  /* Rail horizontal */
  .track{
    list-style: none;
    margin: 0;
    padding: 0 calc(50vw - var(--card-w)/2);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--card-w);
    gap: var(--gap);
  }
  
  /* Cartes */
  .track__item{ scroll-snap-align: center; }
  
  .track__item img{
    width: 100%;
    height: var(--card-h);
    object-fit: contain;         /* montre l’image en entier (pas de crop/zoom) */
    background: #201f1f;            /* barres latérales discrètes si ratio diffère */
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
  
    transform-style: preserve-3d;
    will-change: transform;
    transform: translateZ(var(--tz, 60px)) rotateY(var(--ry, 0deg));
    transition: transform .25s ease;
  }
  
  /* Responsive */
  @media (max-width: 809px){
    .track-wrapper{
      --card-w: clamp(240px, 85vw, 85vw);
      --card-h: clamp(160px, 56vw, 360px);
    }
  }
  

:root {
    --primary-color: #f68628;
    --dark-color: #0a0a0a;
    --light-color: #f5f5f5;
    --gray-color: #666666;
    --white: #ffffff;
    --accent-blue: #4355a4;
    --accent-green: #96c741;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.75;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Amélioration typographie globale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; }

p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 38px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #595959;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.ola-logo img {
    height: 36px;
    width: 42px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 2px 20px 2px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-orange {
    background: linear-gradient(180deg, #eb8324 0%, #eb8324 100%);
    color: var(--white);
    padding: 12px 22px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 134, 40, 0.3);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8f7f7 0%, #f7f4f4 100%);
    padding-top: 5px;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 600px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 61px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--light-color);
    margin-bottom: 30px;
}

.hero-title span {
    display: block;
}

.hero-logo {
    margin: 30px 0;
}

.hero-logo img {
    max-width: 268px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 26px;
    color: #d4d4d4;
    line-height: 1.6;
    margin-bottom: 40px;
}
/* Auto défilement : on coupe le scroll-snap pour éviter les à-coups */
.track-wrapper.is-auto { 
    scroll-snap-type: none;
  }
  

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Why Marhaba Section */
.why-marhaba {
    padding: 10px 0;
    background: url('images/bg-pattern.png') center/cover;
}

.why-marhaba h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.why-marhaba .subtitle {
    font-size: 17px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-column video {
    width: 50%;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Store Sizes Section */
.store-sizes {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
}

.size-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.size-image {
    height: 300px;
    overflow: hidden;
    border: 1px solid rgba(250, 250, 250, 0.05);
}

.size-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.size-info {
    padding: 30px 20px;
}

.size-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
}

.size-info p {
    font-size: 17px;
    color: #a3a3a3;
    line-height: 1.3;
}

/* Support Section */
.support {
    padding: 10px 0;
    background: whitesmoke;
    text-align: center;
}

.support .section-title {
    color: var(--dark-color);
}

.support-slider {
    max-width: 990px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.support-slider img {
    width: 100%;
    border-radius: 10px;
    scroll-snap-align: center;
}

/* FAQs Section */
.faqs {
    padding: 5px 0;
    background: var(--white-color);
}

.faqs .section-title {
    color: var(--dark-color);
    text-align: left;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: transparent;
    border: 1px solid #ededed;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 19px;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 12px 16px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 200px 0;
    background: url('images/bg-pattern.png') center/cover;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 230, 230, 0) 0%, rgba(247, 244, 244, 0.7) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    padding: 44px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 38px;
}

.copyright {
    font-size: 13px;
    color: var(--gray-color);
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-right a {
    font-size: 13px;
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 809px) {
    .nav-links,
    .ola-logo {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 15px;
        z-index: 999;
    }
    
    .nav-links.active li {
        width: 100%;
    }
    
    .nav-links.active a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .sizes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-right {
        flex-direction: column;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
}

@media (min-width: 480px) and (max-width: 640px) {
    .container {
        max-width: 480px;
    }
    
    .hero-title {
        font-size: 43px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-logo {
    animation-delay: 0.4s;
}

.hero-subtitle {
    animation-delay: 0.6s;
}

.hero-cta {
    animation-delay: 0.8s;
}
/* ===== Bandeau Bienvenue (centré) ===== */
.welcome{
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(16px, 4vw, 32px) 16px;
    margin: 0 auto clamp(16px, 3vw, 24px);
  }
  
  .welcome__logo{
    width: min(160px, 28vw);
    height: auto;
    margin: 0 auto 10px;
    /* Si le fond est sombre et le logo est noir, tu peux décommenter :
    filter: brightness(0) invert(1);
    */
  }
  
  .welcome__title{
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: .2px;
  }
  
  .welcome__tagline{
    max-width: 760px;
    margin: 0 auto 14px;
    opacity: .9;
  }
  
  .welcome__cta .btn{
    display: inline-block;
    padding: .8rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
  }
  
  /* Bouton principal (couleur marhaba/OLA) */
  .btn-primary{
    background: #F07C00;           /* orange marhaba/OLA */
    color: #fff;
    box-shadow: 0 10px 24px rgba(240,124,0,.32);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  }
  .btn-primary:hover{ transform: translateY(-1px); }
  .btn-primary:active{ transform: translateY(0); opacity: .9; }
  
/* === ABOUT MARHABA SECTION === */
.about-marhaba {
    padding: 4rem 0;
    background: #fafafa;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-top: 0.5rem;
    font-weight: 400;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* E-commerce Section */
.ecommerce-section {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.feature-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--dark-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.ecommerce-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(246, 134, 40, 0.1);
    border-left: 4px solid var(--primary-color);
}

.feature-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-box h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-box p {
    color: var(--gray-color);
    margin: 0;
}

/* Partnership Grid */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partnership-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partnership-card:hover::before {
    transform: scaleX(1);
}

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.partnership-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    color: white;
    border-radius: 12px;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.partnership-card h4 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.partnership-card p {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

/* Support Grid */
.support-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    padding: 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(246, 134, 40, 0.15);
}

.support-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.support-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-marhaba {
        padding: 2rem 0;
    }
    
    .product-grid,
    .partnership-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .ecommerce-section {
        padding: 2rem 1.5rem;
    }
    
    .about-section {
        margin-bottom: 2rem;
    }
}

/* === ABOUT PAGE STYLES === */
.about-hero {
    background: linear-gradient(135deg, #f68628 0%, #ff9e4d 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    font-weight: 400;
}

.bg-light {
    background: #fafafa;
}

.ecommerce-highlight {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    padding: 4rem 0;
}

.ecommerce-highlight h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    transform: translateX(5px);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* === GALLERY PAGE STYLES === */
.gallery-hero {
    background: linear-gradient(135deg, #f68628 0%, #ff9e4d 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.gallery-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.gallery-hero .hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    font-weight: 400;
    color: white;
}

.gallery-section {
    padding: 4rem 0;
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(246, 134, 40, 0.2);
}

.gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
}

.gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

/* Responsive adjustments for Gallery */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 1;
    }
    
    .gallery-section {
        padding: 2rem 0;
    }
}

/* === GALLERY IMAGE PLACEHOLDERS === */
.gallery-item img[src*="gallery/"] {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.gallery-item img[src*="gallery/"]:not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]) {
    content: '';
    background: linear-gradient(135deg, #ffd6b3 0%, #ffb380 100%);
    position: relative;
}

/* Message pour images manquantes */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    color: #999;
    text-align: center;
    z-index: -1;
}

.gallery-item:has(img[alt="marhaba Store Exterior"])::before {
    content: '���\AMagasin';
}

.gallery-item:has(img[alt="marhaba Interior"])::before {
    content: '���\AIntérieur';
}

.gallery-item:has(img[alt="Products Display"])::before {
    content: '���\AProduits';
}

.gallery-item:has(img[alt="Checkout Area"])::before {
    content: '���\ACaisse';
}

.gallery-item:has(img[alt="Coffee Corner"])::before {
    content: '☕\ACafé';
}

.gallery-item:has(img[alt="Fresh Food Section"])::before {
    content: '���\AProduits Frais';
}

.gallery-item:has(img[alt="Snacks Section"])::before {
    content: '���\ASnacks';
}

.gallery-item:has(img[alt="Store at Night"])::before {
    content: '���\A24/7';
}

.gallery-item:has(img[alt="Our Team"])::before {
    content: '���\AÉquipe';
}

.gallery-item:has(img[alt="Parking Area"])::before {
    content: '���️\AParking';
}

.gallery-item:has(img[alt="Promotions"])::before {
    content: '���\APromos';
}

.gallery-item:has(img[alt="Happy Customer"])::before {
    content: '���\AClients';
}
