/* Jadwiga Piwowarczyk — accent layer
   Primary: vivid rust (#a8453a) — italics, hovers, CTA, active states
   Secondary: deep forest (#3d5a4a) — labels, structural lines, date/meta
   Hover: dark cocoa (#7d2e25) */

:root {
  --jp-accent: #a8453a;
  --jp-accent-hover: #7d2e25;
  --jp-accent-soft: rgba(168, 69, 58, 0.16);
  --jp-secondary: #3d5a4a;
  --jp-secondary-hover: #2c4438;
}

/* === Center the about_msg quote (black frame) === */
.photolane_fn_secondary_wrap .about_msg p {
  text-align: center;
  padding: 0 40px;
}

/* === Italic words in headlines & quotes === */
h1 em, h2 em, h3 em, h4 em,
.about_msg p em,
.photer_full_info h3 em,
.collage_title h3 em,
.content_holder h3 em,
.title_holder h3 em,
blockquote em,
.photer_full_info p em {
  color: var(--jp-accent) !important;
}

/* === Top page headline ("To co trudno nazwać…") — same rust as sections === */
.photolane_fn_secondary_wrap .photer_full_info h3,
.photolane_fn_full_width_container .content_holder h3 {
  color: var(--jp-accent) !important;
}

/* === Section H2 ("Lubię/Uwielbiam/Kocham") — vivid rust + slight weight bump === */
.photer_knowledge .title_holder h2 {
  color: var(--jp-accent) !important;
  font-weight: 500 !important;
}

/* === Decorative underline under section headlines (longer + thicker) === */
.photer_knowledge .title_holder h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--jp-accent);
  margin-top: 18px;
  border-radius: 1px;
}

/* === Photographer signature heading "Jadwiga Piwowarczyk" — secondary green prefix line === */
.content_holder h3 {
  position: relative;
}
.content_holder h3::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--jp-secondary);
  vertical-align: middle;
  margin-right: 16px;
}

/* === "Fotograf" / role label — secondary green (calm contrast vs rust) === */
.photer_full_info .info_in span,
.content_holder > span {
  color: var(--jp-secondary) !important;
  letter-spacing: 4px;
  font-weight: 500;
}

/* === Project date / meta — secondary green === */
.photolane_fn_secondary_wrap .photer_full_info p strong,
.title_holder span strong,
.photolane_fn_pagi span,
.photolane_fn_pagi small {
  color: var(--jp-secondary) !important;
}

/* === Active language pill — rust background, white text (very visible) === */
.lang-switch a.active {
  background-color: var(--jp-accent) !important;
  border-radius: 3px;
  padding: 2px 8px;
  transition: background-color .2s ease;
}
.lang-switch a.active span,
.lang-switch a.active {
  color: #fff !important;
}
.lang-switch a {
  padding: 2px 6px;
  transition: color .2s ease;
}
.lang-switch a:hover,
.lang-switch a:hover span {
  color: var(--jp-accent) !important;
}

/* === Nav link hover === */
.nav li a:hover,
.nav li a:hover span,
.photolane_fn_mainmenu nav > ul > li > a:hover,
.photolane_fn_topbar nav > ul > li > a:hover {
  color: var(--jp-accent) !important;
}

/* === Project titles on grid (hover) === */
.photer_box .title_holder h3 a:hover,
.project_list .title_holder h3 a:hover,
.aaaabbbb h3 a:hover {
  color: var(--jp-accent) !important;
}

/* === CTA buttons / view-all links === */
.view_all a,
.view_all a:visited {
  color: var(--jp-accent) !important;
}
.view_all a:hover {
  color: var(--jp-accent-hover) !important;
}
.view_all a i {
  color: var(--jp-accent) !important;
  transition: transform .25s ease;
}
.view_all a:hover i {
  transform: translateX(4px);
}

/* === Inline content links === */
.photolane_fn_secondary_wrap .photer_full_info p a,
.content_holder p a,
.about_msg p a {
  color: var(--jp-accent) !important;
  border-bottom-color: var(--jp-accent) !important;
}
.photolane_fn_secondary_wrap .photer_full_info p a:hover,
.content_holder p a:hover,
.about_msg p a:hover {
  color: var(--jp-accent-hover) !important;
  border-bottom-color: var(--jp-accent-hover) !important;
}

