/* ZMIENNE - COP TRANSPORT (GŁĘBOKI GRANAT & BURSZTYNOWO-ŻÓŁTY LOGISTYCZNY) */
:root {
    --primary-color: #f59e0b;   /* Żywy bursztynowo-żółty z logo */
    --primary-hover: #d97706;   /* Głębsze złoto (hover / tekst na jasnym tle) */
    --primary-dark: #b45309;    /* Mocny kontrast dla etykiet na jasnym tle */
    --steel-color: #64748b;     /* Stalowy / Betonowy */
    --navy-brand: #0f172a;      /* Głęboki granat logo COP */
    --dark-color: #1e293b;      /* Ciemny grafit spójny z COP Serwis */
    --light-color: #f8fafc;     /* Jasne tło sekcji */
    --white: #ffffff;
    --text-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

section, footer {
    scroll-margin-top: 85px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h1, h2 { text-transform: uppercase; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.text-primary { color: var(--primary-color); }

/* BUTTONS — spójne, solidne krawędzie jak w COP Serwis */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--navy-brand);
    border: 2px solid var(--primary-color);
    box-shadow: 4px 4px 0px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(15, 23, 42, 0.25);
}

.btn-transparent {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-transparent:hover {
    background-color: var(--white);
    color: var(--navy-brand);
}

/* Cień tekstu z hero nie może działać na przyciski (dawał zamazany, czarny napis) */
.hero-buttons .btn { text-shadow: none; }

.btn-outline-dark {
    background-color: var(--white);
    color: var(--navy-brand);
    border: 2px solid var(--navy-brand);
    box-shadow: 4px 4px 0px rgba(15, 23, 42, 0.12);
}

.btn-outline-dark:hover {
    background-color: var(--navy-brand);
    color: var(--primary-color);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(15, 23, 42, 0.12);
}

/* NAVBAR + SYGNET I TYPOGRAFIA COP. TRANSPORT */
.navbar {
    background-color: var(--white);
    color: var(--dark-color);
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 70px;
}

.logo-mark {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-brand-text {
    display: inline-flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.nav-brand-cop {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--navy-brand);
    line-height: 0.9;
}

.brand-dot {
    display: inline-block;
    width: 0.24em;
    height: 0.24em;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 0.08em;
    flex-shrink: 0;
}

.nav-brand-sub {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--primary-hover);
    margin-top: 3px;
}

.nav-brand-tagline {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #334155;
    margin-top: 3px;
}

.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 28px; }

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    color: var(--dark-color);
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary-hover); }

.btn-nav {
    background-color: var(--navy-brand);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    box-shadow: none;
}
.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--navy-brand) !important;
}

/* HERO SECTION */
.hero {
    min-height: 580px;
    padding: 80px 0;
    background: url('images/tlo.jpg') no-repeat center center/cover;
    background-color: var(--navy-brand);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Zrównoważony gradient — dobrze widać tlo.jpg przy pełnej czytelności napisu po lewej */
    background: linear-gradient(95deg, rgba(15, 23, 42, 0.80) 0%, rgba(15, 23, 42, 0.52) 52%, rgba(15, 23, 42, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 780px;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.85);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(245, 158, 11, 0.16);
    border: 1px solid var(--primary-color);
    color: #fde68a;
    padding: 6px 16px;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* TYPOGRAFICZNY NAPIS NA TLE HERO (ODWZOROWANIE UKŁADU Z DODATEK.JPG) */
.hero-brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
    line-height: 1;
}

.hero-brand-lockup .brand-cop {
    display: inline-flex;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3.8rem, 8.2vw, 6rem);
    line-height: 0.88;
    letter-spacing: -2.5px;
    color: var(--white);
}

.hero-brand-lockup .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.85rem, 4vw, 2.95rem);
    line-height: 1.05;
    letter-spacing: 0.09em;
    color: var(--primary-color);
    margin-top: 8px;
}

.hero-brand-lockup .brand-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.82rem, 1.55vw, 1.15rem);
    line-height: 1.2;
    letter-spacing: 0.13em;
    color: #e2e8f0;
    margin-top: 10px;
}

.hero p {
    font-size: 1.18rem;
    margin-bottom: 38px;
    color: #e2e8f0;
    max-width: 680px;
}

/* Nagłówek hero i akapity w nowym układzie */
.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 18px;
    max-width: 680px;
}

.hero p.hero-lead { margin-bottom: 14px; }

