/**
 * PhotoFolio-based custom theme for LaKesia Lopez Photography
 * Original template: BootstrapMade PhotoFolio
 * https://bootstrapmade.com/photofolio-bootstrap-photography-website-template/
 */

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Cardo", serif;
  --nav-font: "Inter", sans-serif;
  --signature-font: "Allura", cursive;

  --background-color: #121012;
  --surface-color: #191619;
  --surface-soft: #201b20;

  --default-color: #fafafa;
  --muted-color: #cfc4c7;
  --heading-color: #fff8f5;

  --accent-color: #d7a0aa;
  --accent-light: #edbbc4;
  --accent-deep: #a86f7c;

  --nav-color: #cfc4c7;
  --nav-hover-color: #edbbc4;
  --nav-mobile-background-color: #191619;
  --nav-dropdown-background-color: #191619;
  --nav-dropdown-color: #cfc4c7;
  --nav-dropdown-hover-color: #edbbc4;

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--default-color);
  background: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

img {
  max-width: 100%;
}

section,
.section {
  color: var(--default-color);
  background: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

::selection {
  background: var(--accent-color);
  color: #121012;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background: #121012;
  padding: 17px 0;
  transition: all 0.4s ease;
  z-index: 997;
  border-bottom: 1px solid rgba(215, 160, 170, 0.18);
}

.header .logo {
  line-height: 1;
  color: var(--heading-color);
}

.signature-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.92;
}

.signature-logo .signature-name {
  display: block;
  font-family: var(--signature-font);
  font-size: 38px;
  font-weight: 400;
  color: #fff8f5;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.signature-logo .signature-subtitle {
  display: block;
  margin-top: 6px;
  margin-left: 4px;
  font-family: var(--nav-font);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.header .header-social-links {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 15px;
}

.header .header-social-links a {
  color: #aaa1a4;
  font-size: 15px;
  display: inline-flex;
  transition: color 0.3s ease, transform 0.3s ease;
}

.header .header-social-links a:hover {
  color: var(--accent-light);
  transform: translateY(-1px);
}

.scrolled .header {
  border-color: rgba(215, 160, 170, 0.24);
}

/*--------------------------------------------------------------
# Navigation - Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 12px;
    font-size: 12px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2.2px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 11px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 10px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border: 1px solid rgba(215, 160, 170, 0.15);
    border-radius: 0;
    z-index: 99;
    gap: 0;
  }

  .navmenu .dropdown ul li {
    min-width: 190px;
  }

  .navmenu .dropdown ul a {
    padding: 11px 18px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Navigation - Mobile
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }

  .signature-logo .signature-name {
    font-size: 31px;
  }

  .signature-logo .signature-subtitle {
    font-size: 7px;
    letter-spacing: 4px;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-left: 12px;
    cursor: pointer;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border: 1px solid rgba(215, 160, 170, 0.15);
    border-radius: 0;
    background: var(--nav-mobile-background-color);
    overflow-y: auto;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 6px 0;
    margin: 6px 18px;
    background: #151315;
    border: 1px solid rgba(215, 160, 170, 0.12);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(18, 16, 18, 0.94);
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 50vh;
  position: relative;
  isolation: isolate;
  background-image: url("../img/Background.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(215, 160, 170, 0.20);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 95px;
  background: linear-gradient(to bottom, rgba(18, 16, 18, 0), #121012);
  pointer-events: none;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero .col-lg-8 {
  position: relative;
  padding: 45px 50px;
  transform: translateY(-20px);
}

.hero .col-lg-8::before {
  content: "";
  position: absolute;
  inset: -20px -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.14) 42%,
    rgba(0, 0, 0, 0.04) 66%,
    rgba(0, 0, 0, 0) 80%
  );
  z-index: 0;
  pointer-events: none;
}

.hero .col-lg-8 > * {
  position: relative;
  z-index: 1;
}

.hero-signature {
  margin-bottom: 18px;
}

.hero-signature .signature-name {
  display: block;
  font-family: var(--signature-font);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.95;
  color: #fff8f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-signature .signature-subtitle {
  display: block;
  margin-top: 8px;
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #f1d7dc;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-main {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -1px;
  color: #fff;
  text-wrap: balance;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.35);
}

.hero .hero-categories {
  margin-top: 26px;
  margin-bottom: 30px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero .btn-get-started {
  display: inline-block;
  background: rgba(18, 16, 18, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  padding: 13px 30px;
  border-radius: 0;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background: #fff8f5;
  color: #37251f;
  border-color: #fff8f5;
}

/*--------------------------------------------------------------
# Editorial Portfolio
--------------------------------------------------------------*/
.editorial-portfolio {
  background: #121012;
  color: #fff8f5;
  padding: 90px 5% 110px;
  overflow: hidden;
}

#portraits,
#culture,
#lifestyle,
#nature {
  scroll-margin-top: 110px;
}

