/* ZMIENNE CSS: Łatwa zmiana kolorystyki w jednym miejscu */
:root {
    --primary: #0a2540;      /* Głęboki granat - buduje zaufanie */
    --secondary: #00d4ff;    /* Jasny błękit - nowoczesność i technologia */
    --accent: #635bff;       /* Fiolet - akcent innowacji */
    --text-dark: #1a1f36;    /* Czytelna czerń dla tekstów */
    --text-light: #4f566b;   /* Szarość dla opisów pomocniczych */
    --white: #ffffff;
    --bg-light: #f7fafc;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET I PODSTAWOWE STYLE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* NAWIGACJA */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px); /* Efekt rozmycia tła - nowoczesny macOS style */
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Przełącznik języków */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* HERO SECTION */
header {
    padding: 12rem 2rem 8rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
}

.hero-content { max-width: 900px; margin: 0 auto; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--primary); margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 3rem; max-width: 700px; margin-inline: auto; }

/* PRZYCISKI */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Bardziej zaokrąglone - przyjazny design */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2); }

.btn-secondary { background: var(--secondary); color: var(--primary); padding: 0.75rem 1.5rem; font-size: 0.9rem; }
.btn-secondary:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2); }


/* SEKCJE */
section { padding: 8rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

/* KARTY USŁUG */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Bardziej elastyczne kolumny */
    gap: 2.5rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #edf2f7;
    transition: var(--transition);
    display: flex; /* Użyj flexbox dla lepszego wyrównania */
    flex-direction: column;
    align-items: flex-start; /* Wyrównaj elementy do lewej */
    text-align: left;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.service-card p { margin-bottom: 1.5rem; flex-grow: 1; /* Rozciągnij opis, aby przyciski były na dole */ }
.service-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem; /* Większe ikony */
    color: var(--accent);
}

/* KONTAKT */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    background: var(--primary);
    padding: 4rem;
    border-radius: 30px;
    color: var(--white);
}

.contact-section {
    max-width: 100%;
    background: #fcfcfc;
}

.contact-subtitle {
    margin: 1.5rem 0;
    opacity: 0.8;
}

.btn-contact-submit {
    background: var(--secondary);
    color: var(--primary);
}

.form-group { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; opacity: 0.9; }
.form-group input, .form-group textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: inherit;
}

.form-group input:focus { outline: 2px solid var(--secondary); background: rgba(255,255,255,0.1); }

/* STOPKA */
footer { padding: 4rem 2rem; border-top: 1px solid #edf2f7; text-align: center; color: var(--text-light); font-size: 0.9rem; }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    z-index: 2000;
    border: 1px solid #eee;
}

/* RESPONSYWNOŚĆ DLA MOBILE */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; padding: 2rem; }
    .nav-links { display: none; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; } /* Jedna kolumna na małych ekranach */
}

/* OKNO MODALNE (POP-UP) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* Domyślnie ukryte */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}
.modal-content h2 { margin-bottom: 1.5rem; color: var(--primary); }
.modal-content p { margin-bottom: 1rem; }