/* === Prev/Next project navigation hover === */
.photolane_fn_pagi a:hover,
.photolane_fn_pagi a:hover span,
.prev_next a:hover,
.prev_next a:hover span {
  color: var(--jp-accent) !important;
}

/* === Social icons hover (find me, share, footer) === */
.social_icons ul li a:hover,
.social_icons ul li a:hover i,
.fn_social a:hover,
.fn_social a:hover i {
  color: var(--jp-accent) !important;
  border-color: var(--jp-accent) !important;
}

/* === "Share" / Udostępnij link in topbar === */
.search_share a:hover,
a.share:hover {
  color: var(--jp-accent) !important;
}

/* === Contact form: focus border + submit button === */
.photolane_fn_contact_form input:focus,
.photolane_fn_contact_form textarea:focus,
input.fn-text:focus,
textarea.fn-text:focus,
.contact_form input:focus,
.contact_form textarea:focus {
  border-color: var(--jp-accent) !important;
  outline: none;
  box-shadow: 0 0 0 3px var(--jp-accent-soft);
}
.contact_form button[type="submit"],
.contact_form input[type="submit"],
.photolane_fn_contact_form button,
.photolane_fn_contact_form input[type="submit"],
.fn-button {
  background-color: var(--jp-accent) !important;
  border-color: var(--jp-accent) !important;
  color: #fff !important;
  transition: background-color .2s ease, border-color .2s ease;
}
.contact_form button[type="submit"]:hover,
.contact_form input[type="submit"]:hover,
.photolane_fn_contact_form button:hover,
.photolane_fn_contact_form input[type="submit"]:hover,
.fn-button:hover {
  background-color: var(--jp-accent-hover) !important;
  border-color: var(--jp-accent-hover) !important;
}

/* === Gallery hover overlay — warm rust tint === */
.photolane_fn_secondary_wrap .photer_img .overlay,
.photer_box .photer_img .overlay,
.photolane_fn_works .item .overlay {
  background-color: rgba(168, 69, 58, 0.0);
  transition: background-color .35s ease;
}
.photolane_fn_secondary_wrap .photer_img:hover .overlay,
.photer_box .photer_img:hover .overlay,
.photolane_fn_works .item:hover .overlay {
  background-color: rgba(168, 69, 58, 0.22);
}

/* === Top decorative accent above main page H1 === */
.photolane_fn_pageheader h1::before,
.photolane_fn_full_width_container h1::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--jp-accent);
  margin: 0 auto 18px;
  border-radius: 1px;
}

/* === "Find me" / Znajdź mnie heading uses secondary green === */
.find_me h3,
.find_me h2 {
  color: var(--jp-secondary) !important;
}

/* === Footer copyright in secondary green === */
.photolane_fn_cright a,
.photolane_fn_footer a,
footer a {
  color: var(--jp-secondary) !important;
}
.photolane_fn_cright a:hover,
.photolane_fn_footer a:hover,
footer a:hover {
  color: var(--jp-secondary-hover) !important;
}

/* === Logo hover (subtle warm filter) === */
.logo a:hover img {
  filter: sepia(0.6) hue-rotate(-15deg) saturate(1.2);
  transition: filter .3s ease;
}

/* === Owl carousel dots / arrows === */
.owl-dot.active span,
.owl-dot:hover span {
  background-color: var(--jp-accent) !important;
}
.owl-nav button:hover,
.owl-nav button:hover span,
.owl-prev:hover,
.owl-next:hover {
  color: var(--jp-accent) !important;
}

/* === Date on project pages === */
.project_meta .date,
.project_date,
.photolane_fn_secondary_wrap .photer_full_info .date {
  color: var(--jp-accent) !important;
}

/* === Project description: justified text + paragraph spacing === */
.customer .info p {
  text-align: justify;
  text-align-last: left;
  hyphens: none;
}
.customer .info p + p {
  margin-top: 1em;
}
