/* ============================
   SECTIONS — PŮVODNÍ DESIGN
   ============================ */

section {
    padding: 100px 0;
}

/* Výjimka pro slider */
#home {
    padding: 0 !important;
}

/* ============================
   SLUŽBY
   ============================ */

#services {
  background: #2a200f;
  animation: slideUp .8s ease forwards;
  padding: 120px 0;
  position: relative;
  z-index: 1; /* aby nepřekrýval slider */
}

#services .section-title {
  text-align: center;
  margin-bottom: 70px;
}

#services .section-title h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.service-card {
  background: #f7f7ec;
  padding: 35px;
  border-radius: 25px 0 25px 0;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: .3s;
  overflow: hidden;
  min-height: 360px;
  color: #2a200f;  
  text-decoration: none;
}

/* ❗ Karty se už nezvedají */
.service-card:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 48px;
  color: #2a200f;
  margin-bottom: 0;
}

.service-icon img {
  width: 78px;
  height: auto;
  margin-bottom: 0;
  transition: transform 0.3s ease;
  transform-origin: left top;
}

/* Hover icons: icon se zvětší zleva dolů */
.service-card:hover .service-icon img {
  transform: scale(1.20);
}

.service-card h3 {
  color: #2a200f;
  margin-bottom: 10px;
}

.service-card p {
  color: #2a200f;
}

.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-link h3,
.service-link p {
  margin: 0 0 10px;
}

/* Výchozí stav: menší kolečko */
.service-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 60px;   /* menší kolečko */
  height: 60px;
  background: #2a200f;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease; /* animace scale */
  transform-origin: center center; /* střed zůstane na místě */
}

.service-arrow i {
  color: #f7f7ec;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* Hover stav: kolečko i šipka se zvětší kolem středu */
.service-card:hover .service-arrow {
  transform: scale(1.70);
}

.service-card:hover .service-arrow i {
  transform: scale(1.2);
}

/* ============================
   ABOUT
   ============================ */

#about {
    background: #f7f7ec;
    animation: slideUp .8s ease forwards;
}

.about-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    width: 50%;
}

.about-img img {
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 25px 0 25px 0;
}

.about-text {
    width: 50%;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.btn-about {
    display: inline-block;
    background: #dd4e0a;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    margin-top: 20px;
    transition: background .3s ease;
}

.btn-about:hover {
    background: #c44508;
}

/* ============================
   KONTAKT
   ============================ */

#contact {
    background: #2a200f;
    color: #fff;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

/* INFO BOX */
.contact-info {
    width: 50%;
    padding: 30px 25px;
    background-image: url("../img/wood-texture-light.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 25px 0 25px 0;
    text-align: left; /* kontaktní informace vlevo */
}

.contact-info * {
    color: #fff;
    text-align: left; /* kontaktní informace vlevo */

}

.contact-info h3 {
    margin-top: 25px;
    margin-bottom: 6px;
}

.contact-info p {
    margin-bottom: 20px;
}

/* EMAIL */
.contact-email {
    color: #dd4e0a;
    text-decoration: none;
    font-weight: 700;
    transition: color .25s ease;
}

.contact-email:hover {
    color: #c44508;
}

/* FORMULÁŘ */
.contact-form {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    outline: none;
    border-radius: 8px;
    font-size: 16px;
    background: #3a2f1a;
    color: #fff;
    background-image: url("../img/wood-texture-light.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    transition: .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #4a3b22;
    opacity: 1;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #c9b9a8;
}

.contact-form .row {
    display: flex;
    gap: 20px;
}

.contact-form .col {
    flex: 1;
}

/* BUTTON */
.btn-submit {
    background: #dd4e0a;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 180px;
    transition: background .3s ease;
}

.btn-submit:hover {
    background: #c44508;
}

/* ============================
   FORM STATUS MESSAGE
   ============================ */

#form-status {
    margin-top: 25px;
    padding: 18px 22px;
    border-radius: 25px 0 25px 0;
    font-weight: 700;
    font-size: 16px;
    display: none;
    animation: slideUp .6s ease forwards;
}

#form-status.success {
    display: block;
    background: #3a2f1a;
    color: #fff;
    border-left: 4px solid #4caf50;
}

#form-status.error {
    display: block;
    background: #3a2f1a;
    color: #fff;
    border-left: 4px solid #dd4e0a;
}

/* ============================
   FOOTER
   ============================ */

footer {
    background: #2a200f;
    color: #fff;
    padding: 50px 0;
    margin-top: auto; /* doplněno: footer se přilepí úplně dolů */
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-left img {
    height: 55px;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color .25s ease;
}

.footer-menu a:hover {
    color: #dd4e0a;
}

.footer-right .tvorba a {
    color: #dd4e0a;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-right .tvorba a:hover {
    color: #c44508;
}

/* ============================
   GALERIE / REFERENCE
   ============================ */

.reference-page {
    padding-top: 80px;
}

.gallery-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 80px;
    color: #2a200f;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.gallery-filters button {
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    background: #2a200f;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: .25s ease;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gallery-filters button.active,
.gallery-filters button:hover {
    background: #dd4e0a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    opacity: 1;
    transition: opacity .35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item.hidden {
    opacity: 0;
    pointer-events: none;
}

.gallery-item.hidden img {
    opacity: 0;
    transform: scale(0.95);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}