
/* Original App Theme Setup */
body {
    background-color: #F3F7FA; /* Light blue tint from original app */
    color: #0E3B76; /* Main Navy Blue */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #FFFFFF; /* White background for navbar */
    border-bottom: 1px solid #E2E8F0;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #0E3B76;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #0E3B76;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar nav ul li a:hover, .navbar nav ul li a.active {
    color: #0B2D5A;
    border-bottom: 2px solid #F37021; /* Orange accent */
}

.dashboard-link {
    color: #F37021 !important; /* Orange accent for Admin */
}

/* Page Content */
.content {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    color: #0E3B76;
}
/* Styl dla listy wymagań */
.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie kolumny */
    gap: 15px;
    margin-top: 20px;
}

.req-item {
    background: #FFFFFF;
    padding: 15px;
    border-left: 4px solid #F37021; /* Pomarańczowy akcent */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.home-hero { text-align: center; padding-top: 50px; }
.home-hero h1 { font-size: 4rem; color: #0E3B76; }
.social-grid { display: flex; gap: 20px; }
.social-card { padding: 20px; background: #FFF; border-radius: 10px; text-decoration: none; color: #0E3B76; font-weight: bold; }
.fleet-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    width: 300px;
    /* Płynne powiększenie całej karty */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Zapewnia, że zdjęcie nie wyjdzie poza zaokrąglone rogi karty */
}

.fleet-card:hover {
    transform: scale(1.05); /* Delikatne powiększenie całej karty */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.fleet-card img {
    width: 100%;
    height: 150px; /* Wysokość początkowa */
    object-fit: cover;
    border-radius: 8px;
    /* Płynna animacja zdjęcia */
    transition: height 0.4s ease, object-fit 0.4s ease;
}

/* EFEKT PO NAJECHANIU */
.fleet-card:hover img {
    height: 250px; /* Zdjęcie wydłuża się, przykrywając napisy */
    object-fit: contain; /* Zmienia się w pełny obrazek */
}
.home-hero {
    text-align: center;
    padding-top: 100px; /* Odstęp od góry */
}

.home-hero h1 {
    font-size: 4em; /* Bardzo duży napis */
    color: #1a3a5f; /* Ciemnogranatowy kolor NOORD */
    margin-bottom: 10px;
}

.home-hero p {
    font-size: 1.2em;
    color: #2b70b5; /* Niebieski kolor */
}
#fleet-container {
    display: flex;        /* Włącza układ elastyczny */
    flex-direction: row;  /* Ustawia karty w rzędzie (poziomo) */
    flex-wrap: wrap;      /* Pozwala kartom przejść do nowej linii, jeśli zabraknie miejsca */
    gap: 20px;            /* Odstęp między kartami */
    padding: 20px;
    justify-content: flex-start; /* Ustawia karty od lewej strony */
}

.fleet-card {
    /* Upewnij się, że karty mają stałą szerokość */
    width: 300px; 
    flex-shrink: 0; /* Zapobiega ściskaniu kart */
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.social-header {
    margin-bottom: 30px;
}

.social-header h1 {
    color: #1a3a5f;
    margin-bottom: 5px;
}

.social-header p {
    color: #666;
    font-size: 1.1em;
}

.social-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #1a3a5f;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background-color: #f8fbff;
}
.modal {
    display: none; /* Ukryte domyślnie */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 30px;
    width: 320px;
    margin: 15% auto;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: sans-serif;
}

.modal-content input {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-content button {
    background: #1a3a5f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 90%;
}
.admin-panel {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    max-width: 600px;
}

.admin-panel input[type="file"] {
    margin-bottom: 15px;
    display: block;
}

.admin-panel button {
    background-color: #1a3a5f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
