@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/roboto/roboto-thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/roboto/roboto-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/roboto/roboto-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


html, body{
    height:100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
.responsive-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:1em;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 2em;
}
.baner{
    grid-area: niga;
    overflow: hidden;
    position:relative;
    background-color: rgba(0, 0, 0, 0.99);
    width:100%;
    height:calc(100vh - 40px);
    
}
.textabs{
    grid-area: cover1;
    display:inline-block;
    height:fit-content;
    position:absolute;
    text-align:center;
    top: 50%;
    transform: translateY(-50%);
    left:50%;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 25px;
    max-width: 1000px;
    width:100%;
    margin:0 auto;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 2rem 0;
    background: rgba(8, 5, 30, 0.75);
    color: white;
}
.banery{ /* img */
    width:100%;
    height:100%;
    transition: opacity 2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    
    opacity:0.5;
}
.item{
    height:auto;
    width: 100%;
    background-color: var(--primary-color);
}


.footer{
grid-area: footer;
display: grid;
grid-template-areas: 
    "center1 aside_1 aside_2 aside_4";
background: linear-gradient(
    135deg,
    #0F172A,
    #1E293B
  );
color: white;
padding: 60px 20px;
border-top: 3px solid rgba(255,255,255,0.1);
grid-template-rows: 1fr;
grid-template-columns: 20% 1fr 1fr 1fr;


}
.aside_footer_1{
    grid-area: aside_1;
    display:grid;
    grid-template-columns: 1fr;
    gap: 3px;
    margin-left:15px;
}
.aside_footer_1 a{
    display:grid;
    grid-template-columns: auto 1fr;
    gap:8px;
    text-decoration: none;
    color:#9CA3AF;
    justify-self: start;
    align-items: center;  
}
.aside_footer_1 a{
    fill:#9CA3AF;
    transition: 0.3s;
}
.aside_footer_1 a svg{
    all: unset;
    width: 1em;
    height: 1em;
}
.aside_footer_1 div{
    color: #1E293B;
    visibility: hidden;
}
.aside_footer_2{
    grid-area: aside_2;
    display:grid;
    grid-template-columns: 1fr;
    gap: 3px;
}
.aside_footer_2 a{
    display:grid;
    grid-template-columns: 1fr;
    gap:8px;
    text-decoration: none;
    color: #9CA3AF;
    margin-left: 15px;
    transition: 0.3s;
    justify-self: start;
    align-items: center;  
}

.aside_footer_4{
    padding:3px;
    grid-area: aside_4;
    column-gap: 0.6em;
    display:grid;
    grid-template-columns: 1fr 1fr;
    justify-self: start;
    
}
.aside_footer_4 div {
    visibility: hidden;
}
.aside_footer_4 svg{
  width: 32px;
  height: 32px;
  fill: #9CA3AF;
  transition: 0.3s;
}
.center1{
    grid-area: center1;
}
 .aside_footer_1 a:hover {
  fill: white;
  color:white;
}
.aside_footer_2 a:hover {
  color: white;
}
.aside_footer_4 svg:hover {
  fill:#fff;
}
.center2{
    grid-area: center2;
}
.right{
    grid-area: right;
    max-width: 1100px;
    margin:0 auto;
    display: grid;
    grid-template-rows: auto 1fr;
}
.left{
    grid-area: left;
    background-color: darkgreen;
}
.menu-toggle {
  position: fixed;
  top: 7.5px;
  left: 10px;
  z-index: 1001;
  display:none;
  fill:  #9CA3AF;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(0, 0%, 0%);
}
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* hidden */
  width: 250px;
  height: 100%;
  background: rgba(8, 5, 30, 0.75);
  padding-top: 50px;
  transition: left 0.3s ease;
  z-index: 1000;
}
.links2 {
  list-style: none;
  padding: 0;
}
.links2 li {
  margin: 20px 0;
}
.links2 a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  display: block;
}
.sidebar.active {
  left: 0;
}

.navbar h4{
    height:100%;
}
nav{
    height:100%;
}
.navbar{
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    height:100%; 
}
.links{
    position:absolute;
    display:flex;
    align-items:center;
    justify-content: center;
    height:37.75px;
    z-index: 10;
    top:0;
    right:7.5%;
}
.links li a:hover{
    color:white;
    border-bottom:1px solid white;
}
.links{
    list-style: none;
    padding: 0;
    margin: 0;
    
}
.links li{
    width:65px;
    height:19px;
    color: #9CA3AF;
}
.links li a{
    color: #9CA3AF; 
    font-size: 1em;
    text-decoration: none;
    font-weight: 400;
    padding-bottom:1px;
    border-bottom:1px solid #9CA3AF;
}
header{
    grid-area: header;
    border-bottom: 3px solid rgba(255,255,255,0.03);
    background: linear-gradient(
    135deg,
    #0F172A,
    #1E293B
  );
    
}
nav h4{
    color: #9CA3AF; 
    font-size: 30px;
    font-weight: 400;
}