/* SERVICES (OFERTA) */
.services {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #64748b;
}

.services .section-title { margin-bottom: 60px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 45px 30px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--steel-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid var(--primary-color);
    background: var(--white);
}

.icon-box {
    font-size: 3.2rem;
    color: var(--steel-color);
    margin-bottom: 20px;
    transition: 0.3s;
}

.highlight-card { background: linear-gradient(180deg, #f8fafc 0%, #fffbeb 100%); }
.highlight-card:hover { border-bottom: 4px solid var(--primary-color); }
.highlight-icon { color: var(--primary-hover); }

.service-card:hover .icon-box { color: var(--primary-hover); }

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    color: var(--dark-color);
}
.service-card p { font-size: 1rem; color: #475569; }

/* REALIZACJE PRZED I PO */
.before-after {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(245, 158, 11, 0.14);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

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

.ba-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.ba-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background-color: var(--steel-color);
}

.ba-arrow-divider {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--navy-brand);
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
    border: 3px solid var(--white);
    pointer-events: none;
}

.ba-img-box {
    position: relative; height: 280px; overflow: hidden; cursor: pointer;
    background-color: #e2e8f0;
}
.ba-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; display: block; }
.ba-img-box:hover img { transform: scale(1.05); }

.ba-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}
.ba-img-box:hover .ba-zoom-hint { opacity: 1; }

.ba-badge {
    position: absolute; top: 15px; padding: 6px 14px;
    font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 800;
    border-radius: 2px; text-transform: uppercase; z-index: 2;
}

.badge-before { left: 15px; background-color: var(--navy-brand); color: var(--white); }
.badge-after { right: 15px; background-color: var(--primary-color); color: var(--navy-brand); }

.ba-card-Footer {
    padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ba-card-title { font-size: 1.08rem; color: var(--dark-color); margin: 0; text-transform: none; }
.ba-verified {
    font-size: 0.8rem; font-weight: 700; color: var(--primary-dark);
    background-color: #fffbeb; padding: 6px 14px; border-radius: 2px; border: 1px solid #fde68a;
    white-space: nowrap;
}

.ba-more-wrap { text-align: center; margin-top: 45px; }

/* BANER CTA */
.ba-cta-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--navy-brand) 0%, #334155 100%);
    color: var(--white);
    padding: 45px 50px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 8px 8px 0px rgba(245, 158, 11, 0.24);
}

.ba-cta-text h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--white); }
.ba-cta-text p { font-size: 1rem; color: #cbd5e1; margin: 0; max-width: 650px; }
.ba-cta-action { flex-shrink: 0; }

/* LIGHTBOX MODAL */
.photo-modal {
    display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95);
    z-index: 2000; justify-content: center; align-items: center; flex-direction: column;
}
.photo-modal.open { display: flex; }
.photo-modal img { max-width: 90vw; max-height: 80vh; border-radius: 4px; border: 3px solid #334155; }
.modal-caption { margin-top: 20px; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; text-align: center; padding: 0 20px; }
.modal-close { position: fixed; top: 20px; right: 30px; background: transparent; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer; }
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1);
    color: var(--white); border: none; font-size: 1.8rem; width: 60px; height: 60px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.modal-nav:hover { background: var(--primary-color); color: var(--navy-brand); }
.modal-prev { left: 40px; } .modal-next { right: 40px; }

/* CENNIK (DWUKOLOROWE NAGŁÓWKI JAK W COP SERWIS: BURSZTYN + GRANAT) */
.pricing {
    padding: 100px 0;
    background-color: var(--white);
}