.portfolio-spread {
  max-width: 1400px;
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 28px;
  align-items: stretch;
  position: relative;
}

.portfolio-spread-reverse {
  grid-template-columns: 68% 32%;
}

.portfolio-spread::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -55px;
  height: 1px;
  background: rgba(216, 157, 169, 0.10);
}

.portfolio-info {
  background:
    linear-gradient(180deg, rgba(237, 187, 196, 0.025), rgba(237, 187, 196, 0)),
    #191619;
  padding: 48px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(216, 157, 169, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.section-number {
  position: absolute;
  top: 22px;
  right: 25px;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent-color);
}

.portfolio-label {
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 18px;
}

.portfolio-info h2,
.feature-heading h2 {
  font-family: var(--heading-font);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  color: #fff8f5;
  margin-bottom: 25px;
}

.portfolio-info h2 span,
.feature-heading h2 span {
  display: block;
  color: var(--accent-light);
  font-style: italic;
  font-size: 0.72em;
  margin-top: 7px;
}

.portfolio-description {
  font-family: var(--nav-font);
  color: var(--muted-color);
  font-size: 14px;
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 30px;
}

.portfolio-link {
  width: fit-content;
  color: #fff8f5;
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent-color);
}

.portfolio-link:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
  letter-spacing: 3.5px;
}

.portfolio-images {
  min-height: 520px;
  overflow: hidden;
}

.portfolio-images img,
.culture-feature-grid img,
.nature-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-images img:hover,
.culture-feature-grid img:hover,
.nature-showcase img:hover {
  transform: scale(1.018);
}

/* Portraits */
.portrait-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.portrait-showcase .portrait-wide {
  grid-row: 1 / 3;
  min-height: 560px;
  object-position: center center;
}

.portrait-showcase .portrait-tall {
  min-height: 276px;
  object-position: center 35%;
}

.portrait-showcase .portrait-detail {
  min-height: 276px;
  object-position: center center;
}

/* Culture */
.culture-layout {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 8px;
}

.culture-layout .culture-main {
  min-height: 560px;
  object-position: center 32%;
}

.stacked-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.culture-layout .stacked-images img {
  min-height: 276px;
  object-position: center center;
}

.portfolio-feature {
  max-width: 1400px;
  margin: 20px auto;
  border-top: 1px solid rgba(216, 157, 169, 0.35);
  padding-top: 35px;
}

.feature-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}

.feature-heading h2 {
  margin-bottom: 0;
}

.culture-feature {
  margin-top: -10px;
  margin-bottom: 110px;
}

.culture-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  min-height: 500px;
}

.culture-feature-grid img {
  height: 500px;
}

.culture-feature-grid img:first-child {
  object-position: center 28%;
}

.culture-feature-grid img:last-child {
  object-position: center 38%;
}

/* Lifestyle */
.lifestyle-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
}

.lifestyle-showcase .lifestyle-wide,
.lifestyle-showcase .lifestyle-event {
  min-height: 540px;
}

