/*
Theme Name: Jobinger Custom Theme
Theme URI: https://jobinger.de
Author: Twój Projekt
Description: Szybki, responsywny motyw dla Jobinger stworzony bez wtyczek.
Version: 1.1
*/

/* --- RESET I STYLE GLOBALNE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- MENU NAGŁÓWKA --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    padding-bottom: 5px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #1d70b8;
    border-bottom: 2px solid #f39c12;
}

/* --- SEKCJA HERO (HOME) --- */
.hero-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.hero-section h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 16px;
    color: #4a90e2;
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-weight: 500;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    text-align: left;
}

.intro-text h2 {
    color: #4a90e2;
    font-size: 26px;
    margin-bottom: 15px;
}

.intro-text p {
    margin-bottom: 15px;
    color: #555555;
}

.reference-note {
    margin-top: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #4a90e2;
}

/* --- SEKCJA ÜBER UNS --- */
.about-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 28px;
    color: #0b2545;
    margin-bottom: 30px;
    font-weight: 700;
}

.intro-p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.about-benefits {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.about-benefits h3 {
    margin-bottom: 20px;
    color: #f39c12;
}

.about-benefits ul {
    list-style: none;
}

.about-benefits ul li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
}

.checkmark {
    color: #f39c12;
    font-weight: bold;
    margin-right: 15px;
}

.projects-carousel {
    margin-top: 50px;
}

.projects-carousel h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0b2545;
}

/* --- SYSTEM-WIDE SLIDER STYLES (DLA OBU SLIDERÓW) --- */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 10px 40px 0px rgba(0,0,0,0.3);
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: #1d70b8;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* --- SEKCJA: ANGEBOT --- */
.angebot-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 20px;
    color: #4a90e2;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

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

.card-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.bullet-check {
    color: #4a90e2;
    margin-right: 10px;
    font-weight: bold;
}

/* --- STATYSTYKI --- */
.stats-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #4a90e2;
}

.stat-label {
    font-size: 14px;
    color: #555555;
    font-weight: 600;
    margin-top: 5px;
}

/* --- SEKCJA: KONTAKT --- */
.kontakt-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.kontakt-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.name-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #1d70b8;
}

.btn-submit {
    background-color: #1d70b8;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #155a96;
}

.kontakt-info-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.info-content h2 {
    font-size: 16px;
    color: #1d70b8;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.partner-name {
    font-size: 32px;
    color: #0b2545;
    margin-bottom: 5px;
    font-weight: 800;
}

.partner-title {
    color: #555555;
    margin-bottom: 30px;
    font-size: 14px;
}

.contact-details p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-details a {
    color: #1d70b8;
    text-decoration: none;
}

/* --- STOPKA --- */
.main-footer {
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    border-bottom: 1px solid #1b263b;
    padding-bottom: 40px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #4a90e2;
}

.footer-center-info h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #4a90e2;
}

.footer-center-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-center-info a {
    color: #ffffff;
    text-decoration: none;
}

.footer-logo img {
    max-height: 60px;
    float: right;
}

.footer-bottom {
    padding-top: 20px;
    font-size: 12px;
    color: #888888;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul li {
        margin: 0 10px;
    }

    .intro-grid,
    .cards-grid,
    .kontakt-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo img {
        float: none;
        display: block;
        margin: 0 auto;
    }

    .stats-flex {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- STYLE KOMUNIKATÓW FORMULARZA --- */
.form-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.form-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}