/*
Theme Name: fancy theme
Author: Ja
Description: Moj pierwszy themesik
Version: 1.0
*/

body {
    font-family: 'montserrat', sans-serif;
}

body h2 {
    font-size: 48px;
    text-transform: uppercase;
    margin: 0px;
}

body p {
    font-size: 18px;
    line-height: 26px;
    margin: 0px;
}
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px; 
}


.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: -6px 29px 18px -36px rgba(64, 68, 90, 1);
}

.logo h1 {
    margin: 0;
}

.main-nav {
    display: flex;
}

.menu-list {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.menu-list li {
    list-style: none;
    color: black;
}
.menu-list li a {
    position: relative;
    padding-bottom: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.menu-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #DBB763;
    transition: width 0.3s ease;
}

.menu-list li a:hover::after {
    width: 100%;
}

.menu-list .current-menu-item a::after {
    width: 100%;
}


.menu-button {
    background: #ffffff00;
    padding: 10px 40px;
    border: 1px solid #DBB763;
    border-radius: 30px;
    color: #DBB763;
}

.menu-button:hover {
    filter: brightness(1.2);
}
.menu-button p {
    margin: 0;
}



.mySwiper {
    width: 100%;
    height: 400px;
    margin-bottom: 50px;
}

.mySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 920px;
  display: flex;
  align-items: center;
  margin-left: -10px;
  margin-right: -10px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.623);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; 
  text-align: center;
  width: 100%;
  color: #fff;
}

.about {
  padding: 80px 0;
  display: flex;
}

.about .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}


.about-content {
  flex: 0 0 48%;

}


.about-img {
  flex: 0 0 48%;

}

.about-img img {
  border-radius: 20px;
  background-size: contain;
  max-width: 700px;
}


.about-list {
  display: flex;
  gap: 10px;
  
}

.about-desc {
display: flex;
flex-direction: row;
gap: 40px;

}
.about-point {
  padding-left: 15px;
  border-left: 1px solid #DBB763;
}

.about-sections {
  flex: 0 0 30%;
  background: linear-gradient(5deg, rgba(120,103,66,1) 0%, rgba(219,183,99,1) 52%, rgba(120,103,66,1) 100%);
  padding: 20px;
  border-radius: 30px;
  color: #fff;
}

.why-us {
    position: relative;
  background-size: cover;
  background-position: center;
  min-height: 920px;
  display: flex;
  align-items: center;
  margin-left: -10px;
  margin-right: -10px;

}

.why-us::before {
content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.89);
  z-index: 1;
}

.why-us-content {
position: relative;
z-index: 2;
padding-bottom: 50px;
}
.why-us-content h2 {
color: #DBB763;
text-align: center;
}

.why-us-content p {
    color: #fff;
    text-align: center;
}

.why-us-cards {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    color: #fff;
    gap: 20px;


}


.cards {
      flex: 0 0 20%;
    position: relative;
    z-index: 5;
    background: #000000ee;
    padding: 30px;
    border-radius: 20px; 
    z-index: 1;
}

.cards::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px; /* grubość obrysu */
    border-radius: inherit;
    background: linear-gradient(45deg, #DBB763, #8a6f2d);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
}

.cards img {
    width: 50px;
}

.news-content {
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.news-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

}

.post-card {
    display: flex;
    flex-direction: column;
    width: 380px;
    background: #fff;
    overflow: hidden;
}

.post-card-image img {
    width: 380px;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    display: block;
}


.post-card-content {
  display: flex;
  flex-direction:column;
  gap: 10px;
    color:#000;
    text-decoration: none;
    align-items: flex-start
}

.post-card-title a {
    color:#000000;
    text-decoration: none;
}

.post-card-button {
  border: 1px solid #DBB763;
  color: #DBB763;
  border-radius: 15px;
  padding: 5px 20px;
  text-decoration: none;
}

.post-card-button a {
  color: #DBB763;
  text-decoration: none;
}