/*
Theme Name: Пламен Върбанов
Theme URI: https://bbonev.info/plamen-varbanov
Author: Бранимир Бонев
Description: Тема за WordPress със статична начална страница
Version: 1.0
*/

/* Стилове за съдържанието на страницата "За мен" */

/* Заглавие на страницата */
article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    //text-align: center;
}

/* Подзаглавия */
article h2, article h3, article h4 {
    color: #1e3a8a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Основен текст */
article p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.my-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1200px;
}

.my-gallery-item {
    flex: 1 1 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    aspect-ratio: 1 / 1; /* Това прави квадрат */
}

.my-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    transition: transform 0.3s ease;
}

.my-gallery-item:hover img {
    transform: scale(1.05);
}
/* Контейнер на формата */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Етикети */
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Текстови полета, телефон и тема */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
  box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: #007acc;
  outline: none;
}

/* Бутон за изпращане */
.wpcf7-submit {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-submit:hover {
  background-color: #005f99;
}

/* Responsive подобрения */
@media (max-width: 480px) {
  .wpcf7-form {
    padding: 1rem;
  }

  .wpcf7-submit {
    width: 100%;
    text-align: center;
  }
}



/* Responsive */
@media (max-width: 900px) {
    .my-gallery-item {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .my-gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
