/* ============================
   HALAVI PAGE STYLES
   ============================ */

:root {
  --halavi-pink: #d4608a;
  --halavi-pink-light: #e899b5;
  --halavi-pink-dark: #b84872;
  --halavi-cream: #fdf8f5;
}

.halavi-page {
  background: var(--white);
}

/* Top bar Halavi variant */
.halavi-bar {
  background: var(--halavi-pink);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-halavi {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.hero-halavi .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(212,96,138,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-halavi .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-halavi .hero-title {
  font-size: 80px;
  font-weight: 300;
  letter-spacing: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-halavi .hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-halavi .hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUpScroll 1s ease 0.9s forwards;
  transition: color 0.3s;
  z-index: 10;
}

.hero-halavi .hero-scroll:hover {
  color: var(--halavi-pink-light);
}

.hero-halavi .hero-scroll svg {
  animation: bounce 2s ease infinite;
}

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

@keyframes fadeInUpScroll {
  from { opacity: 0; transform: translateY(30px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* ============================
   INTRO SECTION
   ============================ */
.intro-section {
  padding: 100px 40px;
  text-align: center;
  background: var(--halavi-cream);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 15px;
}

.title-divider {
  width: 60px;
  height: 2px;
  background: var(--halavi-pink);
  margin-bottom: 30px;
}

.title-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  font-size: 16px;
  line-height: 2;
  color: var(--gray);
}

/* ============================
   SECTION LABELS
   ============================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--halavi-pink);
  margin-bottom: 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ============================
   CATALOGUE SECTION
   ============================ */
.catalogue-section {
  padding: 100px 40px;
}

.products-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 15px;
  margin-bottom: 50px;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.showcase-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(212,96,138,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-category {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Categories List */
.categories-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 25px 15px;
  background: var(--halavi-cream);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.category-item:hover {
  background: var(--halavi-pink);
  transform: translateY(-5px);
}

.category-item:hover .category-name {
  color: var(--white);
}

.category-icon {
  font-size: 28px;
}

.category-name {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  transition: color 0.3s ease;
}

/* Catalogue Actions */
.catalogue-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--halavi-pink);
  color: var(--halavi-pink);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-catalogue:hover {
  background: var(--halavi-pink);
  color: var(--white);
}

.btn-deliveroo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #00ccbc;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-deliveroo:hover {
  background: #00b8a9;
  transform: translateY(-2px);
}

/* ============================
   RECEPTIONS HALAVI SECTION
   ============================ */
.receptions-halavi-section {
  padding: 100px 40px;
  background: var(--halavi-cream);
}

.receptions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}

.receptions-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.gallery-main-img {
  overflow: hidden;
}

.gallery-main-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.receptions-gallery:hover .gallery-main-img img {
  transform: scale(1.05);
}

.gallery-secondary {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gallery-secondary img {
  width: 100%;
  height: calc(225px - 7.5px);
  object-fit: cover;
  transition: transform 0.7s ease;
}

.receptions-gallery:hover .gallery-secondary img:first-child {
  transform: scale(1.05);
  transition-delay: 0.1s;
}

.receptions-gallery:hover .gallery-secondary img:last-child {
  transform: scale(1.05);
  transition-delay: 0.2s;
}

.receptions-content {
  padding: 20px 0;
}

.receptions-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 20px;
}

.minimum-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(212,96,138,0.1);
  border-left: 3px solid var(--halavi-pink);
  color: var(--halavi-pink-dark);
  font-size: 13px;
  margin-bottom: 30px;
}

.receptions-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-plaquette {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--halavi-pink);
  color: var(--halavi-pink);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-plaquette:hover {
  background: var(--halavi-pink);
  color: var(--white);
}

.btn-devis {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--halavi-pink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-devis:hover {
  background: var(--halavi-pink-dark);
}

/* ============================
   LOCATION SECTION
   ============================ */
.location-section {
  padding: 0;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.location-map {
  position: relative;
  background: #e5e3df;
}

.location-map iframe {
  position: absolute;
  inset: 0;
}

.location-info {
  padding: 80px 60px;
  background: var(--white);
}

.info-card {
  margin: 30px 0;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--halavi-cream);
  border-radius: 50%;
  color: var(--halavi-pink);
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-content strong {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

.info-content span,
.info-content a {
  font-size: 14px;
  color: var(--gray);
}

.info-content a:hover {
  color: var(--halavi-pink);
}

.btn-itineraire {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--halavi-pink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-itineraire:hover {
  background: var(--halavi-pink-dark);
  transform: translateY(-2px);
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section.halavi-cta {
  padding: 120px 40px;
  background: linear-gradient(135deg, var(--halavi-pink-dark) 0%, var(--halavi-pink) 100%);
  text-align: center;
}

.halavi-cta .cta-content h2 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.halavi-cta .cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: var(--white);
  color: var(--halavi-pink);
}

.cta-button.primary:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--halavi-pink);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* ============================
   MODAL
   ============================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--halavi-pink);
}

.modal-viewer {
  max-height: 70vh;
  overflow: hidden;
}

.modal-viewer img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.modal-actions {
  margin-top: 30px;
}

.modal-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--halavi-pink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.modal-download:hover {
  background: var(--halavi-pink-dark);
}

/* Footer Halavi link */
.halavi-link {
  color: var(--halavi-pink) !important;
}

/* ============================
   RESPONSIVE - TABLET
   ============================ */
@media (max-width: 1024px) {
  .hero-halavi .hero-title {
    font-size: 56px;
    letter-spacing: 12px;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 180px);
  }

  .showcase-item.large {
    grid-column: span 2;
  }

  .categories-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .receptions-container {
    gap: 50px;
  }

  .gallery-main-img img {
    height: 380px;
  }

  .gallery-secondary img {
    height: calc(190px - 7.5px);
  }

  .location-info {
    padding: 60px 40px;
  }
}

@media (max-width: 900px) {
  .receptions-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .receptions-gallery {
    max-width: 600px;
  }

  .location-container {
    grid-template-columns: 1fr;
  }

  .location-map {
    height: 350px;
  }

  .location-info {
    padding: 60px 30px;
  }
}

/* ============================
   RESPONSIVE - MOBILE
   ============================ */
@media (max-width: 600px) {
  .hero-halavi {
    height: 70vh;
    min-height: 450px;
  }

  .hero-halavi .hero-title {
    font-size: 36px;
    letter-spacing: 8px;
  }

  .hero-halavi .hero-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 16px;
  }

  .intro-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .intro-text {
    font-size: 14px;
  }

  .catalogue-section {
    padding: 60px 20px;
    overflow: hidden;
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 150px);
  }

  .showcase-item.large {
    grid-column: span 2;
  }

  .categories-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-item {
    padding: 20px 10px;
  }

  .category-icon {
    font-size: 24px;
  }

  .category-name {
    font-size: 10px;
  }

  .catalogue-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-catalogue,
  .btn-deliveroo {
    justify-content: center;
  }

  .receptions-halavi-section {
    padding: 60px 20px;
    overflow: hidden;
  }

  .receptions-gallery {
    display: block;
    max-width: 100%;
  }

  .gallery-main-img {
    margin-bottom: 10px;
  }

  .gallery-main-img img {
    height: 200px;
    width: 100%;
  }

  .gallery-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-secondary img {
    height: 120px;
    width: 100%;
    min-width: 0;
  }

  .receptions-actions {
    flex-direction: column;
  }

  .btn-plaquette,
  .btn-devis {
    width: 100%;
    justify-content: center;
  }

  .location-map {
    height: 280px;
  }

  .location-info {
    padding: 50px 20px;
  }

  .info-item {
    gap: 15px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
  }

  .btn-itineraire {
    width: 100%;
    justify-content: center;
  }

  .cta-section.halavi-cta {
    padding: 80px 20px;
  }

  .halavi-cta .cta-content h2 {
    font-size: 26px;
    letter-spacing: 4px;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    justify-content: center;
  }
}
