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

:root {
  --primary-color: #ffbc00;
  --secondary-color: #262431;
  --tertiary-color: #2f2c3d;
  --hero-color: #0d0d0d;
  --navbarscroll-color: #b7b9bc;
}

html,
body {
  font-family: "Open Sans", sans-serif;

  background: var(--secondary-color);
  color: #d5d2d2;
  line-height: 1.6;
  scroll-behavior: smooth;
}
body.light-mode {
  background-color: #eeeff1;
  color: black;
}

/* Dark mode styles */
body.dark-mode {
  background: var(--secondary-color);
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1100px;

  margin: 0 auto;
}
.navbar__menu-link {
  font-family: "Futura", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn {
  padding: 0.5rem 2rem;
  background-color: var(--primary-color);
  border: 2px solid transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Navbar */
.navbar {
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

.navbar.navbar--scroll {
  background-color: rgba(38, 36, 49, 0.8);
  backdrop-filter: blur(7px);
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo img {
  width: 116px;
  height: 55px;
  filter: drop-shadow(0px 100px 0 #ffbc00);
  transform: translateY(-100px);
}

.navbar__menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
}

.navbar__menu-link:hover,
.navbar__mobile-menu-link:hover {
  color: var(--primary-color);
}

.navbar__menu-link--primary,
.navbar__mobile-menu-link--primary {
  color: var(--primary-color);
}

.navbar__menu-link--primary:hover,
.navbar__mobile-menu-link--primary:hover {
  color: #fff;
}

/* Mobile Menu */
.navbar__mobile-menu {
  display: none;
  cursor: pointer;
}

.navbar__mobile-menu-items {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--secondary-color);
  opacity: 0.95;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease-in-out;
}
.navbar__mobile-menu-items.dark-mode {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--secondary-color);
  opacity: 0.95;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease-in-out;
}
.navbar__mobile-menu-items.light-mode {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--navbarscroll-color);
  opacity: 0.95;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease-in-out;
}

.navbar__mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.2rem;
}

.navbar__mobile-menu-items {
  transform: translateX(100%);
}

