body {
  margin:0;
  font-family: Arial, sans-serif;
  background:#f4f6f9;
  text-align:center;
  
}

/* JUSTIFY ALL PARAGRAPHS EXCEPT FOOTER */
body p:not(.site-footer p) {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 15px;
}

.navbar {
  background:#777474;
  color:white;
  padding-bottom:10px;
}

.top-row {
  display:flex;
  justify-content:flex-end;
  padding:10px 20px;
}

/*
.lang-switch img {
  width:28px;
  cursor:pointer;
  transition:0.3s;
  color:#f4f6f9;
}

.lang-switch img:hover {
  transform:scale(1.1);
}
*/

/* LANGUAGE SWITCHER */
.language-switcher {
  position: absolute;       /* adjust as needed */
  top: 15px;                /* distance from top */
  right: 20px;              /* distance from right */
  display: flex;
  gap: 10px;                /* space between flags */
}

.language-switcher .lang-icon {
  width: 32px;              /* flag size */
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.language-switcher .lang-icon:hover {
  transform: scale(1.1);    /* subtle hover zoom */
}

.lang-icon[data-lang="bg"].active,
.lang-icon[data-lang="en"].active {
  border: 2px solid white;
  border-radius: 4px;
}





.logo-container {
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: backgroundShift 5s infinite alternate ease-in-out;
}

.logo-container img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}


.logo {
  width: 100%;
  max: width 700px;;
  height:auto;
}

nav {
  display:flex;
  justify-content:center;
  gap:25px;
  padding:15px 0;
}

nav a {
  color:white;
  text-decoration:none;
  font-weight:bold;
  padding:8px 12px;
  transition:0.3s;
}

nav a:hover {
  background:rgba(255,255,255,0.2);
  border-radius:5px;
}

.content {
  max-width:1000px;
  margin:40px auto;
  background:white;
  padding:40px;
  border-radius:8px;
}

.menu-toggle {
  display:none;
  font-size:24px;
  cursor:pointer;
  color:white;
  margin-bottom:10px;
}

/* MOBILE */
@media (max-width:768px){

  nav {
    display:none;
    flex-direction:column;
    gap:10px;
  }

  nav.active {
    display:flex;
  }

  .menu-toggle {
    display:block;
  }

}

@keyframes backgroundShift {
  
  0% {
    background-color: #c7c1c1; /* dark grey */
  }
  
  30% {
    background-color: #ffffff; /* dark brown */
  }
  
  100% {
    background-color: #777474; /* light grey */
  }
}

/* SIMPLE CENTERED FOOTER */
.site-footer {
  background: #777474;  /* same dark violet as header */
  color: white;
  text-align: center;
  padding: 5px 5px;
  font-size: 14px;
}

.site-footer a {
  color: white;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #d6d6d6;
}


/* HERO SECTION */
.hero {
  text-align: center;
  margin: 30px 0;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}


/* HERO IMAGE WRAPPER */
.hero-image-container {
  width: 60%;           /* same as content width */
  max-width: 1200px;    /* match menu/content */
  margin: 0 auto;
  height: auto;
  overflow: hidden;     /* important! hides the “zoom” edges */
  border-radius: 8px;   /* optional */
}

/* IMAGE MOVEMENT INSIDE */
.hero-image-container .hero-image {
  width: 100%;          /* keep full width of container */
  height: auto;
  display: block;
  
  animation: deepPan 30s infinite alternate ease-in-out;
  transform-origin: center center; /* zoom from center */
}

/* KEYFRAMES */
@keyframes deepPan {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.1) translate(-5px, -5px); }
  100% { transform: scale(1) translate(0,0); }
}




.gallery-grid {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-category img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.image-grid {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-img {
  width: 100%;
  cursor: pointer;
  border-radius: 6px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
}

.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.close { top: 20px; right: 30px; }
.prev { left: 30px; }
.next { right: 30px; }


.contact-info-row {
  display: flex; /* two columns side by side */
  gap: 20px; /* space between map and address */
  margin-bottom: 30px; /* space before form */
  flex-wrap: wrap; /* responsive: stack on small screens */
}

.contact-map,
.contact-address {
  flex: 1 1 300px; /* each column takes equal width, min 300px */
}

.contact-address p {
  font-size: 16px;
  line-height: 1.5;
}


/*mobile friendly*/
/*Global*/
@media screen and (max-width: 1024px) { /* tablet */ }
@media screen and (max-width: 768px) { /* mobile */ }
@media screen and (max-width: 480px) { /* small phones */ }


/*header and logo*/
/* header container */
header {
  background-color: #4b0082; /* dark violet */
  text-align: center;
  padding: 10px 0; /* smaller padding on mobile */
}

/* logo */
header .logo img {
  max-width: 70%; /* smaller than desktop */
  height: auto;
}

/* responsive adjustments */
@media screen and (max-width: 768px) {
  header .logo img {
    max-width: 50%;
  }
}

/*menu*/
nav.main-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* wrap on small screens */
  padding: 10px 0;
}

nav.main-menu a {
  text-decoration: none;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #6a0dad; /* violet */
}

nav.main-menu a:hover {
  background-color: #8b00ff;
}

@media screen and (max-width: 480px) {
  nav.main-menu {
    flex-direction: column; /* stack menu items */
    gap: 10px;
  }
}




/*foother*/
footer {
  background-color: #4b0082;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
  footer {
    font-size: 12px;
    padding: 15px 5px;
  }
}



/* Desktop: 3 columns */
.gallery-grid, .image-grid {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Tablet: 2 columns */
@media screen and (max-width: 768px) {
  .gallery-grid, .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: 1 column */
@media screen and (max-width: 480px) {
  .gallery-grid, .image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
}

/* Images inside grid */
.gallery-category img, .gallery-img {
  width: 100%;
  height: auto; /* maintain aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}