/* Studio Primera FSE — Global Styles */

/* ── Nav hover & sticky backdrop ── */
.site-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wp-block-navigation a {
  text-decoration: none !important;
  transition: color 0.2s;
}
.wp-block-navigation a:hover { color: #0f0f0e !important; }

/* ── Nav CTA button ── */
.nav-cta .wp-block-button__link {
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta .wp-block-button__link:hover {
  background-color: #0f0f0e !important;
  color: #faf9f6 !important;
}

/* ── Ghost button ── */
.btn-ghost .wp-block-button__link {
  box-shadow: none !important;
  transition: color 0.2s !important;
}
.btn-ghost .wp-block-button__link:hover { color: #0f0f0e !important; }

/* ── Marquee ── */
.marquee-text {
  white-space: nowrap;
  overflow: hidden;
  animation: sp-marquee 18s linear infinite;
}
@keyframes sp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Work card hovers ── */
.wp-block-cover { overflow: hidden; cursor: pointer; }
.wp-block-cover .wp-block-cover__image-background,
.wp-block-cover img {
  transition: transform 0.5s ease !important;
}
.wp-block-cover:hover .wp-block-cover__image-background,
.wp-block-cover:hover img { transform: scale(1.04) !important; }

/* ── Contact form ── */
.sp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sp-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sp-contact-form .field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sp-contact-form label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #888680;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--sans);
}
.sp-contact-form input,
.sp-contact-form textarea,
.sp-contact-form select {
  border: none;
  border-bottom: 0.5px solid rgba(15,15,14,0.12);
  background: transparent;
  padding: 0.6rem 0;
  font-size: 14px;
  font-family: var(--wp--preset--font-family--sans);
  color: #0f0f0e;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.sp-contact-form input:focus,
.sp-contact-form textarea:focus,
.sp-contact-form select:focus {
  border-color: #0f0f0e;
}
.sp-contact-form textarea { resize: none; height: 80px; }
.sp-contact-form button[type="submit"] {
  background: #0f0f0e;
  color: #faf9f6;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-family: var(--wp--preset--font-family--sans);
  cursor: pointer;
  width: fit-content;
  transition: opacity 0.2s;
}
.sp-contact-form button[type="submit"]:hover { opacity: 0.8; }

.form-notice {
  font-size: 13px;
  padding: 0.75rem 1rem;
  display: none;
}
.form-notice.success { background: #eaf3de; color: #3B6D11; display: block; }
.form-notice.error   { background: #fcebeb; color: #A32D2D; display: block; }

/* ── Scroll-in animations ── */
@keyframes sp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sp-animate { opacity: 0; }
.sp-animate.sp-visible {
  animation: sp-fade-up 0.7s ease forwards;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-header { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .sp-contact-form .form-row { grid-template-columns: 1fr; }
}
