/* Laura Lynn Music Photography — light layout inspired by the original site. */
:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #f5f5f5;
  --text: #222;
  --muted: #666;
  --line: #d8d8d8;
  --accent: #111;
  --max-width: 1000px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding-top: 150px;
    background: #fff;
    color: var(--text);
    font: 15px/1.55 Arial, Helvetica, sans-serif;
}
a { color: #222; text-decoration: none; }
a:hover { color: #555; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10; padding: .7rem 1rem; background: #fff; color: #000; }
.skip-link:focus { left: .5rem; top: .5rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  isolation: isolate;
  min-height: 150px;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: #090909;
  background-image: var(--banner-image);
  /* Preserve the banner's proportions; never use cover/stretch to fill the viewport.  */
  background-size: auto 150px;
  background-position: center center;
  background-repeat: no-repeat;
}

.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.18); }
.brand { display: flex; align-items: flex-start; gap: .7rem; max-width: 38%; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; text-shadow: 0 1px 4px #000; }
.brand:hover { color: #fff; }
.brand-logo { width: auto; height: auto; max-width: min(220px, 25vw); max-height: 90px; object-fit: contain; }
.brand-text { padding: .25rem .4rem; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(.55rem, 1.4vw, 1.15rem); padding: .65rem .8rem; }
.primary-nav a { color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.primary-nav a[aria-current="page"] { color: #4992b6; text-decoration: underline; text-underline-offset: .25em; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #4992b6; }
.nav-toggle { display: none; border: 1px solid #ddd; border-radius: 2px; background: rgba(0,0,0,.65); color: white; padding: .5rem; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px 0; background: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
main { background: #fff; color: #222; }
.content-width { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.home-intro { padding-block: 2.5rem 4rem; }
.home-intro > h1 { margin: 0 0 1.4rem; color: #666; font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.2; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.home-tagline { text-align: center; color: #555; }
.home-copy { margin: 0 auto; max-width: 800px; }
.featured-section { padding-top: 2rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.section-heading > a { color: var(--muted); font-size: .9rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.portfolio-card { display: block; min-width: 0; background: var(--panel); overflow: hidden; color: #222; }
.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .25s; }
.portfolio-card:hover img { opacity: .86; }
.portfolio-card > span { display: block; padding: .8rem 1rem .2rem; font-weight: 600; }
.portfolio-card small { display: block; padding: 0 1rem 1rem; color: var(--muted); }
.image-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1rem; background: #eee; color: #666; text-align: center; }
.page { min-height: 60vh; padding-block: clamp(2.5rem, 5vw, 4rem); background: #fff; }
.prose { max-width: 850px; margin-inline: auto; }
.prose a { text-decoration: underline; text-underline-offset: .2em; }
.prose h2, .prose h3 { line-height: 1.25; margin-top: 1.8em; }
.prose blockquote { margin-left: 0; padding-left: 1.2rem; border-left: 3px solid #bbb; color: var(--muted); }
.prose img { margin-block: 1.5rem; }
.not-found { text-align: center; display: grid; align-content: center; justify-items: center; }
.site-footer { padding: 1.25rem 1rem; border-top: 1px solid #ddd; background: #006699; color: #ddd; text-align: center; font-size: .8rem; }
.site-footer p { margin: 0; }
@media (max-width: 820px) {
  .site-header { min-height: 190px; flex-wrap: wrap; align-content: flex-start; }
  .brand { max-width: calc(100% - 60px); }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { display: none; flex: 0 0 100%; flex-direction: column; align-items: flex-start; padding: .8rem; background: rgba(0,0,0,.78); }
  .primary-nav.is-open { display: flex; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .site-header { background-size: auto 160px; min-height: 160px; padding: .75rem; }
  .brand { font-size: .78rem; letter-spacing: .04em; }
  .brand-logo { max-width: 150px; max-height: 65px; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body {
    padding-top: 190px;
  }
}

@media (max-width: 520px) {
  body {
    padding-top: 160px;
  }
}
/* Main pages */
.page-header {
    max-width: 850px;
    margin: 0 auto 2.2rem;
}
.page-header h1, .not-found h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.page-description {
    color: var(--muted);
    font-size: 1.05rem;
}
.page-feature-image {
    max-height: 550px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 2rem auto;
}

/* Laura Lynn photography services page */
.services-photo {
    float: right;
    width: 40%;
    max-width: 250px;
    height: auto;
    margin: 0 0 1rem 1.5rem;
}

@media (max-width: 600px) {
    .services-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 1.5rem;
    }
}

/* Laura Lynn photography portfolio page */
.portfolio-page {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

@media (max-width: 550px) {
    .portfolio-page {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Masonry-style photography portfolio */
.portfolio-gallery {
    columns: 3;
    column-gap: 8px;
    margin: 16px 20px;
}

.portfolio-photo {
    display: inline-block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    break-inside: avoid;
    vertical-align: top;
}

.portfolio-photo a {
    display: block;
    overflow: hidden;
}

.portfolio-photo img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.portfolio-photo a:hover img {
    opacity: 0.88;
}

/* Tablet */
@media (max-width: 900px) {
    .portfolio-gallery {
        columns: 2;
    }
}

/* Phone */
@media (max-width: 550px) {
    .portfolio-gallery {
        columns: 2;
        column-gap: 5px;
    }

    .portfolio-photo {
        margin-bottom: 5px;
    }
}

/* Lightbox overlay */
.portfolio-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    box-sizing: border-box;
}

.portfolio-lightbox.is-open {
    display: flex;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 12px;
    line-height: 1;
}

.lightbox-close {
    top: 12px;
    right: 20px;
    font-size: 42px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
}

.portfolio-lightbox button:hover {
    color: #ccc;
}

@media (max-width: 550px) {
    .portfolio-lightbox {
        padding: 55px 40px;
    }

    .lightbox-prev {
        left: 0;
    }

    .lightbox-next {
        right: 0;
    }

    .lightbox-image {
        max-height: calc(100vh - 110px);
    }
}

.lightbox-description {
    position: absolute;
    bottom: 42px;
    left: 70px;
    right: 70px;
    color: white;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 550px) {
    .lightbox-description {
        left: 40px;
        right: 40px;
        bottom: 40px;
        font-size: 13px;
    }
}

/* Laura Lynn Music Photography contact form */

.contact-form {
  max-width: 760px;
  margin: 2rem auto;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.contact-form label span {
  color: #a32626;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  background: #fff;
  color: #222;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #555;
  outline-offset: 2px;
  border-color: #555;
}

.contact-form .form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: normal;
  line-height: 1.5;
}

.contact-form .form-consent input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.contact-form .contact-submit {
  padding: 0.8rem 1.8rem;
  border: 1px solid #222;
  border-radius: 2px;
  background: #222;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.contact-form .contact-submit:hover {
  background: #444;
}

.contact-form .form-note {
  margin-top: 0.75rem;
  color: #555;
  font-size: 0.85rem;
}

.contact-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form .contact-submit {
    width: 100%;
  }
}

/* Two-image homepage */
.home-two-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    margin: 1.5rem auto;
}

.home-image-link {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.home-image-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.home-image-link:hover img {
    opacity: 0.85;
}

@media (max-width: 650px) {
    .home-two-images {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .home-image-link {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
}

/* Full-width title image on single column layout */

.singlepage-title-header {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.5rem 0 0 0;
}

.singlepage-title-header .singlepage-title-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0;
}

/* Full-width title image above the two-column layout */

.page-header-sidebar {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.5rem 0 0 2.5rem;
}

.page-header-sidebar .page-image-sidebar {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0;
}

/* Two-column page layout */

.page-content--sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    column-gap: 2.5rem;
    row-gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    align-items: start;
}

.page-sidebar {
    min-width: 0;
    text-align: right;
}

.page-sidebar h2 {
    margin-top: 0;
}

.sidebar-image {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem auto;
}

.sidebar-text {
    line-height: 1.7;
}

.sidebar-phone {
    line-height: 1.7;
}

.page-main {
    min-width: 0;
}

/* Social links */

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    line-height: 0;
}

.social-links img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.social-links a:hover img {
    opacity: 0.7;
}

/* Footer links */

footer a {
    color: #ddd;
    font-weight: bold;
    text-decoration: underline;
}

footer a:hover {
    color: #fff;
}

/* Stack columns on phones and narrow screens */

@media (max-width: 700px) {
    .page-content--sidebar {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
}

/* Force two-image homepage photos to sit side by side */
.home-two-images {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 60%;
}

.home-two-images > .home-image-link {
    display: block;
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
}

.home-two-images > .home-image-link img {
    display: block;
    width: 100%;
    height: auto;
}