.lifestyle-showcase .lifestyle-event {
  filter: grayscale(100%);
}

/* Nature */
.nature-feature {
  margin-top: 10px;
}

.nature-showcase {
  height: 680px;
  overflow: hidden;
}

.nature-showcase img {
  object-position: center 55%;
}

/*--------------------------------------------------------------
# Closing CTA
--------------------------------------------------------------*/
.closing-cta {
  background: #191619 !important;
  padding: 95px 20px !important;
  border-top: 1px solid rgba(215, 160, 170, 0.15);
}

.closing-signature {
  font-family: var(--signature-font);
  font-size: 44px;
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.closing-kicker {
  font-family: var(--nav-font);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 10px;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.closing-cta h2 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  color: #fff8f5;
  margin-bottom: 18px;
}

.closing-copy {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--muted-color);
  line-height: 1.8;
}

.closing-button {
  display: inline-block;
  border: 1px solid var(--accent-color);
  color: #fff8f5;
  padding: 13px 30px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
}

.closing-button:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #121012;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: #121012;
  font-size: 14px;
  padding: 42px 0;
  position: relative;
  border-top: 1px solid rgba(215, 160, 170, 0.16);
}

.footer-signature {
  font-family: var(--signature-font);
  font-size: 34px;
  color: #fff8f5;
  line-height: 1;
  margin-bottom: 12px;
}

.footer .copyright p {
  margin-bottom: 0;
  color: #a9a1a3;
  font-size: 12px;
}

.footer .social-links {
  margin-top: 18px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 15px;
  color: #aaa1a4;
  margin: 0 5px;
}

.footer .social-links a:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