.navbar__mobile-menu-items.active {
  transform: translateX(0);
}
.navbar__menu-link {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 200; /* Thin weight */
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hero */
.hero {
  background: var(--hero-color) center center/cover no-repeat;
  height: 100vh; /* Full screen height */
  padding: 10vh 2rem; /* Vertical padding in percentage of viewport */
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: space-between; /* Default layout for larger screens */
}

.hero.light-mode {
  background-color: #d2d3d6;
  color: black;
}

.hero.dark-mode {
  background: var(--hero-color) center center/cover no-repeat;
  padding: 10vh 2rem;
}

.hero__container {
  display: flex;
  justify-content: space-between; /* Default layout for larger screens */
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.hero__content {
  max-width: 500px;
  text-align: left; /* Default alignment */
}

.hero__title {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
}

.hero__title--primary {
  color: var(--primary-color);
}

.hero__description {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero__image img {
  max-width: 500px;
  width: 300px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero__button {
  padding: 1rem 2rem;
}

.hero__button i {
  margin-right: 0.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero {
    padding: 5vh 1.5rem;
    justify-content: center; /* Center content horizontally */
    text-align: justify; /* Center text */
  }

  .hero__container {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center items horizontally */
    gap: 2rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: 6vw; /* Responsive font size for smaller screens */
  }

  .hero__image img {
    max-width: 80%;
  }

  .hero__buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 1rem;
  }
  .hero__image img {
    max-width: 500px;
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4vh 1rem;
  }

  .hero__title {
    font-size: 8vw;
  }

  .hero__image img {
    max-width: 90%;
  }

  .hero__buttons {
    gap: 0.5rem;
  }
  .hero__image img {
    max-width: 500px;
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.features__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px; /* Adjusted gap to 3px */
  flex-wrap: nowrap; /* Ensure items stay in a single line */
}

.features__grid-item {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  max-width: 150px;
}
/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  text-align: center;
}

.testimonials__card-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonials__container {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap onto multiple lines */
  gap: 16px; /* Adjust spacing between items as needed */
  /*  flex-wrap: nowrap; Ensure items stay in a single line */
}

.testimonials__card {
  flex: 1 1 calc(25% - 16px); /* Adjust the percentage based on how many images you want per row */
  max-width: calc(
    25% - 16px
  ); /* Ensure that images don’t exceed container width */
  box-sizing: border-box; /* Includes padding and border in element’s total width and height */
}
/* Keyframes for fade-in effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Slide-up effect */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hidden */
.testimonials {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* When the section is in view */
.testimonials.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Apply similar styles to the elements within the section */
.testimonials .features__title,
.testimonials .features__description {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.testimonials .features__title.in-view,
.testimonials .features__description.in-view {
  opacity: 1;
  transform: translateY(0);
}

.photo img {
  width: 100%;
  height: auto; /* Keeps image aspect ratio */
}

/* Mobile Styles */
@media (max-width: 480px) {
  /* Adjusts card size for mobile */
  .testimonials__card {
    flex: 1 1 100%; /* One card per row on mobile */
    max-width: 100%;
  }

  /* Stack icons (heart and comment) below the image */
  .overlay-content {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Stack the icons vertically */
    align-items: center; /* Center them */
  }

  .overlay-content span {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem; /* Add spacing between the icons */
  }

  .overlay {
    display: block; /* Make sure overlay is visible */
    padding-top: 10px; /* Add some padding on top */
  }

  /* Optional: Reduce padding for smaller screens */
  .testimonials {
    padding: 2rem 1rem;
  }

  /* Style the photo */
  .photo img {
    width: 100%; /* Full width on mobile */
    height: auto;
  }
}

/* Features */
.features {
  background-color: var(--tertiary-color);
  padding: 6rem 2rem;
}
.features.dark-mode {
  background-color: var(--tertiary-color);
  padding: 6rem 2rem;
}
.features.light-mode {
  background-color: #dcdddf;
  color: black;
}

/* Keyframes for fade-in effect #collection*/
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Slide-up effect */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hidden */
#collection {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* When the section is in view */
#collection.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Apply similar styles to the elements within the section */
#collection .features__title,
#collection .features__description {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#collection .features__title.in-view,
#collection .features__description.in-view {
  opacity: 1;
  transform: translateY(0);
}

/*animation class features__grid-item*/

/* Keyframes for fade-in effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Slide-up effect */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hidden */
.features__grid-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Increase duration */
}

/* When the grid item is in view */
.features__grid-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.features__container {
  text-align: center;
}

.features__title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.features__description {
  max-width: 600px;
  margin: 1rem auto 4rem;
  color: var(--primary-color);
}

.features__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px; /* Adjusted gap to 3px */
  flex-wrap: nowrap; /* Ensure items stay in a single line */
}

.features__grid-item {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  max-width: 150px;
}

.features__grid-item-text-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.features__grid-item-icon {
  margin-top: 2rem;
}

.features__grid-item-icon i {
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .features__grid {
    flex-direction: column; /* Stack items vertically on mobile */
    flex-wrap: wrap; /* Allow wrapping */
    gap: 1.5rem; /* Add some spacing between items */
  }

  .features__grid-item {
    max-width: 100%; /* Make the grid item take up full width */
  }

  .hover-image {
    width: 100%; /* Ensure images stretch across the full width */
    max-width: 100%; /* Remove any width restriction for images */
  }
}
/* Preview */
.preview {
  background: url("../images/video-background.jpg") center center/cover
    no-repeat;
}

.preview__container {
  padding: 0.2rem 2rem;
  text-align: center;
}

.preview__title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.preview__description {
  max-width: 600px;
  margin: 1rem auto 0rem;
}

.preview__video-wrapper {
  position: relative;
}

.preview__video-wrapper img {
  width: 350px;
  max-width: 600px;
  border-radius: 15px;

  margin-top: 17px;
}

/* Play Button Container */
.preview__video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 10;
  display: block;
  box-sizing: content-box;
  width: 2rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
}

/* Play Button Circle */
.preview__video-play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  background: #ffbc00;
  height: 3.375rem;
  width: 3.375rem;
  border-radius: 50%;
  display: block;
  transition: all 200ms;
}

/* Play Button Triangle */
.preview__video-play-button span {
  position: relative;
  display: block;
  z-index: 3;
  top: 0.375rem;
  left: 0.25rem;
  width: 0;
  height: 0;
  border-left: 1.625rem solid #fff;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
}

