/* Template 10 — Nouvelle Pousse · Conception Paysagère */

/* ===== MENU ===== */
#menu-main {
  transform: none !important;
  position: relative !important;
  justify-content: flex-end;
  width: 100%;
  left: auto;
}

.containerMenu {
  flex-grow: 1;
  padding-right: 45px;
}

.menu-item-has-children ul.sub-menu:not(ul.menu-footer-3 > li > ul.sub-menu) {
  top: 40px !important;
}

.containerMenu li > a {
  position: relative;
  transition: color 0.3s ease;
}

.containerMenu li > a::before {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary, #af4e09);
  content: "";
  transition:
    width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.containerMenu li > a:hover::before,
li.current-menu-ancestor > a::before,
li.current-menu-item > a::before {
  width: calc(100% + 8px);
  left: -4px;
}

/* ===== VERTICAL TEXT LABEL ===== */
.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 1023px) {
  .vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    letter-spacing: 0.15em;
  }
}

/* ===== FORM FIELDS ===== */
.form-field {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 2px solid #d1d5db;
  background: transparent;
  font-family: "baseTypo", sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-field:focus {
  border-bottom-color: var(--color-secondary, #af4e09);
}

.form-field::placeholder {
  color: #9ca3af;
}

select.form-field {
  padding: 14px 0;
  cursor: pointer;
}

textarea.form-field {
  resize: vertical;
  min-height: 120px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-primary, #4d675c);
  color: white;
  border-radius: 0.5rem;
  font-family: "baseTypo", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-secondary, #af4e09);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  color: white;
}

.btn-primary svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-secondary, #af4e09);
  color: white;
  border-radius: 0.5rem;
  font-family: "baseTypo", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--color-primary, #4d675c);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  color: white;
}

/* ===== GALLERY ===== */
.gallery-item {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* ===== PRESTATIONS ===== */
.presta-card {
  cursor: pointer;
  overflow: hidden;
}

.presta-card .presta-overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.presta-card:hover .presta-overlay {
  opacity: 1;
}

.presta-card .presta-image {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== MODAL ===== */
.opacityTransition {
  animation: fadeIn 0.3s ease forwards;
}

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

/* ===== DECORATIVE ===== */
.accent-bar {
  display: inline-block;
  background-color: var(--color-secondary, #af4e09);
  padding: 0.375rem 1.5rem;
}

.decorative-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary, #af4e09);
}

/* ===== TOASTER ===== */
.toaster,
.toasterSuccess {
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.hide {
  display: none;
}

/* ===== HERO FROSTED PANEL ===== */
.hero-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== SECTION SPACING ===== */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
