/*Navigation panel*/
/* Setting font for regular text on the page */
html{
  font-family: "Open Sans", sans-serif;
} 
/* Setting font for headings */
h1, h2 {
  font-family: "Oswald", sans-serif;
  font-size: 60px;
}
p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}
/* Adding a gradient effect to the header element on the index page and putting it above the video*/
.gradient-header {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 10;
  background-image: linear-gradient(to bottom, rgba(43, 43, 43, 0.7), rgba(0, 0, 0, 0));
}
/* Placing header on top the page and items in the center */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative; 
  margin: 0;
}
/* Positioning website logo in the middle of the header element */
#website-logo {
    flex: 0 1 auto;
    order: 2; 
    margin: 0 1.25em;
}
/* Size of the logo */
#website-logo img{ 
    width: 7.5em; 
    height: 7.5em; 
}
/* Style options for navigation menu in the header */
.navigation-menu {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
/* Styling navigation menu buttons to white color and in bold and spacing them appropriately */
.navigation-menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.75em; 
    font-size: 1.875em;
}
/* Changing the color of the buttons and underlining the text when hovering over them */
.navigation-menu li a:hover {
    color: #FDD200;
    text-decoration: underline;
}
.left-nav, .right-nav {
  display: flex;
}
/* Setting the position of the two links to the left of the logo */
.left-nav {
    flex: 1;
    justify-content: flex-end;
    order: 1;
}
/* Setting the position of the two links to the right of the logo */
.right-nav {
    flex: 1;
    justify-content: flex-start;
    order: 3; 
}
/*Footer*/
/* Positioning the footer at teh bottom of the page, setting background color to white and padding */
footer {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111112;
    font-size: 0.875em; 
}
.footer-left, .footer-middle, .footer-right {
    display: flex;
    align-items: center;
}
/* Removing effects for the page links and adding space between elements */
.footer-left a, .footer-middle a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
} 
.footer-right p {
    margin: 0;
    padding: 0;
    color: white;
}
/* Separators */
.footer-left span {
    color: #333333;
}
/* Add hover effect for page links*/
.footer-left a:hover {
  text-decoration: underline;
}
/*Homepage*/
/*Main*/
/* Placing youtube video on top of the page */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Style settings for text below the video */
.index-text h2{
  color:#D1B264;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 60px;
  margin-bottom: 10px; 
}
.index-text {
  text-align: center; /* Center the text */
  padding: 20px; /* Add some padding around the text */
}
/* Styling separator between h2 and p */
.index-text hr {
  width: 15%; 
  margin: 20px auto; 
  color: #000000;
  border-top: 3px solid;
}
/* Styling for regular text */
.index-text p {
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}
/* Placing banner with text */
.main-banner {
  position: relative;
  background-size: cover;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-banner img {
  width: 100%;
  height: auto;
}
/* Placing a box with text on top of the image in main-banner element */
.banner-text {
  background-color: rgba(255, 255, 255, 0.8);
  width: 35%;
  padding: 20px;
  border-radius: 15px;
  position: absolute;
  top: 195%;
  left: 31%;
  text-align: center;
  color: black;
}

.banner-text h1, .banner-text h3, .banner-text p{
  margin: 0 0 10px;
}
.banner-text h3 {
  margin: 0 0 20px
}
/* Styling for button in main-banner element */
.banner-text a {
  color: white; 
  text-decoration: none;
  background-color: black; 
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
/* Button will change text color and background color when hovered */
.banner-text a:hover {
    background-color: #D1B264;
    color: black;
}


/*Contact us*/
/* Setting font and background image */
.contact-us-body { 
  font-family: "Open Sans", sans-serif; 
  background-image: url("../images/Contact-us.jpg"); 
  background-size: 100% 100%;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat; 
}
/* Position of contact us form */
.contact-us-main {
  position: relative;
  z-index: 1;
}
/* Position settings and setting the background color of the form with some transparency */
.form-container {
  padding-top: 100px;
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.99);
}
/* Font settings for the text inside the container */
.form-container h1, h2 {
  font-family: "Exo", sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.form-container p {
  line-height: 1.5;
  margin-bottom: 30px;
  font-family: "Open Sans", sans-serif;
}
/* Spacing between the input fields */
.form-group {
  margin-bottom: 15px;
}
label {
  display: block;
  margin-bottom: 5px;
}
/* Sizing of input fields and other styling */
input[type='text'], input[type='email'], input[type='tel'], textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  resize: none;
}
/* Positioning of checkbox in the form */
.checkbox-group { 
  display: flex;
  align-items: center;
  margin-bottom: 15px; 
}
.checkbox-group label {
  margin-left: 5px; 
}
/* Setting size and color of the SUBMIT button in the form */
#form-button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.contact-us-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}


/*Blog*/
/* Setting the background image for part of the page */
.background-image {
  background-image: url("../images/blog-background.jpg");
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 550px;
  z-index: -1; 
}
/* Setting text on top of the image and placing it in the middle */
.background-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
/* Adjusting font and size for text on top of the image */
.background-image .blog-title {
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  margin-bottom: 10px; 
}
.background-image .blog-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
}
/* Etyo, L. (n.d.). Navigation animation. CodePen. Retrieved from https://codepen.io/lyon-etyo/pen/OJmyMGd */
.blog-body {
  font-family: "Open Sans", sans-serif;
  display: grid;
  place-items: center;
  height: 100vh;
}  
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
/* Article container */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin-block: 2rem;
  gap: 2rem;
  position: relative;
  z-index: 1; /*Place it above the background image*/
  margin-top: 450px;
}
/* Positioning of elements in the article container */
.card {
  display: flex;
  flex-direction: column;
  width: clamp(20rem, calc(20rem + 2vw), 22rem);
  overflow: hidden;
  box-shadow: 0 .1rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 1em;
  background: #ECE9E6;
  background: linear-gradient(to right, #FFFFFF, #ECE9E6);
}
.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
/* Article tag placement in the article container and color settings */
.tag {
  align-self: flex-start;
  padding: .25em .75em;
  border-radius: 1em;
  font-size: .75rem;
}
.tag + .tag {
  margin-left: .5em;
}
.tag-blue {
  background: #56CCF2;
  background: linear-gradient(to bottom, #2F80ED, #56CCF2);
  color: #fafafa;
}
.tag-brown {
  background: #D1913C;
  background: linear-gradient(to bottom, #FFD194, #D1913C);
  color: #fafafa;
}
.tag-red {
  background: #cb2d3e;
  background: linear-gradient(to bottom, #ef473a, #cb2d3e);
  color: #fafafa;
}
.card__body h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
}
/* Positioning and color settings for author and publication date information */
.card__footer {
  display: flex;
  padding: 1rem;
  margin-top: auto;
}
.user {
  display: flex;
  gap: .5rem;
}
.user__image {
  border-radius: 50%;
}
.user__info > small {
  color: #666;
}
.card-header {
  display: block;
}
.card__image {
  transition: filter 0.3s ease;
  filter: brightness(0.7); /* Dim the image by default */
}
.card__header:hover .card__image,
.card__body a:hover .card__image {
  filter: brightness(1); /* Restore brightness on hover */
}
/* Delay in switching color when hovering for aesthetics */
.card__body h4 {
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.card__body a:hover h4 {
  text-decoration: underline;
  color: #FDD200;
}
/*↑ Etyo, L. (n.d.). Navigation animation. CodePen. Retrieved from https://codepen.io/lyon-etyo/pen/OJmyMGd */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 40px;
}
.pagination a {
  font-size: 22px;
}
.pagination button {
  background-color: #e6e6e6; 
  border: none; 
  padding: 10px 15px; 
  border-radius: 20px; 
  transition: background-color 0.3s ease;
}
.page-numbers a {
  text-decoration: none; 
  color: gray; 
  margin: 0 6px; 
}


/*Gallery*/
/* Adding a background image to the page */
.background-image-gallery {
  background-image: url("../images/camera-gallery.jpg");
  background-size: cover;
  background-position: center;
  min-height: 550px; /* Adjust the height as needed */  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}
.image-gallery {
  margin-top: 475px;
  display: flex;
  justify-content: space-between;
}
/* Space between columns */
.column {
  flex: 1; 
  padding: 5px; 
}
/* Display settings for images in columns */
.column img {
  width: 100%; 
  height: auto; 
  display: block; 
  margin-bottom: 10px; 
}


/*Places to go*/
/* Adding a background image to the page */
.background-image-places-togo {
  background-image: url("../images/waypoint-places-togo-background.jpg");
  background-size: cover;
  background-position: center;
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}
/* Setting three containers per row and spacing between each container*/
.container-places-togo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-top: 500px;
  justify-content: center;
}
/* Placement of individual card in the container */
.card-places-togo {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-size: cover;
  background-position: center;
}
/* Background images for cards */
.card-1 { background-image: url("../images/orheiul-vechi-places-togo.jpg"); }
.card-2 { background-image: url("../images/chisinau-places-togo.jpg"); }
.card-3 { background-image: url("../images/soroca-fortress-places-togo.jpg"); }
.card-4 { background-image: url("../images/cricova-winery-places-togo.jpg");}
.card-5 { background-image: url("../images/tipova-monastery-places-togo.jpg"); }
.card-6 { background-image: url("../images/saharna-monastery-places-togo.jpg"); }

.card-places-togo h2, .card-places-togo .read-more {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
}
/* Hover effect for READ MORE link */
.card-places-togo .read-more {
  transition: color 0.3s ease; 
}
.card-places-togo .read-more:hover {
  color: #FDD200;
}