:root {
    --primary-blue: #003781;
    --light-blue: #007ab3;
    --accent: #e5f2fa;
    --text-dark: #333333;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: #f4f7f9;
}

/* --- NAWIGACJA --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo img {
    height: 100px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--light-blue);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- SEKCJA GŁÓWNA --- */
.hero {
    height: 70vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
}

.cta-btn {
    padding: 18px 45px;
    font-size: 1.2rem;
    background-color: var(--light-blue);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background-color: #005a88;
    transform: translateY(-4px);
}

/* --- KAFELKI OFERT --- */
.offers {
    padding: 100px 5%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.offers h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.offer-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 5px solid var(--light-blue);
}

.offer-card i {
    font-size: 3.5rem;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.offer-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- FORMULARZ I ROZPISKA (TŁO ZDJĘCIOWE) --- */
.contact-section {
    background-color: #ffffff;
    padding: 60px 5% 100px;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.breakdown-panel {
    flex: 1;
    min-width: 350px;
    background: var(--primary-blue);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.breakdown-content {
    position: relative;
    z-index: 2;
}

.top-icon {
    font-size: 3rem;
    color: #4db8ff;
    margin-bottom: 20px;
    display: block;
}

.breakdown-content h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.breakdown-content ul {
    list-style: none;
}

.breakdown-content li {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.breakdown-content li i {
    color: #4db8ff;
    margin-right: 15px;
    font-size: 1.3rem;
}

.form-panel {
    flex: 1;
    min-width: 350px;
    background: var(--accent);
    border-radius: 20px;
    padding: 50px;
}

.form-panel h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1.05rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--light-blue);
}

button[type="submit"] {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

/* --- NOWA SEKCJA WSPÓŁPRACY NA DOLE --- */
.cooperation {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 100px 5%;
}

.coop-container {
    display: flex;
    gap: 60px; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.coop-profile {
    flex: 0 0 400px; 
}

.coop-profile img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.coop-content {
    flex: 1;
}

.coop-content h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.coop-content h4 {
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
}

.coop-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.coop-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.coop-text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.coop-btn {
    margin-top: 20px;
    background-color: #ffffff;
    color: var(--primary-blue);
}

.coop-btn:hover {
    background-color: var(--light-blue);
    color: #ffffff;
}

/* Stopka */
footer {
    background-color: var(--text-dark);
    color: #ffffff;
    padding: 60px 5% 30px;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.contact-info p i {
    margin-right: 12px;
    color: var(--light-blue);
}

/* Animacja rozpiski */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- RESPONSYWNOŚĆ --- */

@media (max-width: 1150px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 968px) {
    nav { 
        flex-direction: column; 
        gap: 20px; 
        padding-bottom: 20px; 
    }
    
    .nav-links { 
        position: relative;
        left: auto;
        transform: none;
        gap: 15px; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .coop-container { 
        flex-direction: column; 
        text-align: center;
    }
    
    .coop-profile { 
        flex: none; 
        width: 100%; 
        max-width: 500px; 
    }

    .contact-container { flex-direction: column; }
    .breakdown-panel, .form-panel { padding: 40px 20px; }
}

@media (max-width: 600px) {
    .offer-grid {
        grid-template-columns: 1fr; 
    }
    .hero-content h1 { font-size: 2rem; }
}