/* Custom Fonts and Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", sans-serif;
}

a {
  transition: 0.5s;
}

/* Custom Components & Utilities */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f95f36;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: #fff;
}

.navbar-nav .nav-link {
  color: #fff;
}

.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.site-footer p.small-muted {
  font-size: 0.7rem;
  color: #999999;
  line-height: 1.6;
}

.site-footer a {
  color: #ff4800;
}

.site-footer a:hover {
  color: #ff7e5f;
}

.navbar-brand:hover,
.navbar-nav .nav-link:hover {
  color: #000;
}

.btn_1:hover {
  color: yellow;
}

.btn_1:hover:after,
.btn_1:hover:before {
  background-color: yellow;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.link-card:hover .arrow-icon {
  color: #444;
}

.single_gallery_item:hover .single_gallery_item_iner:after {
  opacity: 1;
  transform: scale(1);
}

.single_gallery_item:hover .gallery_item_text {
  opacity: 1;
  visibility: visible;
}

.social-icon.instagram:hover {
  color: #e1306c;
}

.social-icon.linkedin:hover {
  color: #0077b5;
}

.social-icon.substack:hover {
  color: #ff6700;
}

.banner_part {
  position: relative;
  background-image: url(../img/banner_photo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.banner_part .banner_text {
  display: table;
  width: 100%;
  height: 900px;
}

.banner_part .banner_text .banner_text_iner {
  display: table-cell;
  vertical-align: middle;
}

.banner_part .banner_text h5 {
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  font-family: "Merriweather", sans-serif;
  font-weight: 400;
}

.banner_part .banner_text h1 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 100;
  margin: 24px 0 29px;
  line-height: 60px;
  color: #fff;
}

.banner_part .banner_text h1 span {
  color: #ff4800;
}

.banner_part .banner_text p {
  margin-bottom: 40px;
  color: #fff;
}

.photo-credit {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
  font-size: 0.7em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.photo-credit-display {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 5px;
    z-index: 10;
    display: none; /* Initially hidden */
}

/* New style to create a positioning context for the photo credit */
.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.btn_1 {
  display: inline-block;
  background-color: transparent;
  font-size: 14px;
  font-family: "Merriweather", sans-serif;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.btn_1:after {
  position: absolute;
  content: "";
  left: -50px;
  top: 11px;
  width: 40px;
  height: 1px;
  background-color: #fff;
}

.btn_1:before {
  position: absolute;
  content: "";
  right: -50px;
  top: 11px;
  width: 40px;
  height: 1px;
  background-color: #fff;
}

.about_us {
  position: relative;
  z-index: 99;
}

.about_us .about_us_text {
  text-align: center;
}

.about_us .about_us_text h5 {
  font-size: 14px;
  color: #a7a8a9;
  line-height: 14px;
  text-transform: uppercase;
  padding-top: 5rem;
  margin-bottom: 26px;
}

.about_us .about_us_text p {
  font-size: 15px;
  margin-bottom: 20px;
  text-align: left;
  color: #6c757d;
}

.section_padding {
  padding: 140px 0px;
}

.gallery_part {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.gallery_part .section_tittle {
  margin-bottom: 80px;
}

.gallery_part .portfolio-filter {
  margin-bottom: 32px;
}

.gallery_part .portfolio-filter ul li {
  display: inline-block;
  margin-right: 45px;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  color: #182028;
  position: relative;
}

.gallery_part .portfolio-filter .active {
  color: #ff4800;
}

/* Styling for the tab links */
.gallery_part .portfolio-filter ul li a {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  color: #182028; /* Default color: black/dark gray */
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

/* Style for the active tab (Latest Work) */
.gallery_part .portfolio-filter ul li.active a {
  color: #ff4800; /* Active color: orange */
}

/* Hover effect for all tabs */
.gallery_part .portfolio-filter ul li a:hover {
  color: #ff4800; /* Hover color: orange */
}

.gallery_part_item {
  overflow: hidden;
}

.single_gallery_item {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.single_gallery_item .single_gallery_item_iner:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  background-color: #7b7474;
  z-index: -1;
  opacity: 0;
  transition: 0.5s;
  transform: scale(0.7);
}

.single_gallery_item .gallery_item_text {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  z-index: 5;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
  font-size: 40px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 0;
}

.gallery_item_text h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.gallery_item_text .h6-red {
  color: red;
}

.gallery_item_text h6 {
  font-size: 0.4em;
  color: #fff;
}

.gallery_item_text .h6-yellow {
  color: yellow;
}

.gallery_item_text .h6-greenyellow {
  color: greenyellow;
}

.gallery_item_text .h6-black {
  color: black;
}

.gallery_item_text .h6-blue {
  color: blue;
}

.gallery_item_text .h6-pink {
  color: pink;
}

.gallery_item_text .h6-orange {
  color: orange;
}

.gallery_item_text .h6-green {
  color: green;
}

.gallery_item_text .p-red {
  color: #ff4800;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.gallery_item_text p {
  color: yellow;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.img-gal {
  width: 25%;
  float: left;
  height: 650px;
}

.links-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.links-grid .col-12 {
  margin-bottom: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

.link-card i {
  font-size: 28px;
  opacity: 0.9;
  flex-shrink: 0;
}

.link-card .meta {
  flex: 1;
}

.link-card h5 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
}

.link-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  opacity: 0.8;
}

.link-card .arrow-icon {
  font-size: 1rem;
  color: #888;
  margin-left: auto;
  transition: color 0.2s ease;
  vertical-align: middle;
  line-height: 1;
}

.social-note {
  max-width: 900px;
  margin: 10px auto 0;
  opacity: 0.7;
  font-size: 0.95rem;
  text-align: center;
}

.social-icon.instagram {
  color: #e1306c;
}

.social-icon.linkedin {
  color: #0077b5;
}

.social-icon.substack {
  color: #ff6700;
}

.section {
  padding: 100px 0;
}

.section_tittle p {
    color: #6c757d;
}

.about_us_text p.text-left {
  margin-bottom: 0.5rem;
}

.authors-work {
  padding-top: 5rem;
}

/* New rule to style the author's work section text */
.authors-work-text p {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: left;
    color: #6c757d;
}

.authors-work-text p.quote {
    font-style: italic;
    font-weight: bold;
    color: black;
    text-align: center;
}

/* Media Queries */
@media (max-width: 991px) {
  .banner_part .banner_text {
    height: 650px;
  }
  .banner_part .banner_text h1 {
    font-size: 30px;
    line-height: 1.3;
    margin: 10px 0;
  }
  .banner_part .banner_text p {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .about_us .about_us_text p {
    margin-bottom: 10px;
  }
  .section_padding {
    padding: 70px 0px;
  }
  .gallery_part .section_tittle {
    margin-bottom: 40px;
  }
  .gallery_part .section_tittle h2 {
    font-size: 30px;
  }
  .gallery_part .portfolio-filter ul li {
    margin-right: 20px;
    margin-bottom: 15px;
  }
  .img-gal {
    height: 300px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .banner_part .banner_text .banner_text_iner {
    height: 650px;
  }
  .banner_part .banner_text h1 {
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  .about_us .about_us_text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 40px;
  }
  .about_us .about_us_text p {
    margin-bottom: 20px;
  }
  .gallery_part .section_tittle {
    margin-bottom: 40px;
  }
  .gallery_part .section_tittle h2 {
    font-size: 45px;
  }
  .img-gal {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .about_us .about_us_text h2 {
    font-size: 25px;
    margin-bottom: 10px;
    line-height: 35px;
  }
  .about_us .about_us_text p {
    margin-bottom: 10px;
  }
  .img-gal {
    width: 100%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about_us .about_us_text h2 {
    font-size: 25px;
    margin-bottom: 10px;
    line-height: 35px;
  }
  .about_us .about_us_text p {
    margin-bottom: 20px;
  }
  .img-gal {
    width: 50%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .img-gal {
    width: 50%;
  }
}

/* Note that we have move h2 and h3 after the media queries (that control
  rending on different screen sizes) so they do not override h2 and h3 */
.about_us .about_us_text h2 {
  font-family: "Merriweather", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 50px;
}

.copyright-text {
    font-size: 0.7em;
}

.single_gallery_item {
    position: relative; /* This makes it the positioning context for the child element */
}

.on-image-copyright {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

/* Style for the close button "x" for enlarged images*/
.mfp-close {
    width: 44px; /* Make the button a bit wider for a larger click area */
    height: 44px; /* Make the button a bit taller */
    line-height: 44px; /* Center the "x" vertically */
    text-align: center;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    text-decoration: none;
    color: #fff; /* A crisp white for a clean look */
    font-size: 28px; /* A larger, more visible "x" */
    font-weight: bold;
    font-style: normal;
    font-family: Arial, sans-serif;
    opacity: 0.6; /* Semi-transparent when not hovered over */
    transition: opacity 0.2s ease-in-out;
}

/* Hover effect for the close button */
.mfp-close:hover {
    opacity: 1; /* Fully visible on hover */
    text-decoration: none;
}

/* photography.html */
/* Basic styling for the gallery components */
body {
    flex-direction: column;
    align-items: center;
}

.gallery-container {
    width: 80%;
    height: 600px; /* Or a suitable fixed height */
    max-width: 900px;
    margin: 20px auto;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-photo {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.arrow {
    font-size: 2em;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.filmstrip-container {
    width: 80%;
    max-width: 900px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
}

.filmstrip-container img {
    height: 80px;
    width: auto;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.filmstrip-container img.active {
    border: 2px solid #007bff;
}

.gallery-container,
.filmstrip-container {
  margin-left: auto;
  margin-right: auto;
}

#flex-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers the children horizontally */
}

#parent-container {
  text-align: center;
}

.gallery-container .main-photo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Style for the main photo container's link to allow positioning the icon */
.gallery-container a {
    position: relative; /* This is crucial for positioning the icon relative to the link */
    display: flex; /* Ensures the link takes up the full space of the image */
    justify-content: center;
    align-items: center;
    height: 100%; /* Make sure the link fills the container's height */
    width: 100%; /* Make sure the link fills the container's width */
}

/* Base style for the Instagram icon (hidden by default) */
.instagram-icon {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.5em;
    color: #E1306C;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-in-out;
}

/* Show the icon only when the parent link has a non-empty href attribute */
a[href]:not([href=""]) .instagram-icon {
    display: block;
}

/* Add a hover effect for the icon */
.instagram-icon:hover {
    transform: scale(1.1);
}

/* Change the cursor back to the default arrow when the link is empty */
.gallery-container a[href=""] {
    cursor: default;
}

/* Styling for the side panel toggle button: Portfolio menu button */
#side-panel-toggle {
    position: fixed;
    top: 88px;
    left: 5px;
    z-index: 1000;
    padding: 10px 15px;
    background-color: rgba(155, 148, 148, 0.5); /* Semi-transparent white */
    color: black; /* Light grey */
    text-decoration: none;
    font-family: "Merriweather", sans-serif;
    border-radius: 5px;
    cursor: pointer;
}

/* Styling for the side panel */
#side-panel {
    position: fixed;
    top: 0;
    left: -250px; /* Initially off-screen */
    width: 200px;
    height: 100%;
    background-color: rgba(155, 148, 148, 0.5);
    padding-top: 60px;
    z-index: 999;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
}

/* Class to make the panel slide in */
#side-panel.open {
    left: 0;
}

/* Styles for the menu items inside the panel */
#side-panel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 100px; /* NEW: Add a top margin to move the menu down */

}

/* Controls the words in the side panel: Magazine, Portrait, Living */
#side-panel ul li a {
    display: block;
    padding: 15px 20px;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#side-panel ul li a:hover {
    background-color: #ff4800;
}

/* Fixed Side Panel for Reflections Page */
#blog-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(12, 12, 12, 0.2);
    padding-top: 100px;
    z-index: 999;
    overflow-y: auto;
}

/* Base styles for the blog panel's menu */
#blog-panel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Style for blog categories (the month names) */
#blog-panel ul li a {
    display: block;
    padding: 15px 20px;
    color: #000; /* Change text to black for contrast */
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#blog-panel ul li a:hover {
    background-color: #ff4800;
}

/* Style for the blog content area to make space for the fixed panel */
.blog-content {
    margin-left: 250px; /* Must match the panel's width */
    color: #6c757d;
}

/* Graded font sizes for headings h2 to h6 */
h2 {
  font-size: 2.5em; /* A prominent size for main subheadings */
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-size: 2em; /* Slightly smaller than h2 */
  font-weight: 500;
  line-height: 1.3;
}

h4 {
  font-size: 1.5em; /* A good size for minor headings */
  font-weight: 500;
  line-height: 1.4;
}

h5 {
  font-size: 1.2em; /* A smaller size for subheadings */
  font-weight: 400;
  line-height: 1.5;
}

h6 {
  font-size: 1em; /* The smallest heading size, often used for captions or minor titles */
  font-weight: 400;
  line-height: 1.6;
}

.post-meta {
    font-size: 0.8em;
    color: #888;
}

/* A generic spacer block. */
.spacer {
    height: 30px; /* Adjust this value to control the amount of space */
}