@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fcfbfa;
    background-image: url('sprites/Gora.png'), url('sprites/GoraChaynik.png'); 
    background-position: left bottom, right bottom;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-size: 500px auto, 500px auto; 

    padding: 30px; 
    max-width: 1440px;
    margin: 0 auto; 
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/*шапкa*/
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; 
    width: 100%;
    flex-wrap: wrap; 
    gap: 20px;
}


.logo-link {
    display: inline-block;
    max-width: 160px; 
    text-decoration: none;
}


.Header {
    background-color: #8ba08c; 
    padding: 15px 40px;
    border-radius: 25px; 
    text-decoration: none;

}

.Header ul {
    display: flex;
    list-style: none;
    gap: 30px; 
    align-items: center;
    text-decoration: none;

}

.Header button {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700; 
    color: #2f1101;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.Header a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2f1101;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-block;
}

.Header a:hover {
    opacity: 0.8;
}

.Header button:hover {
    opacity: 0.7;
}
/*шапкa*/

/*lang*/
.change-lang {
    display: flex;
    flex-direction: column; 
    align-items: flex-end;
    gap: 5px;
    background-color: #8ba08c;
    padding: 10px 20px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400; 
    color: #2f1101;
    cursor: pointer;
    text-transform: uppercase;
    transition: font-weight 0.2s;
}

.lang-btn.active {
    font-weight: 700;
}
/*lang*/

/*margin*/
.site-section {
    padding: 60px 40px;      
    margin-bottom: 80px;     
    background-color:#eff7ee83;
    border-radius: 20px;     
    text-align: center;
}

.site-section:last-of-type {
    margin-bottom: 0;
}

.social-links{
    text-decoration: none;
    color: #8BA08C;
    font-weight: 700;
    transition: color 0.3s ease;
}

.social-links:hover {
    color: #2f1101;

}

.site-section h2 {
    font-size: 52px;
    color: #2f1101;
    margin-bottom: 30px;
    text-align: center;
}

.site-section h3 {
    font-size: 30px;
    color: #2f1101;
    margin-bottom: 30px;
    text-align: center;
}


.site-section p {
    font-size: 25px;
    color: #2f1101;
    margin-bottom: 20px;
    text-align: center;
}

.highlight-text {
    font-weight: 700;
    color: #8ba08c; 
    margin-top: auto; 
}
.teas-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    max-width: 800px; 
    margin: 0 auto; 
}
@media (max-width: 1200px) {
    body {
        padding: 0 15px; 
        background-image: url('sprites/GoraChaynik.png');
        background-position: right bottom;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: 380px auto;
    }
}

/*телефон*/
@media (max-width: 768px) {
    body {
        padding: 0 15px; 
    }

    .main-header {
        flex-direction: column; 
        text-align: center;
        gap: 25px;
    }

    .logo-link {
        max-width: 120px; 
    }

    .Header {
        width: 100%; 
        padding: 20px 15px;
        border-radius: 15px; 
    }

    .Header ul {
        flex-direction: column; 
        gap: 20px; 
    }
    
    .Header button {
        font-size: 15px; 
        width: 100%; 
    }

    .change-lang {
        flex-direction: row; 
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-top: 5px;
    }
}


.logo-link {
    display: inline-block;
    max-width: 160px; 
    text-decoration: none;
    position: relative; 
    padding-bottom: 30px; 
}


.logo-socials-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    gap: 12px; 
    z-index: 10;
}

.sub-icon {
    display: block;
    width: 20px; 
    height: 20px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sub-icon:hover {
    transform: scale(1.15); 
    opacity: 0.8;
}

.sub-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.teas-container h2 {
    font-size: 28px;
    color: #2f1101;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(139, 160, 140, 0.3);
    padding-bottom: 8px;
}

.tea-card {
    display: flex;
    align-items: center;       
    justify-content: space-between;
    gap: 50px;                 
    margin-bottom: 40px;      
    padding: 20px;
    background-color: #fcfbfa; 
    border-radius: 16px;
    border: 1px solid rgba(139, 160, 140, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 27, 16, 0.05);
}


.tea-content {
    flex: 1 1 60%;             
}

.tea-content h3 {
    font-size: 22px;
    color: #2f1101;
    margin-bottom: 12px;
    font-weight: 700;
}

.tea-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #2f1101;
}


.tea-image {
    flex: 1 1 40%;             
    max-width: 320px;                
    overflow: hidden;
    border-radius: 12px;
    display: flex;
}

.tea-image img {
    width: 100%;
    height: auto;
    object-fit: contain;         
    transition: transform 0.5s ease;
}

.tea-card:hover .tea-image img {
    transform: scale(1.05);
}

.tea-card:nth-child(even) {
    flex-direction: row-reverse;
}



@media (max-width: 768px) {
    .tea-card,
    .tea-card:nth-child(even) {
        flex-direction: column; 
        gap: 20px;
        padding: 15px;
    }

    .tea-content, 
    .tea-image {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .tea-image {
        order: -1;             
        aspect-ratio: 16 / 9;  
    }
}

/* From Uiverse.io by vinodjangid07 */ 
.buttonbotom {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #8ba08c;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px #8ba08c;
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.buttonbotom:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: #2b1b10;
  align-items: center;
}   

.buttonbotom:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.buttonbotom::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  /* transition-duration: .3s; */
  font-size: 0px;
}

.buttonbotom:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}