@media (max-width: 1100px) {
    .footer {
    grid-template-areas: 
    "aside_1 aside_2 aside_4";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .links{
    display:none;
  }
  
  .footer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "aside_1 aside_1"
      "aside_2 aside_4"; 
    padding:30px 20px;
  }
 
}
/*  
.grid-container{
display: grid;
grid-template-areas: 
    "header header"
    "niga niga" 
    "left right"
    "footer footer";
column-gap: 1em;
grid-template-rows: 5vh 95vh 1fr 250px;
grid-template-columns: 200px 1fr;
height:100%;
}
*/
/* MAIN CONTAINER  */
.grid-container{
display: grid;
grid-template-areas:
    "header"
    "container"
    "footer";
column-gap: 1em;
grid-template-rows: 40px 1fr auto;
grid-template-columns: 1fr;
height:100%;
}
.container {
    grid-area: container;
    background-color: #F5F1E8;
    color: #9CA3AF; 
}

/* INDEX */
.main{
    background-color: rgba(0, 0, 0, 0.99);
    display: grid;
    height:calc(100vh - 40px);
    grid-template-rows: calc(100vh - 40px);
    grid-template-columns:1fr;
    grid-area:main;
}
.itemek{
    grid-column:1/2;
    grid-row:1/2;
    height:100%;
    width:100%;
    overflow: hidden;
    transition: opacity 2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    
    opacity:0.5;
}

.piatka{
    grid-row-start:3;
    
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    
    background: rgb(0, 0, 0, 0.45);
   
}
.piatka-svg{
    padding: 10px 20px 5px 20px;
    grid-column: 1/2;
    display:grid;
    justify-items: center;
    row-gap: 1rem;
    background-color:#F5F1E8;
    border-bottom: 1px solid rgba(255,0,0, 0.45);
    border-radius: 12px 12px 0px 0px;
}
.piatka-info{
    display:grid;
    justify-items: center;
    padding:5px 20px 20px 20px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}
.piatka-info h3{
    padding: 0.5rem 0;
}
.h2{
    justify-items: center;
    align-items: center;
    display:grid;
    margin-bottom: 1em;
    grid-column:1/-1;
}
.h2 h2{
    margin:0;
    text-align:center;
    width:auto;
    color: #fff;
    font-weight: 100;
    font-family: 'Roboto';
    -webkit-font-smoothing: antialiased;
    margin-bottom: 0;
    font-size: 80px;
}
.prycisk{
    grid-row-start:4;
    justify-items: center;
    align-items: center;
    margin-top: 1em;
    display:grid;
    grid-column:1/-1;
}
.prycisk a{
  all: unset;
  cursor: pointer;
  padding: 10px 20px;
  background: rgb(0, 0, 0, 0.45);
  color: white;
  border-radius: 8px;

}
.piatka h3 {
  text-align: center;
  margin: 0;
  font-size: 18px;
  color: white;
}

.piatka p {
  text-align: center;
  margin: 0;
  color: whitesmoke;
  font-size: 14px;
}
.responsive{
    
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    grid-template-rows: auto 1fr 1fr auto;
    height:80%;
    grid-column: 1/2;
    grid-row: 1/2;
    max-width: 1000px;
    width:100%;
    justify-self: center;
    align-self: center;
    gap: 1rem;
    z-index: 5;
    
    
}
.index{
    display: grid;
    grid-template-areas:
    "main"
    "left_p"
    "right_p"
    "left_p2";
    grid-template-rows: calc(100vh - 40px) 1fr 1fr;
    grid-template-columns: 1fr;
    row-gap: 3em;
    margin-bottom: 3em;
}
.left_p{
    grid-area: left_p;
}
.left_p2{
    grid-area: left_p2;
}
.left_p, .left_p2{
    
    display: grid;
    grid-template-areas:
    "para pic";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    width:100%;
    height:500px;
    column-gap: 20px;
    
}
.right_p{
    grid-area: right_p;
    display: grid;
    grid-template-areas:
    "pic para";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    width:100%;
    height:500px;
    column-gap: 20px;
    
}
.index span{
    text-align: center;
    width:89%
}
.para span{
    display:grid;
    align-items:end;
    height:auto;
}
.right_p .para{
    display: grid;
    justify-items: start;
}
.left_p .para{
    display: grid;
    justify-items: end;
    box-shadow: -50px 50px 0px rgba(15, 23, 42, 0.2),
              -30px 30px 0px rgba(30, 41, 59, 0.15);
    
}
 .left_p2 .para{
    display: grid;
    justify-items: end;
    box-shadow: -50px -50px 0px rgba(15, 23, 42, 0.2),
              -30px -30px 0px rgba(30, 41, 59, 0.15);
 }
.pic{
    grid-area:pic; 
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    transform: translateX(25px);
   
     
}
.right_p .pic{
    transform: translateX(-25px);
}
.pic img{
    object-fit: cover;
    display:block;
    max-height: 400px;
    height:auto;
    width: 100%;
      border-radius: 15px;   /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}