/* Play Button Animation */
.preview__video-play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  background: #ffbc00;
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) scale(1.5);
    opacity: 0;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal__content {
  background-color: rgba(0, 0, 0, 0.5);
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
}

.modal__close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  color: white;
}

/* Details */
.details {
  padding: 9rem 2rem;
}
/* Keyframes for fade-in effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Optional: Slide-up effect */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hidden */
.details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* When the section is in view */
.details.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Apply similar styles to the grid items */
.details__grid-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.details__grid-content.in-view {
  opacity: 1;
  transform: translateY(0);
}
.details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
  justify-content: center;
}

.details__grid-content {
  max-width: 500px;
  width: 100%;
}

.details__grid-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.details__grid-description {
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Details Icons */
.details__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  text-align: center;
}

.details__icons i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.details__icons-amount {
  font-size: 3.5rem;
  font-weight: 600;
}

.details__icons-title {
  font-size: 1.3rem;
  font-weight: 400;
}

/* Footer */
.footer {
  background: #0d0d0d center center/cover no-repeat;
  padding: 11.5rem 2rem 8rem;
  color: #9f9caf;
  padding: 4rem 2rem;
  font-size: 0.9rem;
}
.footer.light-mode {
  background-color: #d2d3d6;
  color: black;
}
.footer.dark-mode {
  background: var(--hero-color) center center/cover no-repeat;
}

.footer__links-link,
.footer__social-link {
  color: #2e2d30;
}

.footer__links-link:hover,
.footer__social-link:hover {
  color: #fff;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
}

.footer__title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.fa-camera {
  font-size: 39px;
}
@media (max-width: 768px) {
  .footer__social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 8px;
  }
  .fa-camera {
    font-size: 22px;
  }
}

/* Inner Header */
.inner-header {
  background: #0d0d0d center center/cover no-repeat;
  padding: 10rem 2rem 6rem;
}

.inner-header.dark-mode {
  background: var(--hero-color) center center/cover no-repeat;
  padding: 11.5rem 2rem 8rem;
}
.inner-header.light-mode {
  background-color: #d2d3d6;
  color: black;
}

/* Pricing */
.pricing {
  background: var(--tertiary-color);
  padding: 4rem 2rem 6rem;
}

.pricing__title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: center;
}

.pricing__cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.pricing__card-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 30px;
  margin-bottom: 2rem;
}

.pricing__card-title {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.pricing__card-price {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing__card-list {
  text-align: left;
  line-height: 2.5rem;
  font-weight: 300;
}

.pricing__card-item i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Pricing Notes */
.pricing-notes {
  padding: 3rem 2rem;
  color: #9f9caf;
  text-align: center;
}

/* Details Features */
.details-features {
  background: var(--tertiary-color);
  padding: 4rem 2rem;
}

.details-features__title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: center;
}

.details-features__list-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 20px;
}

.details-features__list-item i {
  color: var(--primary-color);
}

