.apropos-section {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Dark overlay + background image */
.apropos-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* dark overlay */
        url('/Origami/static/images/apropos.png');       /* background image */
    background-size: cover;
    background-position: center;
    z-index: 0; /* behind the text */
}

/* Keep the content above the overlay */
.apropos-content {
    position: relative;
    z-index: 1;
}

.apropos-content h1 {
    color: white;
    font-size: 4rem;
    font-weight: bold;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    width: max-content;
}



/* ================================
   HISTOIRE SECTION
   ================================ */
.histoire-section {
    padding: 80px 0;
}

.histoire-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.histoire-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.histoire-subtitle {
    color: #d70000;
    margin-top: 5px;
    font-size: 18px;
}

.histoire-logo-container {
    display: flex;
    align-items: center;
}

.histoire-logo {
    width: 90px;
    height: 90px;
}

/* ================================
   Cards
   ================================ */
.histoire-cards {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.histoire-card {
    display: flex;
    align-items: center;
    gap: 100px;
}

/* Alternate the direction for even cards */
.histoire-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Card image */
.histoire-card-img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Card text */
.histoire-card h3 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 500;
}

.histoire-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}


/* Text container inside card */
.histoire-card > h3,
.histoire-card > p,
.histoire-card > .voir-plus {
    width: 50%;
}

/* ================================
   Bottom A propos button
   ================================ */
.histoire-apropos-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.histoire-apropos-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: 0.3s ease;
}

.histoire-apropos-btn:hover {
    background: #333;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 992px) {
    .histoire-card {
        flex-direction: column !important;
        text-align: center;
    }

    .histoire-card > h3,
    .histoire-card > p,
    .histoire-card > .voir-plus,
    .histoire-card-img {
        width: 100%;
    }

    .histoire-card-img {
        height: auto;
    }
}




/* RESTAURANTS SECTION */
.o_origami_restaurants {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.restaurants-title {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 40px;
}

.restaurants-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.restaurants-row > div {
  flex: 1;
  min-width: 0;
}

.restaurants-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.restaurant-card {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.restaurant-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Selected restaurant card with red background */
.restaurant-card.selected {
  background-color: #e31d23;
  border-color: #e31d23;
}

.restaurant-card.selected h4,
.restaurant-card.selected p {
  color: #ffffff;
}

.restaurant-logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.restaurant-info {
  flex: 1;
}

.restaurant-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.restaurant-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.restaurants-map {
  width: 100%;
  height: 450px;
  border-radius: 4px;
  overflow: hidden;
}

/* Responsive Design - ensure proper column layout on tablets and mobile */
@media (max-width: 768px) {
  .restaurants-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .restaurants-row {
    flex-direction: column;
    gap: 20px;
  }

  .restaurants-map {
    height: 350px;
  }

  .restaurant-card {
    padding: 16px;
  }

  .restaurant-card h4 {
    font-size: 16px;
  }

  .restaurant-card p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .restaurants-title {
    font-size: 24px;
  }

  .restaurants-map {
    height: 300px;
  }
}


/* FRANCHISE SECTION */
.franchise-section {
  width: 100%;
  padding: 0;
}

.franchise-container {
  display: flex;
  align-items: stretch;
  min-height: 400px;
}

.franchise-content {
  flex: 1;
  background-color: #e31d23;
  color: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.franchise-content h2 {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 30px 0;
  letter-spacing: 0.5px;
}

.franchise-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  max-width: 500px;
}

.franchise-btn {
  display: inline-block;
  background-color: #1a1a1a;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.franchise-btn:hover {
  background-color: #333;
}

.franchise-btn span {
  margin-left: 8px;
}

.franchise-image {
  flex: 1;
  overflow: hidden;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .franchise-container {
    flex-direction: column;
    min-height: auto;
  }

  .franchise-content {
    padding: 40px 30px;
  }

  .franchise-content h2 {
    font-size: 28px;
  }

  .franchise-content p {
    font-size: 14px;
  }

  .franchise-image {
    min-height: 300px;
  }
}

/* ===============================
   APROPOS SECTION – FIX MOBILE VH
================================= */


/* Tablet & mobile */
@media (max-width: 768px) {
    .apropos-section {
        min-height: 70svh;  /* stable viewport height */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .apropos-section {
        min-height: 80svh;
    }
}

/* ===============================
   APROPOS – RESPONSIVE TEXT
================================= */

/* Tablet */
@media (max-width: 992px) {
    .apropos-content h1 {
        font-size: 3.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .apropos-content h1 {
        font-size: 2.4rem;
        text-align: center;
        width: 100%;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .apropos-content h1 {
        font-size: 2rem;
    }
}