.para{
    background-color: #fdfaf6;
    text-align:  center;
    grid-area:para;
    border-radius: 5px;
     box-shadow: 50px -50px 0px rgba(15, 23, 42, 0.2),
              30px -30px 0px rgba(30, 41, 59, 0.15);
}
@media (max-width: 618px) {
    .h2 h2{
        font-size:35px;
    }
  
    .responsive{
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    grid-template-rows: auto 1fr 1fr;
    width:90%;
    height:90%;
    
    }
    .piatka{
        grid-row-start:auto;
        grid-column:span 2;
        
        
    }
    .piatka .piatka-svg{
       padding: 2.5px 5px 1.25px 5px;
        
    }
    .piatka .piatka-info{
       padding: 1.25px 5px 5px 5px;
    }
}
/* O NAS */
  .onas{
    grid-template-areas: 
      "niga";
    grid-template-rows: 95vh;
    grid-template-columns: 1fr;
  }
  .onas_sp {
    font-size: 28px;
    font-weight: 700;
    padding: 20px;
    display:block;
    height:fit-content;
    position:absolute;
    text-align:center;
    top: 10%;
    transform: translateY(-10%);
    left:50%;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 25px;
    
    
    margin:0 auto;
    margin-block-start: 0;
    margin-block-end: 0;
    background: rgba(8, 5, 30, 0.75);
    color: white;
  }
  .textabs_sp{
    display:inline-block;
    height:fit-content;
    position:absolute;
    text-align:center;
    top: 25%;
    transform: translateY(-25%);
    left:50%;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 25px;
    max-width: 1000px;
    width:100%;
    margin:0 auto;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 2rem;
    background: rgba(8, 5, 30, 0.75);
    color: white;
}
@media (max-width: 1000px) {
   
    .textabs_sp {
    width: 80%;
    
    }
}
/* Galeria */
 .gallery{
    grid-template-areas: "right";
    grid-template-rows: calc(100vh - 40px);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
 }
 @media (max-width: 913px) {
     .right{
    max-width: 670px;
}
}
 /* Uslugi */
 .uslugi{
    grid-template-areas: 
      "uslugi";
    grid-template-rows: 95vh;
    grid-template-columns: 1fr;
 }
 .grid-section {
  
  margin: 0 auto;
  max-width: 1000px;
  grid-area:uslugi;
  padding: 40px 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
  gap: 24px;
}
.card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card svg {
  margin:0 5px 0 20px;
  width:48px;
  height:48px;
  align-self: center;
}
.card p {
  padding: 16px;
  font-size: 22px;
  font-weight:400;
  line-height: 26px;
  color: #333;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
  /* Kontakt */
 .kontakt{
    grid-template-areas: 
      "main";
    grid-template-rows: 95vh;
    grid-template-columns: 1fr;
 }
 .responsive-kontakt{
    height:80%;
    display:grid;
    grid-column: 1/2;
    grid-row: 1/2;
    max-width: 1000px;
    width:100%;
    justify-self: center;
    align-self: center;
    justify-items: center;
    align-items: center;
    z-index: 5;
 }
 .responsive-kontakt form{
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    max-width: 600px;
    width: 85%;
 }
 .responsive-kontakt form h2{
    margin:0;
    margin-bottom: 20px;
    text-align: center;
    color: #0f172a;
 }
 .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.full-width {
  grid-column: span 2;
}
.form-group label {
  margin-bottom: 6px;
  font-size: 13px;
  color: #4755
  69;
}
.form-group input,
.form-group textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #0284c7; /* plumbing blue */
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #0284c7;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}
.contact-form button:hover {
  background: #0369a1;
}
@media (max-width: 724px) {
   .responsive-kontakt{
    width:90%;
    height:100%;
   }
  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }
}

 /* Paragraph, Span */
 .left_p span, .right_p span, .left_p2 span{
    font-size: 28px;
    font-weight: 700;
    color: #B5853F;
    padding: 20px 20px 0 20px;
    
 } 
 .left_p p, .right_p p, .left_p2 p{
    font-size: 18px; 
    line-height: 1.9;
    color: #5A4532;
    padding: 20px;
    
 }
@media (max-width: 1280px) {
    
     .left_p, .right_p, .left_p2{
    grid-template-areas: 
      "pic"
      "para";
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr;
    row-gap: 3em;
    max-width: 600px;
    height:auto;
    }
    
    .pic img{
        height:auto;
    }
    .para{
        box-shadow: 50px 0px 0px rgba(15, 23, 42, 0.2),
              30px 0px 0px rgba(30, 41, 59, 0.15);
        text-align:center;
    }
    .left_p .para, .left_p2 .para{
        box-shadow: -50px 0px 0px rgba(15, 23, 42, 0.2),
              -30px 0px 0px rgba(30, 41, 59, 0.15);
        text-align:center;
    }
    .pic, .right_p .pic {
        width:90%;
        margin:0 auto;
        transform: none;
    }
}
/*  */