/* Reset i ogólne */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4 url('images/mapa-geodezyjna.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
}

/* Nagłówek */
header {
    text-align: center;
    padding: 50px 20px;
}

header img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

header h1, 
header h2 {
    color: #000;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 10px auto;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

/* Sekcje treści */
section {
    padding: 20px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px; /* ograniczenie szerokości na dużych monitorach */
}

/* Obrazy i mapy */
img, iframe {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Sekcja dronowa */
.drone-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.drone-section > div {
    flex: 1;
    min-width: 280px;
}

.drone-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Kontakt */
.contact-info {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Stopka */
footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    margin-top: 30px;
}

/* Linki */
a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 📱 Telefony i tablety */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6em;
    }
    header h2 {
        font-size: 1.2em;
    }
    section {
        margin: 10px;
        padding: 15px;
    }
    .drone-section {
        flex-direction: column;
    }
}

/* 📱 Małe smartfony */
@media (max-width: 480px) {
    header {
        padding: 30px 10px;
    }
    header img {
        max-width: 150px;
    }
}

/* 🖥️ Duże monitory (np. ultrawide 34") */
@media (min-width: 1600px) {
    section {
        max-width: 1400px;
    }
    body {
        font-size: 1.1rem;
    }
}
