/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff; /* białe tło */
    color: #333333;
    line-height: 1.6;
}

/* 1. GÓRNY PASEK Z HOLDING */
.top-holding-bar {
    background-color: #f8f9fa; /* Bardzo jasny szary dla odróżnienia paska */
    border-bottom: 1px solid #eeeeee;
    padding: 5px 0;
}

.holding-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* Wyrównanie logo holdingu do prawej */
    padding: 0 20px;
}

.logo-owner {
    height: 80px; /* Mniejsze logo */
    width: auto;
    object-fit: contain;
}

/* 2. GŁÓWNY HEADER TRAKT */
.main-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Środkowanie elementów w pionie/poziomie */
    gap: 15px;
    padding: 0 20px;
}

.logo-main {
    height: 90px; /* Logo TRAKT */
    width: auto;
    object-fit: contain;
}

/* NAWIGACJA */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #555555;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.main-nav a:hover {
	color: #228B22; /* zielony kolor przy najechaniu na przycisk */
    border-bottom: 2px solid #228B22;
}
 
.main-nav a.active {
    color: #dc3545; /* czerwony link */
    border-bottom: 2px solid #dc3545;
}

/* baner video */
.hero-compact {
    position: relative;
    width: 100%;
    height: 220px; 
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(70deg, rgba(0, 0, 0, 0.75) 30%, rgba(34, 139, 34, 0.3) 100%); 
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #ffffff;
    z-index: 2;
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 15px;
    color: #dddddd;
    max-width: 600px;
}

/* Główny kontener*/
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    color: #222222;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #eeeeee;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background-color: #228B22;
}

.info-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.info-col {
    flex: 1;
    min-width: 300px;
}

.info-col h3 {
    font-size: 18px;
    color: #111111;
    margin-bottom: 15px;
}

.info-col p {
    margin-bottom: 10px;
    color: #555555;
    font-size: 15px;
}

.info-col strong {
    color: #222222;
}

.disclaimer {
    color: #888888;
}

.panel-wladze {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid #dc3545; 
}

.management-team p {
    padding: 6px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.management-team p:last-child {
    border-bottom: none;
}

.position {
    color: #666666;
    font-style: italic;
}

/* stopka */
.main-footer {
    background-color: #f1f1f1;
    color: #666666;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.main-footer strong {
    color: #444444;
}

/* Przetargi */
.przetarg-item {
    background: var(--light-color);
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.przetarg-item[open] {
    border-left: 4px solid var(--primary-color);
}

summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    background-color: #fff;
    outline: none;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.przetarg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.przetarg-title {
    color: var(--dark-color);
    font-size: 16px;
}

.przetarg-date {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: normal;
}

.przetarg-content {
    padding: 20px;
    background: var(--light-color);
    border-top: 1px solid #eee;
    font-size: 15px;
}

.przetarg-content p {
    margin-bottom: 10px;
}

/* responsywność  */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    .info-block {
        flex-direction: column;
        gap: 30px;
    }
}
