/*
Theme Name: Livre Logistics Theme
Author: Gemini
Description: Motyw stworzony na podstawie projektu HTML Livre Logistics
Version: 1.0
*/

/* --- NOWOCZESNE ZMIENNE CSS --- */
:root {
    --c-bg: #18181b;
    --c-surface: #27272a;
    --c-surface-hover: #3f3f46;
    --c-text-main: #f4f4f5;
    --c-text-sec: #a1a1aa;
    --c-accent: #DDC28D;
    --c-line: rgba(255, 255, 255, 0.1);
    --f-head: 'Syne', sans-serif;
    --f-body: 'Inter', sans-serif;
    --gap: 24px;
    --pad: clamp(20px, 5vw, 80px);
}

/* --- RESET & BODY --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--c-bg);
    color: var(--c-text-main);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- UŻYTECZNE KLASY --- */
.txt-gold { color: var(--c-accent); }
.txt-dim { color: var(--c-text-sec); }
.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }

/* --- TYPOGRAFIA --- */
h1, h2, h3, h4, h5 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; color: #fff; }
h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.03em; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 40px; }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px var(--pad);
    z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(24, 24, 27, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-line);
}
.logo { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.05em; }
nav ul { display: flex; gap: 40px; margin: 0; }
nav a { font-size: 0.9rem; font-weight: 500; color: var(--c-text-sec); }
nav a:hover { color: #fff; }

.btn-cta {
    padding: 10px 24px;
    border: 1px solid var(--c-line);
    border-radius: 4px;
    color: var(--c-text-main);
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.03);
    display: inline-block;
}
.btn-cta:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(221, 194, 141, 0.05);
}

/* --- SEKCJE I GRID --- */
.hero {
    min-height: 90vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--pad) 40px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(221, 194, 141, 0.08) 0%, transparent 60%);
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 550px; color: var(--c-text-sec); font-weight: 300; }

.section { padding: 100px var(--pad); border-top: 1px solid var(--c-line); }
.grid-container { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* --- SERVICES --- */
.service-card {
    background: var(--c-surface);
    padding: 40px;
    border-radius: 8px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 320px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.03);
}
.service-card:hover { background: var(--c-surface-hover); transform: translateY(-5px); }
.service-card h3 { font-size: 1.8rem; margin-bottom: 15px; margin-top: 20px;}
.service-card .icon { font-size: 1.2rem; color: var(--c-accent); border: 1px solid rgba(255,255,255,0.1); width: fit-content; padding: 5px 12px; border-radius: 50px; }
.service-card p { font-size: 1rem; color: var(--c-text-sec); }

/* --- LOKALIZACJE --- */
.locations-list { display: grid; grid-template-columns: 1fr; }
.location-row { display: grid; grid-template-columns: 2fr 3fr; padding: 30px 0; border-bottom: 1px solid var(--c-line); transition: 0.3s; }
.location-row:last-child { border-bottom: none; }
.hq-badge { background: var(--c-accent); color: #000; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 10px; vertical-align: middle; }

/* --- FORMY --- */
.form-box {
    background: var(--c-surface);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--c-line);
    max-width: 800px;
    margin: 0 auto;
}
.form-group { margin-bottom: 25px; }
label { display: block; margin-bottom: 10px; color: #fff; font-size: 0.9rem; font-weight: 500; }
input, textarea, select {
    width: 100%; padding: 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--c-line);
    color: #fff; border-radius: 4px;
    font-family: var(--f-body); font-size: 1rem;
    transition: 0.3s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--c-accent); background: rgba(0,0,0,0.4); }
.btn-submit {
    width: 100%; padding: 15px;
    background-color: var(--c-accent); color: #000;
    font-weight: 700; border: none;
    cursor: pointer; text-transform: uppercase;
    font-family: var(--f-head); transition: 0.3s;
}
.btn-submit:hover { background-color: #fff; }

/* --- FOOTER --- */
footer { padding: 80px var(--pad) 40px; background-color: #131316; border-top: 1px solid var(--c-line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-logo { font-family: var(--f-head); font-size: 2rem; margin-bottom: 20px; display: block; }
.footer-col h5 { color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--c-text-sec); font-size: 0.95rem; }
.footer-col a:hover { color: var(--c-accent); }
.data-block { margin-top: 20px; padding: 20px; background: rgba(255,255,255,0.03); border-radius: 8px; font-size: 0.9rem; color: var(--c-text-sec); }

/* --- MOBILE --- */
@media (max-width: 1024px) {
    .col-4, .col-6, .col-8 { grid-column: span 12; }
    nav { display: none; } /* Tutaj w pełnym WP trzeba by dodać skrypt hamburger menu */
    .location-row { grid-template-columns: 1fr; gap: 10px; }
    h1 { font-size: 3.5rem; }
}

/* --- TABELE --- */
.table-wrapper { overflow-x: auto; margin-top: 40px; border-radius: 8px; border: 1px solid var(--c-line); }
table { width: 100%; border-collapse: collapse; min-width: 800px; text-align: left; }
th, td { padding: 20px; border-bottom: 1px solid var(--c-line); }
th { background-color: var(--c-surface); color: #fff; font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.05em; }
th.th-premium { color: var(--c-accent); border-bottom: 3px solid var(--c-accent); }
th.th-standard { color: #d63384; border-bottom: 3px solid #d63384; }
th.th-basic { color: #20c997; border-bottom: 3px solid #20c997; }
td { vertical-align: top; color: var(--c-text-sec); background-color: rgba(255,255,255,0.01); }
.check { color: var(--c-accent); font-weight: bold; font-size: 1.2rem; }
.cross { color: #555; font-size: 1.2rem; }
.note { display: block; font-size: 0.8rem; margin-top: 8px; color: #777; }