body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
}

a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: inherit;
  display: inline-block;
}

header {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('./assets/img/pictures/header.jpg');
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
  color: white;
  text-align: center;
  padding-bottom: 2em;
}

.header-phone {
  line-height: 0.8em;
  white-space: pre;
}

.header-phone::after {
  content: '\A (+359) 878 17 8686';
}

.call-now-button {
  font-weight: 600;
  background: #13398a;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s background-color ease;
}

.call-now-button:hover {
  background: #0a1e47;
  transition: 0.5s background-color ease;
}

.call-now-button a object {
  margin: 0 0.5em;
}

.call-now-button a {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  width: 100%;
  backdrop-filter: blur(3px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  /* width: 100%; */
  padding: 1em 1em 0.5em 1em;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1em;
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  font-weight: 500;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  padding: 0.5em 0.8em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 60px;
  justify-content: space-between;
}

.language-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.language-dropdown-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.current-lang {
  font-weight: 600;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.language-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5em;
}

/* Click-based dropdown behavior */
.language-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown-toggle[aria-expanded='true'] .dropdown-arrow {
  transform: rotate(180deg);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.8em 1em;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: #f8f9fa;
  color: #333;
}

.language-option.active {
  background-color: #e3f2fd;
  color: #1976d2;
  font-weight: 600;
}

.lang-code {
  font-weight: 600;
  font-size: 0.9em;
  min-width: 20px;
}

.lang-name {
  font-size: 0.85em;
  color: #666;
}

.language-option.active .lang-name {
  color: #1976d2;
}

.nav-call-button {
  width: fit-content;
  /* height: 40px; */
  padding: 8px 12px;
  border: white solid 1px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.header-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1em;
}

.header-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-text h1 {
  line-height: 1.4;
  text-transform: capitalize;
  font-weight: 700;
}

.header-text p {
  font-weight: 300;
}

.header-phone {
  margin: 1em auto;
  padding: 0.5em 1em;
}

.reviews {
  padding: 0 1em;
  padding-top: 2em !important;
  transition: 0.5s background-color ease;
}

.reviews:hover {
  background: #0a1e47;
  transition: 0.5s background-color ease;
}

.review {
  height: 300px;
  margin: 1em;
  border: 1px solid #b3b3b3;
  border-radius: 10px;
  box-shadow: 0px 12px 31px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-rating {
  display: flex;
  justify-content: center;
}

.review-text {
  height: 50%;
  display: flex;
  align-self: center;
  justify-content: center;
  margin: 16px 16px 0 16px;
}

.stranded {
  background: #f6f6f6;
  padding-top: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
  transition: 0.5s background-color ease;
}

.stranded:hover {
  background: #dfdfdf;
  transition: 0.5s background-color ease;
}

.stranded h3 {
  line-height: 1.4;
  font-weight: 700;
}

.stranded img {
  width: 100%;
}

.stranded-text {
  text-align: center;
  padding: 0 2em;
}

.stranded-text p {
  font-weight: 300;
}

.stranded-call-button {
  padding: 0.5em 0;
  color: white;
  font-weight: 400;
  width: 100%;
  margin: 1em 0;
}

.services {
  background: #f6f6f6;
  text-decoration: none;
  padding: 1em 2em 1em 2em;
  padding-top: 50px;
  transition: 0.5s background-color ease;
}

.services:hover {
  background: #dfdfdf;
  transition: 0.5s background-color ease;
}

.services-title,
.services-subtitle {
  text-align: center;
}

.services-title {
  font-weight: 700;
}

.services-subtitle {
  font-weight: 300;
  margin-top: 0;
}

.services-list-item {
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  border-top: 1px solid #1a1a1a;
  padding-top: 1em;
}

.services-list-item:last-child {
  padding-bottom: 1em;
  border-bottom: 1px solid #1a1a1a;
}

.services-item-title,
.services-item-subtitle {
  text-align: left;
}

.services-item-title {
  font-weight: 500;
}

.services-item-subtitle {
  margin-top: 0;
  font-weight: 300;
}

.services-list-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-inner-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.services-inner-item p {
  margin-left: 1em;
}

.services-inner-item object {
}

.services-inner-item {
  margin: 1em 0;
}

.services-inner-item p {
  font-weight: 700;
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0;
}

.services-call {
  text-align: center;
  padding: 0.5em 0;
  margin-top: 2em;
}

.services-call a {
  color: white !important;
}

footer {
  margin-top: 100px;
}

.footer-inner {
  padding-top: 2em;
  margin: 0 1em 1em 1em;
  border-top: 2px solid #b3b3b3;
  color: #1a1a1a;
  font-weight: 300;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-inner a {
  width: initial;
  height: initial;
}

.footer-inner p {
  margin: 0 2em;
}

.carousel-control-contrainer {
  display: flex;
  justify-content: center;
}

.carousel-control {
  border: 2px solid white;
  background-color: transparent;
  opacity: 1;
  position: inherit;
  margin: 0 1em;
  transition: background-color 0.15s ease-out;
  width: 3em;
  height: 3em;
  border-radius: 10px;
}

.carousel-control-next-icon {
  width: 100%;
  height: 100%;
}

.carousel-control-prev-icon {
  width: 100%;
  height: 100%;
}

.reviews {
  background: #13398a;
  padding: 2em;
  color: white;
}

.review {
  background: white;
  color: #1a1a1a;
}

.review-author h4 {
  margin: 0;
  margin-top: 0.5em;
}

.review-rating span {
  font-size: 1.25em;
}

.review-text {
  display: flex;
  align-items: center;
}

.reviews-title,
.reviews-subtitle {
  text-align: center;
}

.gallery {
  overflow-x: hidden;
}

.gallery-inner {
  height: 20em;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  min-width: 1024px;
  transition: 0.5s height ease;
}

.gallery-1 {
  grid-area: 2 / 8 / 3 / 9;
  background-color: red;
}
.gallery-2 {
  grid-area: 1 / 7 / 2 / 9;
  background-color: green;
}
.gallery-3 {
  grid-area: 2 / 6 / 3 / 8;
  background-color: blue;
}
.gallery-4 {
  grid-area: 1 / 5 / 2 / 7;
  background-color: turquoise;
}
.gallery-5 {
  grid-area: 2 / 4 / 3 / 6;
  background-color: peru;
}
.gallery-6 {
  grid-area: 1 / 3 / 2 / 5;
  background-color: indigo;
}
.gallery-7 {
  grid-area: 2 / 2 / 3 / 4;
  background-color: slateblue;
}
.gallery-8 {
  grid-area: 1 / 1 / 2 / 3;
  background-color: darkorange;
}
.gallery-9 {
  grid-area: 2 / 1 / 3 / 2;
  background-color: lawngreen;
}

@media screen and (min-width: 768px) {
  .stranded {
    flex-direction: row;
    padding: 2em 1em;
    justify-content: center;
    align-items: center;
  }

  .stranded img {
    width: 100%;
  }

  .stranded-image-container {
    width: 50%;
    display: flex;
    justify-content: center;
  }

  .stranded-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .stranded-call-button {
    font-size: 1.25em;
    width: 80%;
  }

  .stranded-call-button {
    font-weight: 600 !important;
  }

  .services {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .services-list {
    display: flex;
    justify-content: center;
  }

  .services-list-item {
    width: 50%;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
  }

  .services-item-title,
  .services-item-subtitle {
    text-align: center;
  }

  .services-call {
    text-align: center;
    width: 50%;
    font-size: 1.25em;
  }

  .services-subtitle {
    width: 80%;
  }
}

@media screen and (max-width: 1024px) {
  .services-call,
  .stranded-call-button {
    padding: 0.5em 0.5em;
    font-size: 1.5em;
  }
}
@media screen and (min-width: 1024px) {
  .services-subtitle {
    width: 50%;
  }

  .services-list-item {
    width: 40%;
  }

  .desktop-layout {
    display: flex;
  }

  .desktop-layout section {
    width: 50%;
    margin-top: 0;
    padding-left: 2em;
    padding-right: 2em;
  }

  .stranded {
    flex-direction: column;
    justify-content: flex-start;
  }

  .stranded-text {
    justify-content: baseline;
    width: 100%;
    height: max-content;
  }

  .stranded-image-container {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .reviews {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .review {
    color: #1a1a1a;
    width: 80%;
  }
  .carousel-control,
  .carousel-control:hover {
    border: 2px solid white;
    background-color: transparent;
  }

  .reviews-title {
    white-space: pre;
  }

  .reviews-title::after {
    content: '\A .';
    color: #13398a;
  }

  .carousel-container {
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  header {
    height: 700px;
  }

  p {
    font-size: 1.25em;
  }

  .gallery {
    overflow-x: auto;
  }

  .gallery-inner {
    height: 30em;
    transition: 0.5s height ease;
  }
}

.gallery-1 {
  background: url('../public/assets/img/pictures/pic1.jpg');
  background-size: cover;
}

.gallery-2 {
  background: url('../public/assets/img/pictures/pic2.jpg');
  background-size: cover;
}
.gallery-3 {
  background: url('../public/assets/img/pictures/pic13.jpg');
  background-size: cover;
}
.gallery-4 {
  background: url('../public/assets/img/pictures/pic.jpg');
  background-size: cover;
}
.gallery-5 {
  background: url('../public/assets/img/pictures/pic5.jpg');
  background-size: cover;
}
.gallery-6 {
  background: url('../public/assets/img/pictures/pic12.jpg');
  background-size: cover;
}
.gallery-7 {
  background: url('../public/assets/img/pictures/pic7.jpg');
  background-size: cover;
}
.gallery-8 {
  background: url('../public/assets/img/pictures/pic8.jpg');
  background-size: cover;
}
.gallery-9 {
  background: url('../public/assets/img/pictures/pic9.jpg');
  background-size: cover;
}

.leave-review a {
  height: 100%;
  padding: 0.5em 1em;
}

.leave-review {
  text-align: center;
  font-weight: 600;
  border: 3px solid white;
  border-radius: 10px;
  margin-top: 1em;
}

/* Mobile styles for language dropdown */
@media screen and (max-width: 768px) {
  .language-dropdown-toggle {
    padding: 0.4em 0.6em;
    min-width: 50px;
    font-size: 0.85em;
  }

  .language-dropdown-menu {
    min-width: 100px;
    right: -10px;
  }

  .language-option {
    padding: 0.6em 0.8em;
    gap: 0.6em;
  }

  .lang-name {
    font-size: 0.8em;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .language-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
  }
}
