/* style.css */

.back-to-home {
  padding: 10px 20px;
  background: #f0f4ff;
  border-bottom: 1px solid #ccc;
}

.back-button {
  text-decoration: none;
  color: #005cbf;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.back-button:hover {
  text-decoration: underline;
}



body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f1daab;
  color: #000000;
}

header {
  background: #bf0030;
  color: white;
  display: flex;
  align-items: center; /* Центрира вертикално */
  justify-content: flex-start;
  padding: 1rem 2rem;
  gap: 2rem;
}

.logo {
  width: 80px;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
   mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}


.header-text {
  text-align: center;
  flex: 1; /* Заема останалото място, центрира съдържанието */
}

.header-text h1 {
  margin: 0;
  font-size: 2.5rem;
}

.header-text p {
  margin: 0.3rem 0 0 0;
  font-size: 1.1rem;
}

nav {
  background: #a30000;
  text-align: right;
}

nav a {
  display: inline-block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background: #ff3333;
  color: #ff9999;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
  background: #f1daab;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

section {
  margin-bottom: 3rem;
  background: #f1e9da;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.06);
}

h2 {
  color: #c40000;
  margin-bottom: 1rem;
}

.services ul {
  list-style: none;
  padding: 0;
}

.services li {
  background: #f8f8f8;
  margin: 0.5rem 0;
  padding: 1rem;
  border-left: 5px solid #c40000;
  color; #000000;
}

.gallery img {
  width: calc(25% - 1rem); /* намалено от 33.333% на 25% */
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #fff;
  padding: 6px;
}


.gallery img {
  width: calc(33.333% - 1rem);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #fff;
  padding: 6px;
}

.contact p {
  font-size: 1.1rem;
}

footer {
  text-align: center;
  background: #117, 119, 97;
  padding: 1.5rem;
  color: #c40000;
}

@media (max-width: 750px) {
  .gallery img {
    width: 100%;
  }
}