/*
 Theme Name: LJ Photography
 Description: LJ Photography Divi Child Theme
 Author: Mica Specialties
 Author URI: https://micaspecialties.com
 Template: Divi
 Version: 1.0.0
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* Polaroid image styling */
.img-polaroid img {
  padding: 10px 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

/* Sidebar follow me */
.lj-social-icons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.lj-social-icons a {
  color: #f7f2ea !important;
  background: #576d8e !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease !important;
  transform: scale(1);
}

.lj-social-icons a i {
  font-size: 16px !important;
  line-height: 1 !important;
  display: block !important;
}

.lj-social-icons a:hover {
  color: #f7f2ea !important;
  background: #8c9fb8 !important;
  transform: scale(1.02);
}

/* =========================================================
   DIVI HEADER TOP BAR
   Put class: vert-align-row-top on the ROW
========================================================= */

/* Desktop / larger tablet row alignment */
.vert-align-row-top,
.vert-align-row-bottom {
  display: flex;
  align-items: center;
}

.vert-align-row-top > .et_pb_column,
.vert-align-row-bottom > .et_pb_column {
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.vert-align-row-top .et_pb_module,
.vert-align-row-top .et_pb_code,
.vert-align-row-top .et_pb_code_inner,
.vert-align-row-bottom .et_pb_module,
.vert-align-row-bottom .et_pb_code,
.vert-align-row-bottom .et_pb_code_inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.vert-align-row-top .et_pb_code_inner,
.vert-align-row-bottom .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}

.vert-align-row-top p,
.vert-align-row-bottom p {
  margin: 0 !important;
  padding: 0 !important;
}

@media only screen and (min-width: 981px) {
  .vert-align-row-top {
    max-height: 40px !important;
  }
}

/* =========================================================
   LEFT CONTACT STRIP
========================================================= */

.lj-header-contact-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: 18px;
  line-height: 1;
  color: #f7f2ea;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.lj-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.lj-contact-separator {
  color: #f7f2ea;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.lj-header-contact-strip .lj-contact-link,
.lj-header-contact-strip .lj-contact-link:link,
.lj-header-contact-strip .lj-contact-link:visited {
  color: #f7f2ea !important;
  text-decoration: none !important;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.lj-header-contact-strip .lj-contact-link:hover {
  color: #f7f2ea !important;
  opacity: 0.8;
}

.lj-header-contact-strip i {
  color: #f7f2ea !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* =========================================================
   RIGHT SOCIAL MENU
========================================================= */

.lj-social-inline {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

.lj-social-inline li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.lj-social-inline .lj-social-label {
  color: #f7f2ea !important;
  font-size: 18px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  margin-right: 4px !important;
}

.lj-social-inline a,
.lj-social-inline a:link,
.lj-social-inline a:visited {
  color: #f7f2ea !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.lj-social-inline a:hover {
  color: #f7f2ea !important;
  opacity: 0.82 !important;
  transform: translateY(-1px) !important;
}

.lj-social-inline i {
  color: #f7f2ea !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* Clean up Divi spacing */
.et-l--header ul.lj-social-inline {
  margin: 0 !important;
  padding: 0 !important;
}

.et-l--header .lj-social-inline li,
.et-l--header .lj-social-inline a {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   SMALL TABLET / IPAD MINI
   Stack into two centered rows
========================================================= */

@media only screen and (max-width: 820px) and (min-width: 768px) {
  .vert-align-row-top,
  .vert-align-row-bottom {
    display: block;
  }

  .vert-align-row-top > .et_pb_column,
  .vert-align-row-bottom > .et_pb_column {
    display: block;
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  .vert-align-row-top .et_pb_module,
  .vert-align-row-top .et_pb_code,
  .vert-align-row-top .et_pb_code_inner,
  .vert-align-row-bottom .et_pb_module,
  .vert-align-row-bottom .et_pb_code,
  .vert-align-row-bottom .et_pb_code_inner {
    display: block;
    text-align: center;
  }

  .lj-header-contact-strip {
    justify-content: center;
    white-space: nowrap;
  }

  .lj-social-inline {
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }
}

/* =========================================================
   MOBILE
   Email line, phone line, then Follow Me + icons on one line
========================================================= */

@media only screen and (max-width: 767px) {
  .vert-align-row-top,
  .vert-align-row-bottom {
    display: block;
  }

  .vert-align-row-top > .et_pb_column,
  .vert-align-row-bottom > .et_pb_column {
    display: block;
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  .vert-align-row-top .et_pb_module,
  .vert-align-row-top .et_pb_code,
  .vert-align-row-top .et_pb_code_inner,
  .vert-align-row-bottom .et_pb_module,
  .vert-align-row-bottom .et_pb_code,
  .vert-align-row-bottom .et_pb_code_inner {
    display: block;
    text-align: center;
  }

  .lj-header-contact-strip {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
    text-align: center;
  }

  .lj-contact-separator {
    display: none !important;
  }

  .lj-contact-item {
    justify-content: center;
  }

  /* Keep Follow Me + icons on one centered line */
  .lj-social-inline {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: auto;
    max-width: 100%;
    gap: 10px !important;
    text-align: center;
  }

  .lj-social-inline .lj-social-label {
    width: auto !important;
    margin-right: 4px !important;
    text-align: center;
  }

  .lj-social-inline li:not(.lj-social-label) {
    display: inline-flex !important;
  }

  .lj-header-contact-strip,
  .lj-social-inline {
    font-size: 16px;
  }

  .lj-header-contact-strip i,
  .lj-social-inline i {
    font-size: 16px !important;
  }
}

/* Very narrow phones: allow social icons to wrap if absolutely needed */
@media only screen and (max-width: 380px) {
  .lj-social-inline {
    flex-wrap: wrap !important;
  }
}

/* =========================================================
   LJ SHARED STYLES
   Put this in: Divi > Theme Options > Custom CSS
   ========================================================= */

/* ========= SHARED SECTION HELPERS ========= */
.lj-section-tight {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

.lj-section-standard {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

.lj-section-soft {
  background: #e3d3be;
  border-radius: 28px;
  overflow: hidden;
}

.lj-narrow-text .et_pb_text_inner {
  max-width: 720px;
}

.lj-centered-narrow .et_pb_text_inner {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ========= SHARED ACCENT LINE ========= */
.lj-accent-line {
  width: 74px;
  height: 2px;
  background: #576d8e;
  margin: 0 0 24px 0;
}

.lj-accent-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ========= SHARED BUTTONS ========= */
.lj-btn-primary .et_pb_button,
.et_pb_button.lj-btn-primary,
.lj-btn-outline .et_pb_button,
.et_pb_button.lj-btn-outline {
  padding: 14px 26px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.lj-btn-primary .et_pb_button,
.et_pb_button.lj-btn-primary {
  background-color: #576d8e !important;
  color: #f7f2ea !important;
  border: 1px solid #576d8e !important;
}

.lj-btn-primary .et_pb_button:hover,
.et_pb_button.lj-btn-primary:hover {
  background-color: #3e867e !important;
  border-color: #3e867e !important;
  color: #f7f2ea !important;
}

.lj-btn-outline .et_pb_button,
.et_pb_button.lj-btn-outline {
  background: transparent !important;
  color: #4a3b39 !important;
  border: 1px solid #4a3b39 !important;
}

.lj-btn-outline .et_pb_button:hover,
.et_pb_button.lj-btn-outline:hover {
  background: #4a3b39 !important;
  color: #f7f2ea !important;
  border-color: #4a3b39 !important;
}

/* ========= SHARED IMAGE STYLES ========= */
.lj-editorial-image .et_pb_image_wrap {
  display: block;
  padding: 10px;
  background: #f7f2ea;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(74, 59, 57, 0.08);
}

.lj-editorial-image img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(74, 59, 57, 0.08);
  box-shadow: 0 14px 34px rgba(74, 59, 57, 0.12);
}

/* Hero-style crop if you ever need it on a normal image module */
.lj-hero-image .et_pb_image_wrap {
  overflow: hidden;
}

.lj-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* 3-up gallery strip */
.lj-gallery-strip .et_pb_image_wrap {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(74, 59, 57, 0.10);
}

.lj-gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Scenic wide image */
.lj-wide-image .et_pb_image_wrap {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(74, 59, 57, 0.10);
}

.lj-wide-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Layered image helpers */
.lj-layered-large {
  position: relative;
  z-index: 1;
}

.lj-layered-small {
  position: relative;
  z-index: 3;
  max-width: 230px;
  margin-top: -90px !important;
  margin-left: auto !important;
  margin-right: 12% !important;
}

.lj-layered-small .et_pb_image_wrap {
  display: block;
  padding: 8px;
  background: #f7f2ea;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(74, 59, 57, 0.14);
}

.lj-layered-small img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

/* ========= SHARED CONTENT CARDS ========= */
.lj-capture-card {
  background: rgba(247, 242, 234, 0.72);
  border: 1px solid rgba(74, 59, 57, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(74, 59, 57, 0.05);
}

.lj-capture-card h3 {
  margin-bottom: 10px;
}

/* ========= SHARED QUOTE BOX ========= */
.lj-quote-box {
  background: #f7f2ea;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(74, 59, 57, 0.06);
}

.lj-quote-box p:last-child {
  margin-bottom: 0;
}

/* ========= SHARED FINAL CTA ========= */
.lj-final-cta {
  background: #4a3b39;
  border-radius: 28px;
  overflow: hidden;
}

.lj-final-cta h1,
.lj-final-cta h2,
.lj-final-cta h3,
.lj-final-cta h4,
.lj-final-cta p {
  color: #f7f2ea !important;
}

.lj-final-cta .et_pb_button {
  background: #576d8e !important;
  border-color: #576d8e !important;
  color: #f7f2ea !important;
}

.lj-final-cta .et_pb_button:hover {
  background: #3e867e !important;
  border-color: #3e867e !important;
}

/* Optional better outline button inside dark CTA */
.lj-final-cta .et_pb_button.lj-btn-outline,
.lj-final-cta .lj-btn-outline .et_pb_button {
  background: transparent !important;
  border-color: #f7f2ea !important;
  color: #f7f2ea !important;
}

.lj-final-cta .et_pb_button.lj-btn-outline:hover,
.lj-final-cta .lj-btn-outline .et_pb_button:hover {
  background: #f7f2ea !important;
  color: #4a3b39 !important;
  border-color: #f7f2ea !important;
}

/* ========= MOBILE ========= */
@media (max-width: 980px) {
  .lj-layered-small {
    max-width: 180px;
    margin-top: -60px !important;
    margin-right: 6% !important;
  }

  .lj-hero-image img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .lj-section-standard,
  .lj-section-tight {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .lj-layered-small {
    max-width: 150px;
    margin-top: -40px !important;
    margin-right: 0 !important;
  }

  .lj-gallery-strip img,
  .lj-wide-image img,
  .lj-hero-image img {
    aspect-ratio: 4 / 3;
  }

  .lj-capture-card,
  .lj-quote-box {
    padding: 24px;
  }
}