/* GŁÓWNE KONFIGURACJE WIZUALNE */
:root {
    --tomal-navy: #1B2E4B;     /* Ciemny granat tła hero z makiety */
    --tomal-yellow: #FFE500;   /* Żółty kolor akcentów i przycisków */
    --tomal-dark: #111827;     /* Głęboka czerń tekstu */
    --white: #FFFFFF;
    --gray-bg: #F8FAFC;
    --text-muted: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--tomal-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

/* TOP BAR */
.top-bar {
    background-color: #0E1E38;
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid var(--tomal-yellow);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact span {
    margin-right: 25px;
}

/* HEADER & LOGO */
header {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px; /* Odstęp między logo a tekstem */
    text-decoration: none;
    color: var(--tomal-dark);
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: var(--tomal-dark);
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--tomal-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--tomal-navy);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--tomal-dark);
    border-radius: 2px;
}

/* HERO SECTION */
.hero {
    background-color: var(--tomal-navy);
    color: var(--white);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-text h2 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h2 span {
    color: var(--tomal-yellow);
}

.hero-text p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 620px;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-yellow {
    background-color: var(--tomal-yellow);
    color: var(--tomal-dark);
}

.btn-yellow:hover {
    background-color: #ebd200;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--tomal-navy);
    transform: translateY(-2px);
}

/* ABSTRAKCYJNE KSZTAŁTY W HERO ZASTĄPIONE DUŻYM LOGO */
.hero-gfx {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-big-logo {
    max-width: 100%;
    width: 500px; /* Ustawia optymalną wielkość dużego logo */
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); /* Lekki cień, by logo odcinało się od tła (opcjonalne) */
}

/* SEKCJA OFERTY (NAGŁÓWEK) */
.services {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #0E1E38;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--tomal-yellow);
}

/* SIATKA KAFELKÓW */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(27, 46, 75, 0.12);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 20px;
    color: #0E1E38;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 44px;
}

.service-list {
    list-style: none;
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-list li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--tomal-navy);
    font-weight: bold;
}

/* ŻÓŁTY PRZYCISK KROKU / STRZAŁKI */
.card-arrow-btn {
    width: 36px;
    height: 36px;
    background-color: var(--tomal-yellow);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--tomal-dark);
    font-weight: 700;
    font-size: 15px;
    transition: background-color 0.2s;
}

.card-arrow-btn:hover {
    background-color: #ebd200;
}

/* SEKCJA O NAS */
.about {
    background-color: var(--gray-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.about-text h2 {
    font-size: 34px;
    color: var(--tomal-navy);
    margin-bottom: 20px;
}

.about-text p {
    color: #4B5563;
    margin-bottom: 15px;
}

/* STOPKA */
footer {
    background-color: #0A1322;
    color: #94A3B8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.6fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-col img {
    height: 65px;
    margin-bottom: 15px;
}

.footer-logo-col p {
    font-size: 14px;
}

.footer-grid h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-info-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 10px;
}

.footer-links-col a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
}

.footer-links-col a:hover {
    color: var(--tomal-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* RWD - RESPONSYWNOŚĆ */
@media (max-width: 992px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-gfx { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-toggle { display: flex; }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 95px;
        left: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; gap: 15px; text-align: center; }
}