.bg{
    position: absolute;
    filter: blur(2px);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

main{
    padding-top: 90px;
    min-height: calc(100vh - 90px);
}

.content{
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
   
}

#upload-files{
    display: none;
}


.logo_big{
    grid-area: logo;
}

.info_block{
    max-width: 500px;
    justify-self: start;
    grid-area: text;

}
.button_next{
    align-self: end;
    justify-self: end;
    padding-right: 2vw;
    grid-area: button;
    -webkit-text-fill-color: white;
}


.logo_big img{
    margin-top: 5vh;
    width: auto;
    height: 20vh; 
}

.file-upload-wrapper {
    width: 100%;
}

.file-upload-area {
    border: 2px dashed #cfcfcf;
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload-area:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.file-upload-area.dragover {
    border-color: #4f46e5;
    background: #ede9fe;
    transform: scale(1.01);
}

.upload-icon {
    font-size: 42px;
}

.upload-text strong {
    display: block;
    font-size: 16px;
    color: #222;
}

.upload-text span {
    color: #777;
    font-size: 14px;
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    background: #f3f4f6;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-name {
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80%;
}

.file-size {
    color: #666;
    font-size: 13px;
}



@media (max-width:950px) {
    
   .logo_big img{
    height: 150px;
   }
    
}

@media (max-width:390px) {
    .logo_big img{
        height: 110px;
    }
}


#p{
    margin: 0;
    font-size: 25px;
    color: whitesmoke; 
    background-color: rgba(58, 57, 57,0.8);
    border-radius: 10px;
    margin-inline: 1vw;
    margin-bottom: 30px;
    padding: 15px;
    transition: font-size 0.2s ease;
}

.button_next button{
    cursor: pointer;

    height: 70px;
    background-color: rgba(226, 168, 59, 0.9);
    border: 0;
    border-radius: 20px;
    font-size: 23px;
    font-weight: bold;
    transform-origin: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.button_next button:hover{
    color: rgb(0, 0, 0);
    font-size: 24px;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


@media (max-width:480px) {
    .button_next button{
        height: 60px;
        font-size: 20px;
    }

    .button_next button:hover{
        font-size: 22px;
    }
}

@media (max-width:435px) {
     .button_next button{
        height: 50px;
        font-size: 17px;
    }

    .button_next button:hover{
        font-size: 19px;
    }
}
#short_company{
  
    width: 100%;
    height: 1000px;
    background-color: #95a7c5;
    margin-bottom: -5px;
}


main form {
    display: flex;
    width: 50%;
    margin-inline: auto;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

main form input {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;    
}

main form label {
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: 350;
    margin-bottom: 5px;
    align-self: flex-start;
}

main form label span {
   
    color: red;
    font-weight: bold;
    font-size: 10px;
}
 :root {
     --primary: #2A5F4F;
     --secondary: #d4d4d4;
     --dark: #1e1e1e9f;
     --light: #FFFFFF;
 }
 
 
 

 
 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }
 
 
 

 
 
 .hero {
     height: 80vh;
     display: flex;
     align-items: center;
     background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://example.com/bath-hero.jpg') center/cover;
     color: var(--light);
     text-align: center;
 }
 .style{
    font-family: 'Montserrat', sans-serif;
    font-size: 38px; 
    font-weight: 500; 
    color: #191919;
    text-align: center; 
    line-height: 1.4; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    margin-bottom: 0;
    padding-bottom: 20px;
}
 .hero-content {
     max-width: 800px;
     margin: 0 auto;
 }
 
 .hero-title {
     font-size: 48px;
     font-weight: 700;
     margin-bottom: 20px;
 }
 
 .hero-subtitle {
     font-size: 24px;
     margin-bottom: 30px;
     color:#f8f8f8;
     background-color: #1e1e1e95;
     padding: 15px;
     border-radius: 20px;
 }
 
 .btn {
     display: inline-block;
     padding: 20px 30px;
     border-radius: 50px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s;
     cursor: pointer;
     border: none;
 }
 
 .btn-primary {
     background-color: var(--primary);
     color: var(--light);
 }
 
 .btn-primary:hover {
     background-color: #f6a842;
     
 }
 
 .btn-secondary {
     background-color: transparent;
     color: var(--light);
     border: 2px solid var(--light);
     margin-left: 15px;
 }
 
 .btn-secondary:hover {
     background-color: rgb(11, 0, 0);
 }
 
 .section {
     padding: 50px 0;
 }
.fotos{
    width: 100%;
    height: 400px;
   
}
 
 .about {
     background-color: var(--secondary);
 }
 
 .about-content {
     display: flex;
     align-content: center;
     gap: 50px;
 }
 
 .about-text {
     flex: 1;
 }
 
 .about-image {
     flex: 1;
     height: 400px;
     background-color: #ddd;
     border-radius: 8px;
 }
 .com{
   width: 100%;
   height: 500px; 
 }
 
 
 
 


 .gallery {
     background-color: var(--secondary);
 }
 
 .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 20px;
    justify-content: center;
 }
 
 .gallery-item {
    width: 300px;
    height: 400px;
    background-color: #bbb;
    border-radius: 8px;
 }

 .gallery-item img{
    max-height: 390px;
 }
 
 @media (max-width: 750px) {
     .hero-title {
         font-size: 36px;
     }
     
     .about-content {
         flex-direction: column;
     }
     
     
 }
 
 @media (max-width: 670px) {
     .nav-links {
         display: none;
     }
     
   
     
     .btn-secondary {
         margin-left: 0;
         margin-top: 15px;
     }
 }



.catalog_container{
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  justify-content: center;
  gap: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.project-card {
  cursor:default;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  padding: 20px;
  width: auto; 
  
  background-color: #ffffff3f;

  transition: all 0.3s  ease;
}


@media (max-width:358px){
  .project-card{
    max-width: 85%;
    margin-left: 25px;
  }
}

.project-card ul{
    width: 100%;
    padding: 0;
}
.project-card p{
    margin: 0;
    margin-left: 10px;
}

.project-card span{
    font-weight: bold;
}

.project-card li{

 list-style: none;
 display: flex;
 justify-content: left;

}


.project-card:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.56);
}

.price {
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}
.btn-details {
  background: #eb8454c3;
  color: rgb(255, 255, 255);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.foto{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}


.forma{
    margin: 0;
}


.btn-details:hover{
  background-color: rgba(255, 166, 0, 0.767);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.56);
}



/* Слайдер для карточек */


.product_slider{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius:8px;
}

.slide{
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.slide.active{
  opacity: 1;
  position: relative;
}

.slider-prev, .slider-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color:rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  font-size: 18px;
}

.slider-prev{
  left: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slider-next{
  right: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product_slider:hover{
  .slider-prev, .slider-next{
      opacity: 1;
  }
}

/*Конец каталога*/

@media (max-width:500px) {
    #p{
        font-size: 20px;
    }
    .hero-subtitle{
        font-size: 20px;
    }

    main p{
        font-size: 20px;
    }

    .style{
        font-size: 28px;
    }
}

@media (max-width:380px) {
    #p{
        font-size: 20px;
    }
    .hero-subtitle{
        font-size: 20px;
    }

    main p{
        font-size: 20px;
    }

    .style{
        font-size: 24px;
    }
}
