/***************************************************** GOOGLE FONTS ******************************************************/
@import url("https://fonts.googleapis.com/css2?family=Oswald&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Oswald&display=swap");

/***************************************************** BASIC STYLES ******************************************************/
html {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-weight: 500;
  font-size: 1rem; /* Slightly increased font size for better readability */
  line-height: 1.5; /* Added line-height for better vertical rhythm */
}

ul,
li {
  list-style: none;
}

/***************************************************** LANDING PAGE ******************************************************/
.landing-page {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #ffffff;
}

.landing-container {
  text-align: center;
}

.landing-logo {
  display: block;
  margin: 0 auto;
  padding: 5%;
  max-width: 80%;
  height: auto;
  animation: fade-in 1.5s ease-out forwards;
}

.enter-text {
  color: #383838;
  margin-top: 50px;
  font-size: 20px;
  text-decoration: none;
  font-size: 3rem;
  font-family: "Oswald", serif;
  cursor: pointer;
  animation: fade-in 1.5s ease-out forwards;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.enter-text:hover {
  transform: scale(1.1);
  color: rgb(157, 157, 157);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/***************************************************** ANNOUNCEMENT BAR ******************************************************/
.announcement-bar {
  background-color: #eee;
  padding: 10px;
  text-align: center;
}

.announcement-bar a {
  position: relative;
  color: #000;
  text-decoration: none;
}

.announcement-bar a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

.announcement-bar a:hover::before {
  transform: scaleX(1);
}

.announcement-bar a::before {
  transition: transform 0.3s, opacity 0.3s; 
}

/***************************************************** NAVBAR ******************************************************/
.navbar {
  background-color: #fff;
  color: #000;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  position: relative;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

.logo-text {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 25px;
  margin-left: 10px;
}

.logo-text a {
  color: #000; /* Set the initial color to black */
  opacity: 1; /* Set the initial opacity to fully opaque */
  text-decoration: none;
  transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Add smooth transitions for color and opacity */
}

.logo-text a:hover {
  color: #999; /* Change the color to grey on hover */
  opacity: 0.7; /* Set the opacity to a value between 0 and 1 on hover */
}

.menu-toggle {
  display: none;
}

.hamburger {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.line {
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  margin-left: 15px;
  position: relative;
}

.menu-items a {
  font-family: "Montserrat", sans-serif;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  padding-right: 20px;
  align-items: center;
}

/* Lighten the navbar links text on hover */
.menu-items a:hover {
  color: #999;
}

/* Lighten the dropdown and submenu links text on hover */
.menu-items li:hover > ul li a:hover {
  color: #999;
}

/* Dropdown menus */
.menu-items ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  padding: 10px 30px;
  padding-left: 10%;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Slide-down effect */
.menu-items li.dropdown:hover > ul {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-items ul li {
  margin: 10px 0;
  list-style: none;
  position: relative;
}

.menu-items ul a {
  color: #000;
  text-decoration: none;
}

.menu-items ul li a {
  color: #000;
  text-decoration: none;
  display: block;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #e8e8e8;
}

.menu-items ul ul {
  position: absolute;
  left: 100%;
  top: -20px;
  min-width: 220px;
  padding-left: 20%;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

/* Hover styles for dropdown */
.menu-items li:hover > ul {
  display: block;
}

.menu-items li ul li a:hover {
  background-color: #fff;
  color: #000;
}

.menu-items ul a:hover {
  color: #999;
}

.ri-arrow-right-s-line {
  vertical-align: -3px;
}

.ri-arrow-down-s-line {
  vertical-align: -3px;
}

/* Navbar Mobile Styles */
@media screen and (max-width: 1017px) {
  .logo img {
    height: 50px;
  }

  .logo-text {
    font-size: 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .hamburger .line {
    width: 100%;
    height: 3px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .menu-toggle.active .line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-items {
    display: none;
    font-size: 14px;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  .menu-items.show {
    display: flex;
  }

  .menu-items li {
    margin: 10px 0;
  }

  .slide-text {
    display: none;
  }

  .swiper-slide img {
    padding-bottom: 30px;
  }

  /* Adjust the styles for mobile dropdown */
  .menu-items ul {
    position: static;
    background-color: #eee;
    padding: 0 10px;
    box-shadow: none;
  }

  .menu-items ul li {
    margin: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .menu-items ul a {
    padding: 10px 0;
    border-bottom: none;
  }

  /* Adjust the styles for mobile submenu */
  .menu-items ul ul {
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    padding-left: 0;
    box-shadow: none;
  }
}

/***************************************************** HERO SLIDER ******************************************************/
.slick-slider {
  width: 100%;
}

.slick-slide img {
  width: 100%;
  height: auto;
  padding-bottom: 20px;
  z-index: -1;
}

.slide-text {
  text-align: right;
  padding-right: 2%;
}

/***************************************************** HOME ******************************************************/
.home-container {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  justify-content: center;
}

.columns-container {
  display: flex;
}

.left-column,
.right-column {
  padding: 0 20px;
  box-sizing: border-box;
}

.right-column {
  width: 65%;
  text-align: justify;
  height: 100%;
}

.left-column {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-column img {
  max-width: 250px;
  margin: auto;
  display: block;
  border-radius: 50%;
}

.social-media {
  font-size: 60px;
  word-spacing: 50px;
}

.social-media {
  font-size: 60px;
  word-spacing: 50px;
}

/* Hover animations for social media icons */
.social-media a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  color: black; /* Initial color */
}

.social-media a:hover {
  transform: scale(1.1);
  color: #999; /* Color on hover */
}

.home-title {
  font-size: 40px;
  font-family: "Oswald", serif;
  font-weight: bold;
  line-height: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.home-title.featured {
  text-align: center;
  padding: 20px; 
  overflow: hidden;
}

.home-title.featured::before,
.home-title.featured::after {
  background-color: #4f4f4f;
  content: "";
  display: inline-block;
  height: 2px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

.home-title.featured::before {
  right: 0.25em;
  margin-left: -50%;
}

.home-title.featured::after {
  left: 0.25em;
  margin-right: -50%;
}

.text-column p {
  font-size: 16px;
  line-height: 1.4;
}

.font {
  font-family: "Montserrat", serif;
  font-size: 20px;
}

.large {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: bold;
}

.font p {
  color: #363737;
}

.mobile {
  display: none;
}

hr {
  border: none;
  width: 6%;
  height: 2px;
  background-color: #4f4f4f;
  margin: 20px 0;
}

.flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.container {
  position: relative;
  width: 30%;
  margin-bottom: 20px;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.5;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  font-family: "Oswald";
  color: #000;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 16px 3px;
  text-decoration: none;
  text-shadow: #eee 1px 0 1px;
}

.social-media a {
  text-decoration: none;
  color: #000;
  font-size: 30px;
}


@media screen and (max-width: 768px) {
  .columns-container {
    flex-direction: column;
    align-items: center;
  }

  .home-container {
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center items horizontally */
  }

  .left-column,
  .right-column {
    width: 100%; /* Set width to 100% to stack columns */
    padding: 0;
    text-align: center;
  }

  .left-column img {
    max-width: 150px;
    margin: auto;
    display: block;
  }

  .right-column {
    font-size: 16px;
    padding: 15px;
    padding-top: 10px;
    text-align: left;
  }

  .right-column .font {
    text-align: center; /* For older browsers */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .right-column .social-media {
    display: flex;
    justify-content: center;
  }

  .right-column .social-media i {
    margin: 0 20px; 
    padding-bottom: 20px;
  }

  .home-title {
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 20px;
  }

  .home-title.featured::before,
  .home-title.featured::after {
    width: 27%;
  }

  .home-title.featured {
    padding: 0;
  }

  .text-column p {
    font-size: 14px;
    line-height: 1.3;
  }

  .font {
    font-size: 18px;
  }

  .social-media {
    font-size: 24px;
    word-spacing: 20px;
    padding-top: 20px;
  }

  .large {
    font-size: 29px;
  }

  .bottom {
    padding-bottom: 10px;
  }

  hr {
    width: 99%;
  }

  .container {
    width: 100%;
  }

  .container:last-child {
    margin-bottom: 0px;
  }

  .flex-container {
    padding: 0px 15px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1370px) {

  .left-column {
    width: 30%; /* Adjust the width of the left column */
  }

  .right-column {
    width: 65%; /* Adjust the width of the right column */
    text-align: justify;
  }
}

.hero {
  height: 25vh; /* Adjust the height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  opacity: 0.9;
}

.oregon-coast-hero {
  background-image: url('../img/oregon-coast/view-from-cape-perpetua.webp');
  background-size: cover;
  background-position: center;
}

.night-sky-hero {
  background-image: url('../img/night-sky/galaxy-center-mt-washington-oregon.jpg');
  background-size: cover;
  background-position: center;
}

.lego-hero {
  background-image: url('../img/lego/lego-photography-Forest-Battle.jpg');
  background-size: cover;
  background-position: 50% 43%;
}

.columbia-gorge-hero {
  background-image: url('../img/columbia-river-gorge/tony-everywhere-multomah-falls.jpg');
  background-size: cover;
  background-position: 50% 15%;
}

.central-oregon-hero {
  background-image: url('../img/central-oregon/crater-lake-panorama.jpg');
  background-size: cover;
  background-position: 50% 40%;
}

.eastern-oregon-hero {
  background-image: url('../img/eastern-oregon/painted-hills-motorcycle.jpg');
  background-size: cover;
  background-position: 50% 47%;
}

.portland-hero {
  background-image: url('../img/portland/morning-commute-portland-sunrise-light-trail.jpg');
  background-size: cover;
  background-position: 50% 63%;
}

.portland-hero {
  background-image: url('../img/portland/morning-commute-portland-sunrise-light-trail.jpg');
  background-size: cover;
  background-position: 50% 63%;
}

.washington-hero {
  background-image: url('../img/washington/sequim-washington-girl-taking-picture-sunset.jpg');
  background-size: cover;
  background-position: 50% 2%;
}

.multifarious-hero {
  background-image: url('../img/multifarious/tony-bag-of-donuts.jpg');
  background-size: cover;
  background-position: 50% 18%; 
}

/* Ensure the video hero stays below the navbar and announcement bar */
.video-background {
  position: relative;
  width: 100%;
  height: 200vh; /* Fixed height of the video */
  overflow: hidden; /* Hides the overflow if the video exceeds the set height */
  z-index: 1; /* Ensure the video stays below other elements */
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 2; /* Make the hero content appear above the video */
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: 3.5em;
  color: white; /* Adjust text color for better visibility */
}

/***************************************************** GALLERY ******************************************************/
.gallery-page {
  padding: 16px 1rem 1rem 1rem;
  flex: 1;
}

.gallery-page img {
  width: 100%;
}

.gallery-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  grid-gap: 0.5rem;
}

.gallery-span {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 300px;
  grid-gap: 0.5rem;
  grid-auto-flow: dense;
}

.gallery-item {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.gallery-img {
  height: 100%;
  object-fit: cover;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.gallery-img:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Apply a loading animation to the image */
.custom-loading {
  background-image: url('../img/loading.svg');
  background-size: 40px; /* Adjust the size of the loading animation */
  background-position: center; /* Center the loading animation */
  background-repeat: no-repeat; /* Prevent repeating the animation */
}

/* Hide the image until it's loaded */
.custom-loading:not([src]) {
  visibility: hidden;
}

.w-1,
.w-2,
.w-3,
.w-4,
.w-5,
.w-6 {
  grid-column: span 1;
}

.h-1,
.h-2,
.h-3,
.h-4,
.h-5,
.h-6 {
  grid-row: span 1;
}

/* MEDIA QUERIES LARGE SCREENS FOR GALLERY */
@media (min-width: 600px) {
  .gallery-span {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .w-1 {
    grid-column: span 1;
  }

  .w-2 {
    grid-column: span 2;
  }

  .w-3 {
    grid-column: span 3;
  }

  .w-4 {
    grid-column: span 4;
  }

  .w-5 {
    grid-column: span 5;
  }

  .w-6 {
    grid-column: span 6;
  }

  .h-1 {
    grid-row: span 1;
  }

  .h-2 {
    grid-row: span 2;
  }

  .h-3 {
    grid-row: span 3;
  }

  .h-4 {
    grid-row: span 4;
  }

  .h-5 {
    grid-row: span 5;
  }

  .h-6 {
    grid-row: span 6;
  }
}

/***************************************************** VIDEOGRAPHY ******************************************************/
.card {
  position: relative;
  background-color: #eee;
  padding: 10px;
  border-radius: 4px; /* Optional: Add border radius for a more professional look */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle box shadow */
}

.card img {
  padding-bottom: 5px;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 18px;
  padding-bottom: 15px;
}

.card-text {
  font-size: 14px; /* Adjust the font size to your preference */
  line-height: 22px;
  color: #555; /* Optional: Change the text color for better readability */
}

.vid-span {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

a.read-more {
  color: black;               /* Set link text color to black */
  text-decoration: none;      /* Remove underline */
  transition: color 0.3s;
}

a.read-more.read-more-right {
  float: right;
  padding-right: 10px;
}

a.read-more:hover {
  color: #999;           /* Lighten the text color on hover */
}

@media only screen and (max-width: 866px) {
  .vid-span {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    padding-bottom: 10px;
  }

  .card {
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .card-title {
    text-align: center;
  }

  .card-text {
    display: none;
  }
}

/***************************************************** ABOUT ******************************************************/
.about-title {
  font-family: "Oswald", serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.bold {
  font-family: "Oswald", serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.about-container {
  max-width: 1800px; /* Limit the maximum width */
  margin: 0 auto; /* Center the container horizontally */
  padding: 20px 20px; /* Add space to the sides */
}

.about-content {
  background-color: #f8f8f8;
  padding: 30px;
  line-height: 1.5rem;
}

.about-photo,
.about-content {
  width: 100%; /* Set width to 100% for both photo and content */
  padding-right: 20px; /* Add padding for spacing between photo and content */
}

.gallery-page .about-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.gallery-page .about-content p,
.gallery-page .about-content h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s; /* Delay the animation for paragraphs and headings */
}
@media screen and (max-width: 768px) {
  .about-photo {
    padding-right: 0px;
  }

  .about-title {
    font-size: 25px;
  }

  .about-content {
    font-size: 14px;
    padding-top: 10px;
  }

  .bold {
    font-size: 25px;
  }
}

@media screen and (min-width: 768px) {
  .about-container {
    display: flex;
    flex-direction: row; 
    align-items: flex-start; 
  }

  .about-photo,
  .about-content {
    width: 50%; /* Set the width of both columns to 50% */
  }

  .about-content {
    padding-left: 20px;
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/***************************************************** CONTACT ******************************************************/
.contact-background {
  background-image: url("../img/lego-photography-Escaped-Pilot.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-container {
  width: 100%;
  padding: 3%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-form {
  margin: 0 auto;
}

#contact-form input,
#contact-message {
  border: 2px solid #a1a1a1;
  border-radius: 2rem;
  z-index: 1;
}

.contact__form-tag,
.questions {
  font-family: "Oswald";
  font-weight: bold;
}

.red {
  color: red;
}

.submit {
  font-family: "Oswald";
  font-size: 1.25rem;
}

.questions {
  padding: 3%;
  margin: 0 auto;
  font-size: 2rem;
  text-align: center;
  line-height: 1.5;
}

form {
  background-color: rgba(255, 255, 255, 0.881);
  display: flex;
  flex-direction: column;
  padding: 2vw 4vw;
  width: 90%;
  max-width: 600px;
}

form h3 {
  font-weight: 800;
}

form input,
form textarea {
  border: 0;
  margin: 10px 0;
  padding: 20px;
  outline: none;
  font-size: 13px;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
}

form button {
  padding: 15px;
  background: #6c6c6c;
  color: #fff;
  border: 0;
  border-radius: 0px;
  outline: none;
  cursor: pointer;
  margin: 20px auto 0;
  width: 50%;
  transition: 0.3s ease background-color;
}

form button:hover {
  background-color: #949494;
}

/***************************************************** FOOTER ******************************************************/

footer {
  width: 100%;
  bottom: 0;
  display: block;
  flex-shrink: 0;
}

.footer-container {
  padding: 1rem;
  text-align: center;
  background-color: #eee;
}

.footer-list,
.footer-social {
  display: flex;
  justify-content: center;
  font-size: 12px;
}

.footer-list {
  margin: 2.5rem 0;
  column-gap: 2.5rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-social {
  column-gap: 1.25rem;
  padding-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

.footer-social-link {
  font-size: 1.25rem;
  color: black;
  transition: transform 0.4s;
  text-decoration: none;
}

.footer-social-link:hover {
  transform: translateY(-0.25rem);
}

.footer-text a {
  position: relative;
  color: black;
  text-decoration: none;
}

.footer-text a:hover {
  color: black;
}

.footer-text a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

.footer-text a:hover::before {
  transform: scaleX(1);
}

/* Media queries for small phone screens */
@media screen and (max-width: 480px) {
  .footer-list {
    column-gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .footer-social {
    column-gap: 0.75rem;
    padding-bottom: 13px;
  }

  .footer-text {
    font-size: 10.5px;
  }

  .footer-social-link {
    font-size: 1rem;
  }

  .bigger {
    font-size: 12px;
  }
}
