/*
Theme Name: WSE Suspension Theme
Theme URI: https://adscode.pl
Author: ADSCode.pl
Author URI: https://adscode.pl
Description: Profesjonalny motyw wizytówkowy dla serwisu motocyklowego. Zoptymalizowany pod kątem SEO, Core Web Vitals i UI/UX.
Version: 1.2.0
Text Domain: wse-adscode
*/

:root {
    --color-bg: #050505;
    --color-bg-alt: #111111;
    --color-text: #f0f0f0;
    --color-accent-orange: #ff6600;
    --color-accent-red: #cc0000;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-accent-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-red);
}

/* Typography */
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 4px solid var(--color-accent-red);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Header */
.site-header {
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid var(--color-accent-red);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo tekstowe i graficzne ADSCode.pl */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--color-accent-red);
}

.custom-logo-img {
    max-height: 50px;
    width: auto;
    vertical-align: middle;
    transition: var(--transition);
}

.custom-logo-img:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--color-accent-red);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    margin-top: 20px;
    border: 2px solid var(--color-accent-red);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--color-accent-red);
}

/* Hero Section with Video Logic by ADSCode.pl */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-bg-alt); /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(5,5,5,0.7), rgba(17,17,17,0.95)); /* Płynne przejście */
    z-index: 1;
}

.video-background-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2; /* Nad wideo i overlayem */
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

/* About Section (New) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #bbb;
}

.about-text strong {
    color: var(--color-accent-orange);
}

.feature-list {
    list-style: none;
    background: var(--color-bg-alt);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent-red);
}

.feature-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-list li span {
    color: var(--color-accent-orange);
    margin-right: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-bg);
    padding: 40px 30px;
    border-top: 4px solid var(--color-accent-orange);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-accent-red);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.15);
}

/* Gallery Section (New) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Contact */
.contact-section {
    background: var(--color-bg-alt);
    text-align: center;
    border-top: 1px solid #222;
}

.contact-info {
    font-size: 1.3rem;
    margin: 30px 0;
    color: #ccc;
}

.contact-phone {
    font-size: 3rem;
    color: var(--color-accent-orange);
    font-weight: 800;
    display: block;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.2);
}

.contact-phone:hover {
    color: var(--color-accent-red);
    transform: scale(1.05);
}

/* Footer (Adjusted) */
.site-footer {
    background: #000;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .contact-phone { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .custom-logo-img { max-height: 40px; } /* Mniejsze logo na mobile */
}