.details-features__list-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
  /* Hero */
  .hero {
    padding: 10rem;
    text-align: center;
  }

  .hero__container {
    flex-direction: column;
  }

  .hero__title {
    font-size: 2.3rem;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__button {
    width: 100%;
  }

  .hero__image img {
    max-width: 350px;
  }

  /* Testimonials */
  .testimonials__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__card {
    padding: 0 1.5rem;
  }

  .testimonials__card:nth-child(3) {
    display: none;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__grid-column-left,
  .features__grid-column-right {
    order: 2;
    margin-bottom: 2rem;
  }

  .features__grid-column-center {
    order: 1;
    margin-bottom: 3rem;
  }

  .features__grid-item,
  .features__grid-column-right .features__grid-item {
    text-align: center;
    flex-direction: column-reverse;
    max-width: 400px;
  }

  .features__grid-item-icon {
    margin: 0 auto;
  }

  .features__grid-column-center img {
    max-width: 300px;
  }

  /* Details */
  .details__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .details__grid-image img {
    width: 100%;
    max-width: 400px;
  }

  .details__grid-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .details__icons {
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
  }

  /* Footer */
  .footer {
    font-size: 1rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar__menu {
    display: none;
  }

  .navbar__mobile-menu {
    display: block;
  }

  /* Testimonials */
  .testimonials__container {
    grid-template-columns: 1fr;
  }

  .testimonials__card:nth-child(2) {
    display: none;
  }

  /* Video Modal */
  .modal__content {
    margin: 40% auto;
    padding: 10px;
    width: 90%;
  }

  .modal__content iframe {
    width: 100%;
  }

  /* Pricing */
  .pricing__cards {
    flex-direction: column;
  }

  .pricing__card {
    margin-bottom: 4.5rem;
  }

  /* Details Features */
  .details-features__list-item {
    flex-direction: column;
    text-align: center;
  }
}
.png-container img {
  filter: drop-shadow(0px 100px 0 #ffbc00);
  transform: translateY(-100px);
}

/*Modal Photo*/
/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  -webkit-filter: blur(4px); /* Chrome, Safari, Opera */
  filter: blur(4px);
}
#myImg2:hover {
  -webkit-filter: blur(4px); /* Chrome, Safari, Opera */
  filter: blur(4px);
}

.imgongrid {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) 
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}*/
.modal-content {
  margin: auto;
  display: block;
  max-width: 590px;
  width: 80%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease; /* Smooth transition on opening */
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 100px;
  right: 400px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/*Contact form*/
/* Main Container */
.container_contact {
  max-width: 700px;
  padding: 0 1.3rem;
  margin: auto;
  overflow: hidden;
}

/* Section title styling */
.section-title {
  font-size: 2rem;
  display: block;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 100;
  text-transform: uppercase;
}

/* Bottom line under the title */
.bottom-line {
  height: 2px;
  width: 3rem;
  background: #ffbc00;
  display: block;
  margin: 0 auto 1rem auto;
}

/* Lead text (subheading) styling */
.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Text input and form fields */
#contact-a .text-fields {
  display: grid;
  grid-template-areas: "name email" "subject phone" "message message";
  grid-gap: 1.2rem;
  margin-bottom: 1.2rem;
}

/* Individual input field positioning using CSS grid areas */
#contact-a .text-fields .name-input {
  grid-area: name;
}
#contact-a .text-fields .subject-input {
  grid-area: subject;
}
#contact-a .text-fields .email-input {
  grid-area: email;
}
#contact-a .text-fields .phone-input {
  grid-area: phone;
}
#contact-a .text-fields .message-input {
  grid-area: message;
  height: 100px;
}

/* General input field styling */
#contact-a .text-fields .text-input {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background-color: #b5b2c0;
}

/* Submit button styling */
#contact-a button[type="submit"] {
  width: 50%;
  margin: auto;
  display: block;
}

/* Centering text */
.text-center {
  text-align: center;
}

/* Padding utility class */
.py-3 {
  padding: 3rem 0;
}

/* Contact info section styling */
#contact-b .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

/* Section heading */
#contact-c h1 {
  text-align: center;
  font-size: 4rem;
}

/* Media Queries for Responsiveness */

/* Tablets and smaller devices (max-width: 768px) */
@media (max-width: 768px) {
  #contact-a .text-fields {
    grid-template-areas:
      "name"
      "email"
      "subject"
      "phone"
      "message"; /* Stack the fields vertically on smaller devices */
  }
  #contact-a button[type="submit"] {
    width: 100%; /* Make the submit button full-width */
  }
  .lead {
    font-size: 1.2rem;
  }
}

/* Mobile phones (max-width: 480px) */
@media (max-width: 480px) {
  #contact-a .text-fields {
    grid-template-areas:
      "name"
      "email"
      "subject"
      "phone"
      "message"; /* Stack vertically for mobile */
  }

  /* Reduce padding and font sizes for better fit */
  .section-title {
    font-size: 1.5rem;
  }

  #contact-a .text-fields .text-input {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  #contact-a button[type="submit"] {
    width: 100%; /* Full width button on mobile */
    font-size: 1rem;
    padding: 0.8rem 0;
  }
}

/*image grid and text*/
.containerphotogrid {
  display: flex;
  width: 100%;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 100vh;
}

