/*
Theme Name: PS Serwis Core
Theme URI: https://ps-serwis.com
Author: Antigravity AI
Description: Dedykowany, super szybki motyw dla serwisu maszyn Kärcher i Kränzle z modułem wypożyczalni.
Version: 1.0.0
Text Domain: psserwis
*/

:root {
    --primary: #FFD700;      /* Ciepłe Serwisowe Złoto (Z litery S) */
    --primary-glow: #eab308; /* Cień złotego */
    --secondary: #111111;    /* Głęboka czerń z koła zębatego lancy */
    --karcher-dark: #000000;
    --text-main: #374151;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;     
    --bg-white: #ffffff;
    --accent-water: #00E5FF; /* Błękit Myjki Ciśnieniowej ze strumienia z prawej! */
}

/* Reset and Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.3s;
}

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

/* Header Navbar */
.site-header {
    background: var(--secondary);
    color: var(--bg-white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,229,255,0.05); /* Lekka wodna poświata menu */
}

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

.logo a {
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--bg-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    color: var(--secondary) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 800 !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #00E5FF 0%, #00BFFF 100%); /* Strumień Wody Karcher! */
    color: var(--secondary) !important;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.95)), url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    color: var(--primary);
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e5e7eb;
}

/* Intro Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
}
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-water) 100%); /* gradient ze zlotego z S do blekitu wody! */
    margin: 15px auto 0;
    border-radius: 4px;
}

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

/* Services */
.service-box {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-box h3 {
    margin: 20px 0 15px;
    font-size: 22px;
}

/* Machines Grid (Rentals) */
.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.machine-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}

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

.machine-img {
    height: 240px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Important for equipment! */
    background: white;
}

.machine-content {
    padding: 25px;
}

.machine-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.machine-specs {
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}
.spec-row strong {
    color: var(--secondary);
}

.machine-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    text-align: right;
    margin-bottom: 20px;
}
.machine-price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-muted);
}

.btn-full {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--secondary);
    font-weight: 800;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
}
.btn-full:hover {
    background: var(--secondary);
    color: var(--bg-white);
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

/* Single Machine */
.single-machine-header {
    background: var(--secondary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.single-machine-header h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.single-machine-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}
.single-img img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .single-machine-content { grid-template-columns: 1fr; }
}