.pricing .section-title {
    margin-bottom: 55px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.pricing-card:not(.border-steel) {
    border-bottom: 6px solid var(--primary-color);
}

.pricing-card.border-steel {
    border-bottom: 6px solid var(--steel-color);
}

.pricing-header {
    padding: 40px 30px;
    text-align: center;
}

.gold-header {
    background-color: var(--primary-color);
    color: var(--navy-brand);
}
.gold-header h3 { color: var(--navy-brand); }
.gold-header .pricing-sub { color: rgba(15, 23, 42, 0.82); }

.dark-header {
    background-color: var(--navy-brand);
    color: var(--white);
    border-bottom: 6px solid var(--steel-color);
}
.dark-header i { color: var(--primary-color); }
.dark-header h3 { color: var(--white); }
.dark-header .pricing-sub { color: rgba(255, 255, 255, 0.82); }

.pricing-header i {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: block;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin: 0;
}

.pricing-sub {
    font-size: 1rem;
    margin-top: 10px;
}

.pricing-list {
    padding: 30px;
    flex-grow: 1;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #cbd5e1;
    font-size: 1.03rem;
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list li strong {
    color: var(--dark-color);
    font-weight: 700;
    text-align: right;
    min-width: 145px;
    flex-shrink: 0;
}

.pricing-list li small {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.pricing-mini-card {
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-left: 6px solid var(--primary-color);
    margin-bottom: 35px;
}

.pricing-mini-header {
    background-color: var(--navy-brand);
    color: var(--white);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.pricing-mini-header i {
    font-size: 2.4rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pricing-mini-header h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 6px;
}

.pricing-mini-header p {
    font-size: 0.96rem;
    color: #cbd5e1;
    margin: 0;
}

.pricing-disclaimer {
    background-color: var(--light-color);
    padding: 25px 30px;
    border-radius: 4px;
    border-left: 5px solid var(--primary-color);
}
.pricing-disclaimer p { font-size: 0.95rem; color: #64748b; margin: 0; font-style: italic; }
.pricing-disclaimer p + p { margin-top: 10px; }

/* Przyciski kontaktu w stopce (WhatsApp) */
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}
.footer-social a:hover { opacity: 0.9; }
.footer-social .btn-whatsapp { background: #25d366; }
.footer-social .btn-facebook { background: #1877f2; }

/* FOOTER */
.footer { background-color: var(--dark-color); color: var(--white); padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-section h3 { font-size: 1.4rem; margin-bottom: 25px; border-bottom: 4px solid var(--primary-color); display: inline-block; padding-bottom: 8px; }
.phone-number { display: block; font-size: 1.8rem; font-weight: bold; color: var(--primary-color); margin: 20px 0 10px; }

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e2e8f0;
    transition: color 0.25s;
}
.footer-email i { color: var(--primary-color); }
.footer-email:hover { color: var(--primary-color); }

.olx-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--navy-brand);
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-top: 14px;
    transition: 0.3s;
}
.olx-btn:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}
.olx-btn strong {
    font-size: 1.2rem;
    margin-right: 10px;
}

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; }

/* COOKIE BANNER */
.cookie-banner {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--navy-brand); color: #fff;
    padding: 15px 25px; z-index: 9999; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
.cookie-banner p { margin: 0; flex: 1; min-width: 250px; }
.btn-cookie {
    background-color: var(--primary-color); color: var(--navy-brand); border: none;
    padding: 10px 24px; border-radius: 4px; cursor: pointer; font-weight: 800; font-family: 'Montserrat', sans-serif;
}
.btn-cookie:hover { background-color: var(--primary-hover); color: var(--white); }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
/* Baner cookies: oba przyciski czytelne i tej samej wielkości */
.cookie-banner { border-top: 3px solid var(--primary-color); }
.cookie-buttons .btn-cookie { min-width: 150px; text-align: center; }
.btn-cookie-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-cookie-secondary:hover {
    background-color: var(--white);
    color: var(--navy-brand);
}

/* RESPONSIVE */
.menu-toggle { display: none; }

@media (max-width: 900px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
}

@media (max-width: 768px) {
    .navbar { height: 80px; }
    .logo-mark { height: 44px; }
    .nav-brand-cop { font-size: 1.45rem; }
    .nav-brand-sub { font-size: 0.74rem; }
    .nav-brand-tagline { font-size: 0.48rem; }
    .menu-toggle { display: block; cursor: pointer; }
    .bar { display: block; width: 25px; height: 3px; background-color: var(--dark-color); margin: 5px auto; transition: 0.3s; }
    .nav-links {
        position: fixed; left: -100%; top: 80px; flex-direction: column;
        background-color: var(--white); width: 100%; text-align: center;
        padding-bottom: 30px; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px 0; }
    .hero { min-height: 500px; padding: 60px 0; }
    .hero p { font-size: 1.05rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn-transparent { margin-left: 0; }
    .section-title { font-size: 1.9rem; }
    .ba-img-box { height: 210px; }
    .ba-card-Footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-mini-header { flex-direction: column; text-align: center; gap: 15px; }
    .pricing-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .pricing-list li strong { margin-top: 4px; text-align: left; }
    .modal-nav { width: 45px; height: 45px; font-size: 1.3rem; }
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
}