
body{
    font-family: Montserrat, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #005fcc;
}
header{
    background-color:#EAEAEA;
    text-align: center;
    align-items: center;
    gap: 20px;
    display: flex;
    justify-content: center;
}
nav{
 text-align: right  ;
    display: flex;
    align-items: center;
    justify-content: space-between; /* UL po lewej, IMG po prawej */
    padding: 0 20px
}
nav ul{
    align-items: center;
    display: flex;
    gap: 18px;
    padding: 0;
    list-style:  none;
    }
       nav img {
    height: 200px;
    width: auto;
    object-fit: contain;  
    margin-left: 50px
}
    a:hover{
        color: #005fcc;
    }
    a{
        text-decoration: none;
        color: #FF8C00;
    }
    main{
        font-size: large;
        text-align: center;
        border: 2px solid black;    
        border-radius: 20px;
        margin-left: 650px;
        margin-right: 650px;
        padding: 20px;
        flex: 1;
        background-color:#EAEAEA;
        box-shadow: #FF8C00 5px 5px 15px  ;
    }
    footer{
    background-color:#EAEAEA;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}
.social-buttons {
    position: fixed;      /* przyklejone do lewej strony */
    top: 50%;             /* wyśrodkowane pionowo */
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-buttons .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s;
    background-color: #FF8C00;
}



.social-buttons .btn:hover {
    transform: translateX(10px); /* przesunięcie w prawo po hover */
}
.btn img{
    max-width: 100%;   /* dopasowanie obrazka do przycisku */
    max-height: 100%;
}
.btn:hover {
    background-color: #005fcc;
}
#map {
      height: 400px;
      width: 100%;
      border-radius: 10px;
    }
     .route-btn {
      display: inline-block;
      padding: 10px 16px;
      background: #007bff;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      margin: 10px;
       box-shadow: #FF8C00 5px 5px 15px  ;
    }

    .route-btn:hover {
      background: #0056b3;
      color: #FF8C00;
    }

/* Responsywność stosowana tylko dla ekranów węższych niż 1400px */
@media (max-width: 1400px) {
    header{
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    nav{ width: 100%; padding: 10px; }
    nav ul{ flex-wrap: wrap; gap: 10px; justify-content: center; }
    nav img{ height: 140px; margin-left: 0; margin: 10px 0; }
    main{ max-width: 1000px; margin: 20px auto; padding: 20px; width: calc(100% - 40px); }
    .social-buttons{ top: auto; bottom: 10px; left: 10px; transform: none; flex-direction: row; }
    .social-buttons .btn{ width: 44px; height: 44px; border-radius: 8px; }
    #map{ height: 300px; }
    .route-btn{ padding: 8px 12px; }
    form{ max-width: 760px; margin: 0 auto; text-align: left; }
    form label{ display: block; margin-bottom: 6px; font-weight: 600; }
    input[type="text"], input[type="email"], textarea{ width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #ccc; box-sizing: border-box; margin-bottom: 12px; font-size: 16px; }
    input[type="submit"], input[type="reset"]{ padding: 10px 14px; border-radius: 6px; border: none; background: #FF8C00; color: #fff; font-weight: 700; cursor: pointer; }
}

@media (max-width: 1024px) {
    nav img{ height: 120px; }
    main{ max-width: 760px; }
}

@media (max-width: 768px) {
    header{ flex-direction: column; align-items: center; }
    nav{ width: 100%; padding: 10px; }
    nav ul{ flex-wrap: wrap; gap: 10px; justify-content: center; }
    nav img{ height: 100px; margin: 10px 0; }
    .social-buttons{ top: auto; bottom: 10px; left: 10px; transform: none; flex-direction: row; }
    .social-buttons .btn{ width: 44px; height: 44px; border-radius: 8px; }
    .route-btn{ padding: 8px 12px; }
    main{ margin: 12px; width: calc(100% - 24px); }
}

@media (max-width: 480px) {
    nav ul{ gap: 8px; font-size: 14px; }
    nav img{ height: 80px; }
    #map{ height: 200px; }
    main{ padding: 12px; border-radius: 12px; }
}