/* =========================================================
   LET'S MAKE-UP — RESPONSIVE WEBSITE
   ========================================================= */

:root {
  --black: #0d0e0d;
  --black-soft: #151613;
  --cream: #f7f4ec;
  --cream-dark: #eee9dd;
  --gold: #c99b55;
  --gold-light: #e8c27d;
  --navy: #1c2b3d;
  --white: #ffffff;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ================= PAGE FRAME ================= */
/* The reference design is 1215px wide. On larger monitors the page stays
   centered at that width, with black side boards rather than expanding. */
body {
  background: #000000;
}

.site-header,
main {
  width: 100%;
  max-width: 1215px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= HEADER ================= */

.site-header {
  position: relative;
  z-index: 50;
  background: #000000;
  color: white;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a:not(.nav-button) {
  position: relative;
  color: #eee9df;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 34px 0;
}

.main-nav > a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.nav-button {
  margin-left: 6px;
  padding: 12px 25px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 42px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: white;
}

/* ================= TOP LOGO ================= */

.toplogo {
  position: relative;
  width: 349px;
  height: 116px;
  min-height: 91px;
  background:
    url("images/LMU_top_logo.png") left center / 349px 91px no-repeat;
  margin-right: 30px;
  display: flex;
  align-items: center;
}

.header-toplogo {
  width: 100%;
  min-height: 91px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* ================= TOP LOGO ================= */

/* ================= HERO ================= */



.hero {
  position: relative;
  min-height: 380px;
  background:
    linear-gradient(90deg, rgba(18,12,8,.82) 0%, rgba(18,12,8,.60) 43%, rgba(18,12,8,.06) 80%),
    url("images/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(calc(100% - 80px), 1140px);
  margin: auto;
  color: white;
  padding: 35px 0 45px;
}

.eyebrow {
  font-size: 16px;
  letter-spacing: 6px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(40px, 4.3vw, 58px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 30px;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-style: italic;
}

.hero-services b {
  color: var(--gold-light);
}

/* ================= SECTION HEADING ================= */

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  width: min(100% - 80px, 900px);
  margin: 0 auto 25px;
}

.section-heading span {
  height: 1px;
  background: #c9aa78;
}

.section-heading h2 {
  color: var(--navy);
  font-size: 25px;
  letter-spacing: 7px;
  font-weight: 500;
}

/* ================= SERVICES ================= */

.services-section {
  background: var(--cream);
  padding: 20px 0 16px;
}

.services-grid {
  width: min(100% - 80px, 1100px);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  text-align: center;
  padding: 4px 28px 10px;
  border-right: 1px solid #d5c3a5;
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  color: #bb8435;
  height: 54px;
  font-family: Georgia, serif;
  font-size: 45px;
  line-height: 1;
}

.service-card h3 {
  font-size: 19px;
  letter-spacing: 2px;
  font-weight: 500;
  margin: 5px 0 8px;
}

.service-card p {
  font-size: 17px;
  line-height: 1.35;
  font-style: italic;
}

/* ================= TRANSFORMATIONS ================= */

.transformations-reference {
  width: 100%;
  background: #10110f;
  line-height: 0;
  overflow: hidden;
}

.transformations-art {
  position: relative;
  width: 100%;
  line-height: 0;
}

.transformations-art > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
}

.picture-gallery-button {
  position: absolute;
  left: 45%;
  bottom: 11%;
  transform: translateX(-50%);
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 225px;
  padding: 10px 10px;

  color: #fff;
  background: rgba(16, 17, 15, .92);
  border: 1px solid #c8a45d;

  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;

  box-sizing: border-box;
  transition: background .2s ease, color .2s ease;
}

.picture-gallery-button span {
  font-size: 17px;
  line-height: 1;
}

.picture-gallery-button:hover {
  background: #c8a45d;
  color: #111;
}

/* ================= TESTIMONIALS ================= */



.testimonials {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  padding: 27px 55px 23px;
}

.testimonial-title {
  padding-right: 30px;
  align-self: center;
}

.script {
  color: var(--navy);
  font-family: "Parisienne", cursive;
  font-size: 49px;
  line-height: .95;
}

.testimonial-title p {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  margin: 10px 0 16px 60px;
}

.title-rule {
  margin: 0 0 0 0;
}

.quote {
  border-left: 1px solid #d4c2a4;
  padding: 0 35px;
}

.quote p {
  font-size: 16px;
  line-height: 1.35;
}

.quote small {
  display: block;
  margin-top: 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
}

/* ================= FOOTER ================= */

.site-footer {
  min-height: 128px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background:
    url("images/footer-original.jpg") center center / cover no-repeat;
  color: white;
  padding: 0 42px;
  overflow: hidden;
}

/*
  The supplied reference has a very specific footer composition.
  On desktop we use the complete footer artwork as the visual layer,
  while keeping the HTML content available for accessibility.
*/
.footer-contact {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  width: min(58%, 720px);
  margin: 0 auto;
  left: 11%;
  gap: 30px;
  visibility: hidden;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: #161616;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-item strong {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

.contact-item span:not(.contact-icon) {
  font-size: 13px;
}

.location strong {
  font-size: 16px;
}

.location span:not(.contact-icon) {
  color: var(--gold-light);
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-divider {
  width: 1px;
  height: 48px;
  background: #777;
}

.footer-logo {
  /* Logo is already part of footer-original.jpg on desktop. */
  width: 165px;
  max-height: 75px;
  object-fit: contain;
  margin-left: auto;
  visibility: hidden;
}

/* ================= RESPONSIVE ================= */


@media (max-width: 1000px) {
  .header-inner,
  .hero-content {
    width: min(100% - 40px, 920px);
  }

  .main-nav {
    gap: 20px;
  }


  .testimonials {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
  }

  .testimonial-title {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0 0 10px;
  }

  .testimonial-title .title-rule {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-name {
    font-size: 29px;
  }

  .brand-subtitle {
    margin-left: 60px;
    font-size: 7px;
    letter-spacing: 3px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #0c0d0c;
    border-top: 1px solid #292a28;
    padding: 5px 25px 18px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #242522;
  }

  .main-nav a.active::after {
    bottom: 0;
  }

  .hero {
    min-height: 480px;
    background-position: 65% center;
  }

  .hero-content {
    width: min(100% - 40px, 600px);
    padding-top: 55px;
    align-self: flex-start;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-services {
    font-size: 16px;
  }

  .section-heading {
    width: calc(100% - 35px);
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 19px;
    letter-spacing: 4px;
  }

  .services-grid {
    width: calc(100% - 35px);
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    padding: 12px 12px 18px;
    border-right: 1px solid #d5c3a5;
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n+2) {
    border-bottom: 1px solid #d5c3a5;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 15px;
  }

  .transformations {
    display: flex;
    flex-direction: column;
    padding: 18px 15px 25px;
  }

  .before-after,
  .gallery-strip {
    width: 100%;
  }

  .comparison-image,
  .gallery-strip img {
    height: 240px;
    width: 100%;
  }

  .before-after,
  .gallery-strip {
    height: 240px;
  }

  .gallery-strip img {
    height: 220px;
  }

  .testimonials {
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    gap: 24px;
  }

  .testimonial-title {
    text-align: center;
  }

  .testimonial-title p {
    margin-left: 0;
  }

  .quote {
    border-left: 0;
    border-top: 1px solid #d4c2a4;
    padding: 22px 0 0;
    text-align: center;
  }

  .site-footer {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding: 28px 20px;
    background:
      linear-gradient(90deg, rgba(8,9,8,.88), rgba(8,9,8,.96)),
      url("images/footer-brushes.jpg") left center / 300px 100% no-repeat,
      #0b0c0b;
  }

  .footer-contact {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    visibility: visible;
  }

  .contact-item {
    visibility: visible;
  }

  .footer-divider {
    display: none;
  }

  .footer-logo {
    width: 165px;
    margin: 8px auto 0;
    visibility: visible;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 25px;
  }

  .hero {
    min-height: 455px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-services {
    max-width: 290px;
  }

  .section-heading span {
    display: none;
  }

  .section-heading {
    display: block;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d5c3a5;
  }

  .service-card:last-child {
    border-bottom: 0;
  }


  .script {
    font-size: 43px;
  }

  .contact-item strong {
    font-size: 15px;
  }

  .location strong {
    font-size: 14px;
  }

  .footer-logo {
    width: 145px;
  }
}


/* ================= FULL GALLERY PAGE ================= */
.gallery-page-heading {
  background: #000000;
  color: white;
  text-align: center;
  padding: 48px 20px 35px;
}
.gallery-page-heading .gold-kicker {
  color: var(--gold-light);
  font-size: 35px;
  font-style: italic;
  letter-spacing: 5px;
}
.gallery-page-heading h1 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
  margin: 10px 0 14px;
}
.gallery-rule {
  width: 150px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 15px;
}
.gallery-page-heading > p:last-child {
  font-size: 17px;
  line-height: 1.35;
  font-style: italic;
}
.full-gallery {
  background: #000000;
  padding: 20px 30px 50px;
}
.gallery-grid {
  width: min(100%, 1190px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 160px);
  grid-auto-rows: 253px;
  gap: 10px;
  justify-content: center;
}

.gallery-item {
  width: 160px;
  height: 253px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111;
  line-height: 0;
}

.gallery-itemlg {
  width: 320px;
  height: 253px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111;
  line-height: 0;
}

.gallery-item img {
  display: block;
  width: 160px;
  height: 253px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
}

.gallery-itemlg img {
  display: block;
  width: 320px;
  height: 253px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
}

@media (max-width: 1215px) {
  .gallery-grid { grid-template-columns: repeat(6, 160px); }
}
@media (max-width: 1050px) {
  .gallery-grid { grid-template-columns: repeat(5, 160px); }
}
@media (max-width: 875px) {
  .gallery-grid { grid-template-columns: repeat(4, 160px); }
}
@media (max-width: 700px) {
  .full-gallery { padding: 15px 12px 35px; }
  .gallery-grid { grid-template-columns: repeat(3, 160px); gap: 8px; }
}
@media (max-width: 525px) {
  .gallery-grid { grid-template-columns: repeat(2, 160px); }
}
@media (max-width: 350px) {
  .gallery-grid { grid-template-columns: 160px; }
}

@media (max-width: 600px) {
  /* Smaller phone version of the Picture Gallery button */
  .picture-gallery-button {
    min-width: 118px;
    max-width: 125px;
    padding: 5px 7px;
    gap: 4px;
    font-size: 6px;
    letter-spacing: .6px;
    line-height: 1.1;
    bottom: 6%;
  }

  .picture-gallery-button span {
    font-size: 9px;
  }
}

@media (max-width: 400px) {
  .picture-gallery-button {
    min-width: 100px;
    max-width: 105px;
    padding: 4px 6px;
    gap: 3px;
    font-size: 5.5px;
    letter-spacing: .4px;
    bottom: 5%;
  }

  .picture-gallery-button span {
    font-size: 8px;
  }
}