.box {
  flex: 1;
  overflow: hidden;
  transition: 0.5s;
  margin: 0 2%;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.box > img {
  width: 200%;
  height: calc(100% - 10vh);
  object-fit: cover;
  transition: 0.5s;
}

.box > span {
  font-size: 3.8vh;
  display: block;
  text-align: center;
  height: 10vh;
  line-height: 2.6;
}

.box:hover {
  flex: 1 1 50%;
}
.box:hover > img {
  width: 100%;
  height: 100%;
}

html {
  background: black;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 2px;
  grid-auto-rows: min-max(80px, auto);
  grid-auto-flow: dense;
}

.c-1 {
  background: #1a535c;
  color: #ddd;
}
.c-2 {
  background: #4ecdc4;
}
.c-3 {
  background: #bfd7ea;
}
.c-4 {
  background: #ff6b6b;
}
.c-5 {
  background: #ffe66d;
}

.card {
  min-height: 100px;
  background-size: cover;
  background-position: 50% 50%;
}
.span-2 {
  grid-column-end: span 2;
  grid-row-end: span 2;
  min-height: 200px;
}
.span-3 {
  grid-column-end: span 3;
  grid-row-end: span 3;
  min-height: 400px;
}

/*hover zoom*/

.zoom {
  transition: transform 0.3s; /* Animation */
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.zoom:hover {
  transform: scale(
    1.5
  ); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.ctr {
  margin-top: 240px;
}
/* button submit in contact form */
.details__grid-buttonsub {
  margin-right: 3px;
}
/* fonts */
.sevillana-regular {
  font-family: "Sevillana", cursive;
  font-size: 20px;
  font-weight: 300;
  font-style: normal;
}

/* instagram */

.photo {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  cursor: pointer;
}

.photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black hover */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 18px;
  border-radius: 10px;
}

.photo:hover .overlay {
  opacity: 1;
}
/* video modal close button */
.modal__close-button {
  display: none; /* Hide the close button by default */
}

/* Hover image collection with text */

.image-container {
  position: relative;
  width: 300px;
  height: 340px;
}

.hover-image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.image-container:hover .overlay-text {
  opacity: 1;
}

.image-container:hover .hover-image {
  opacity: 0.3; /* Optional: adds a dim effect to the image when hovered */
}

/* image carouzel Basic grid styling */
.gridcarouzel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card_carouzel {
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.card_carouzel:hover {
  transform: scale(1.1);
}

/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  max-height: 800px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001; /* Ensure it stays above the image */
}

/* Close Button Hover */
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#caption {
  margin: auto;
  display: block;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}
/* Previous and Next buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* center text */
.justify-align {
  text-align: justify;
}
/* Default light mode styles */

/* Toggle theme button */
#modeToggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.bottom-right-text {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7); /* Solid background */
  color: white; /* Text color */
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 5px;
}

/* zoom in collection */

.zoom-collection {
  transition: transform 0.3s; /* Animation */
}

.zoom-collection:hover {
  transform: scale(
    1.01
  ); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
/* animate text title */

#animated-text {
  display: block;
}

.word {
  display: inline-block;
  opacity: 0;
  animation: fadeInRotate 1s ease forwards;
}

.word:nth-child(1) {
  animation-delay: 0.3s;
}

.word:nth-child(2) {
  animation-delay: 1s;
}

.word:nth-child(3) {
  animation-delay: 2s;
}

.word:nth-child(4) {
  animation-delay: 3s;
}
.word:nth-child(5) {
  animation-delay: 4s;
}
@keyframes fadeInRotate {
  0% {
    opacity: 1;
    transform: rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}

.highlight-text {
  color: var(--primary-color); /* Set a bright color */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0),
    0 0 20px rgba(255, 255, 255, 0.4);
  font-size: 1.2em;
}

/*image download*/
.image-download {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 100%;
}

.image-download img {
  width: 100%;
  height: 300px;
  display: block;
}

/*animation hero*/
.hero__title,
.hero__description {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__description {
  animation-delay: 1s; /* Η περιγραφή θα εμφανιστεί με καθυστέρηση 1 δευτερολέπτου */
}

/* User Section create or login */
.user-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh; /* Full viewport height to center vertically */
  padding: 1rem; /* Add padding to the section */
}

.form-container {
  padding: 1rem;
  background-color: #eeeff1;
  border-radius: 10px;
  margin: 1rem;
  width: 100%;
  max-width: 400px; /* Limit the width to a smaller size */
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.text-input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.text-input::placeholder {
  color: #888;
}

.form-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  border: 2px solid transparent;
  font-weight: 600;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.form-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
}

.register-link {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.register-link a {
  color: #007bff; /* Change color as needed */
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  .user-section {
    flex-direction: column;
  }
  .user-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; /* Full viewport height to center vertically */
    padding: 1rem; /* Add padding to the section */
  }
}