/*--------------------------------------------------------------
# Other template pages
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-title .heading h1 {
  font-size: 64px;
  font-weight: 400;
}

.page-title .heading .cta-btn {
  color: #121012;
  background: var(--accent-light);
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 34px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-title nav {
  background: #191619;
  padding: 18px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 14px;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: #786f72;
}

.section-title {
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-family: var(--nav-font);
}

.section-title h2::after {
  content: "";
  width: 100px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  font-family: var(--heading-font);
}

.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.gallery .gallery-item img {
  transition: 0.4s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.3s;
  background: rgba(18, 16, 18, 0.58);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 8px;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover img {
  transform: scale(1.05);
}

.about .content h2 {
  font-weight: 400;
  font-size: 28px;
  color: var(--accent-light);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul i {
  margin-right: 7px;
  color: var(--accent-color);
}

.services .service-item {
  background: var(--surface-color);
  padding: 45px 30px;
  transition: 0.3s;
  height: 100%;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(215, 160, 170, 0.18);
}

.services .service-item .icon i {
  color: #121012;
  background: var(--accent-light);
  font-size: 24px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.services .service-item h4 {
  margin-bottom: 15px;
  font-size: 20px;
  font-family: var(--heading-font);
  font-weight: 400;
}

.services .service-item p {
  line-height: 1.7;
  font-size: 14px;
  color: var(--muted-color);
}

.pricing .pricing-item {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 0 0 15px;
}

.pricing .pricing-item h4 {
  color: var(--accent-light);
}

.contact .info-wrap {
  margin-bottom: 30px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-light);
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(215, 160, 170, 0.45);
  margin-right: 15px;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 12px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background: var(--surface-color);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form button[type="submit"] {
  color: #121012;
  background: var(--accent-light);
  font-weight: 500;
  font-size: 12px;
  margin-top: 20px;
  padding: 14px 36px;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
}

#preloader::before,
#preloader::after {
  content: "";
  background: #121012;
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease;
  z-index: -1;
}

#preloader::after {
  left: auto;
  right: 0;
}

#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
}

#preloader .line::before {
  content: "";
  position: absolute;
  background: var(--accent-light);
  left: 0;
  top: 50%;
  width: 1px;
  height: 0;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out forwards;
}

#preloader .line::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear infinite;
  animation-delay: 2000ms;
}

#preloader.loaded .line {
  opacity: 0;
  height: 100% !important;
}

#preloader.loaded::before,
#preloader.loaded::after {
  animation: preloaderfinish 300ms ease-in-out 500ms forwards;
}

@keyframes lineincrease {
  0% { height: 0; }
  100% { height: 100%; }
}

@keyframes linemove {
  0% { transform: translateY(200%); }
  100% { transform: translateY(-100%); }
}

@keyframes preloaderfinish {
  0% { width: 50%; }
  100% { width: 0; }
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #121012;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--accent-light);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .editorial-portfolio {
    padding: 65px 20px 80px;
  }

  .portfolio-spread,
  .portfolio-spread-reverse {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 80px;
  }

  .portfolio-spread-reverse .portfolio-images {
    order: 2;
  }

  .portfolio-spread-reverse .portfolio-info {
    order: 1;
  }

  .portfolio-info {
    padding: 50px 30px;
  }

  .portrait-showcase,
  .culture-layout,
  .lifestyle-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .portrait-showcase .portrait-wide {
    grid-row: auto;
  }

  .portrait-showcase .portrait-wide,
  .portrait-showcase .portrait-tall,
  .portrait-showcase .portrait-detail,
  .culture-layout .culture-main,
  .culture-layout .stacked-images img,
  .lifestyle-showcase .lifestyle-wide,
  .lifestyle-showcase .lifestyle-event {
    min-height: 420px;
  }

  .culture-feature-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }

  .culture-feature-grid img {
    height: 420px;
  }

  .feature-heading {
    display: block;
  }

  .feature-heading .portfolio-link {
    display: inline-block;
    margin-top: 20px;
  }

  .nature-showcase {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 90px 0 70px;
  }

  .hero .col-lg-8 {
    padding: 35px 20px;
    transform: translateY(-5px);
  }

  .hero .col-lg-8::before {
    inset: -10px;
  }

  .hero-signature .signature-name {
    font-size: 40px;
  }

  .hero-main {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 0.96;
  }

  .hero .hero-categories {
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 2.5px;
  }

  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 13px 0;
  }

  .signature-logo .signature-name {
    font-size: 28px;
  }

  .signature-logo .signature-subtitle {
    letter-spacing: 3px;
  }

  .header .header-social-links {
    display: none;
  }

  .culture-feature-grid {
    grid-template-columns: 1fr;
  }

  .culture-feature-grid img {
    height: 380px;
  }

  .nature-showcase {
    height: 420px;
  }

  .portrait-showcase .portrait-wide,
  .portrait-showcase .portrait-tall,
  .portrait-showcase .portrait-detail,
  .culture-layout .culture-main,
  .culture-layout .stacked-images img,
  .lifestyle-showcase .lifestyle-wide,
  .lifestyle-showcase .lifestyle-event {
    min-height: 340px;
  }
}

/*--------------------------------------------------------------
# Contact Page Refinements
--------------------------------------------------------------*/
.contact-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro h2 {
  font-family: "Cardo", serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  color: #fff8f5;
  margin-bottom: 16px;
}

.contact-intro > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: #cfc4c7;
  line-height: 1.8;
  font-size: 15px;
}

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

.contact .info-item h3 {
  margin-bottom: 6px;
}

.contact .info-item p {
  margin-bottom: 0;
}

.contact .info-item a {
  color: #edbbc4;
}

.contact .info-item a:hover {
  color: #fff8f5;
}

.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
  display: none;
}

/*--------------------------------------------------------------
# Contact Form Readability Fix
--------------------------------------------------------------*/
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  color: #fff8f5;
  background: #191619;
  border: 1px solid rgba(237, 187, 196, 0.35);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #cfc4c7;
  opacity: 1;
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  color: #fff8f5;
  background: #1d191d;
  border-color: #edbbc4;
  outline: none;
  box-shadow: 0 0 0 1px rgba(237, 187, 196, 0.12);
}
