@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500&display=swap');

html{
scroll-behavior:smooth;
}

body{
margin:0;
background:#f5f6f8;
font-family:'Inter', sans-serif;
color:#1a1a1a;
letter-spacing:0.2px;
}

.container{
display:flex;
}

/* NAV */

.nav{
width:260px;
height:100vh;
background:#0f1c2e;
color:white;
position:sticky;
top:0;
}

.logo {
padding:40px;
font-family:'Playfair Display', serif;
font-size:22px;
border-bottom:1px solid rgba(255,255,255,0.1);
line-height: 10px;
}
.Radcy{
margin-top: 15px;
}

.name {
  margin-top: 50px;
}

.box{
border-bottom:1px solid rgba(255,255,255,0.1);
}

.box a{
display:block;
padding:25px 40px;
text-decoration:none;
color:white;
transition:0.3s;
}

.box a:hover{
background:#1c2f4a;
}

.nav-link.active{
background:#1c2f4a;
border-left:4px solid #c5a46d;
}

/* CONTENT */

.content{
flex:1;
background:white;
}

.section{
min-height:100vh;
padding:80px 80px;
border-bottom:1px solid #e6e6e6;
max-width: 1200px;
margin: 0 auto;
}

/* HEADINGS */

h1{
font-family:'Playfair Display', serif;
font-size:40px;
color:#0f1c2e;
margin-bottom:25px;
letter-spacing:0.5px;
}

h1::after{
content:"";
display:block;
width:60px;
height:3px;
background:#c5a46d;
margin-top:12px;
}

/* TEXT */

p{
line-height:1.8;
font-size:17px;
max-width:850px;
}

/* KONTAKT */

.kontakt-grid{
display:flex;
gap:30px;
margin-top:40px;
flex-wrap:wrap;
}

.kontakt-box{
background:white;
border:1px solid #e5e5e5;
padding:30px;
flex:1;
min-width:200px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
border-radius: 8px;
}

.kontakt-box h3{
margin-top:0;
font-family:'Playfair Display', serif;
color:#0f1c2e;
}

.mapa{
margin-top:40px;
border-radius:6px;
overflow:hidden;
}

/* ANIMACJA */

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

h3{
font-family:'Playfair Display', serif;
color:#0f1c2e;
margin-top:40px;
margin-bottom:10px;
font-size:22px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .container {
    flex-direction: column;
  }

  /* NAV NA GÓRZE */
  .nav {
    width: 100%;
    height: auto;
    position: relative;
  }

  .logo {
    padding: 20px;
    text-align: center;
  }

  .name {
    margin-top: 20px;
  }

  /* MENU POZIOME */
  .box {
    display: flex;
    border-bottom: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .box a {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 14px;
  }

  /* TREŚĆ */
  .content {
    width: 100%;
  }

  .section {
    padding: 40px 20px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 15px;
  }

  /* KONTAKT */
  .kontakt-grid {
    flex-direction: column;
    gap: 20px;
  }

}

/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
}

/* MOBILE */

@media (max-width: 768px) {

  .container {
    flex-direction: column;
  }

  .nav {
    width: 100%;
    height: auto;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  /* UKRYTE MENU */
  .box {
    display: none;
    flex-direction: column;
  }

  /* POKAZANE MENU */
  .nav.active .box {
    display: flex;
  }

  .box a {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .logo {
    text-align: center;
    padding: 20px;
  }

  .section {
    padding: 40px 20px;
    margin: 0 auto;
  }

  h1 {
    font-size: 28px;
  }

}