:root {
    --primary: #E31E24;
    --primary-dark: #b8181d;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Ambient Glow (Subtle Red Pulse) */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.03) 0%, rgba(227, 30, 36, 0) 70%);
    z-index: -1;
    animation: pulse-glow 8s infinite alternate;
}

@keyframes pulse-glow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

/* Header & Navigation (White Style) */
section {
    position: relative;
    overflow: hidden;
}

.bg-wheel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rolling-wheel {
    position: absolute;
    top: 50%;
    left: -300px;
    width: 350px;
    height: 350px;
    opacity: 0.05;
    transform: translateY(-50%);
    filter: grayscale(1);
    transition: transform 0.1s linear, left 0.1s linear;
    z-index: 2;
}

.wheel-trail {
    position: absolute;
    top: 50%;
    left: 0;
    height: 120px;
    width: 0;
    background-image: url('assets/tire_track.png');
    background-size: contain;
    background-repeat: repeat-x;
    opacity: 0.03;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.static-track {
    position: absolute;
    width: 100%;
    height: 100px;
    background-image: url('assets/tire_track.png');
    background-size: contain;
    background-repeat: repeat-x;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.track-diag { transform: rotate(-5deg); top: 20%; }
.track-bottom { bottom: 0; }

header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.logo-tire { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    background: #f0f0f0;
    padding: 3px;
    border-radius: 30px;
}

.lang-btn {
    background: none;
    border: none;
    color: #888;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 800;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(227, 30, 36, 0.2); }

.btn-xl {
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.btn-danger { background: var(--primary); color: white; }
.btn-outline {
    background: white;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}
.btn-outline:hover { background: var(--text-dark); color: white; }

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.95) 100%);
}

.hero-container { position: relative; z-index: 10; }

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

.hero p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--glass-border);
}

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

.icon-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.custom-icon {
    width: 80px;
    height: 80px;
    background-size: 160px 160px;
}

.icon-van { background-image: url('assets/icons1.png'); background-position: 0 0; }
.icon-repair { background-image: url('assets/icons1.png'); background-position: -80px 0; }
.icon-swap { background-image: url('assets/icons1.png'); background-position: 0 -80px; }
.icon-balance { background-image: url('assets/icons1.png'); background-position: -80px -80px; }
.icon-help { background-image: url('assets/icons2.png'); background-position: 0 0; }
.icon-pressure { background-image: url('assets/icons2.png'); background-position: -80px 0; }

/* About Section (DLACZEGO GOTIRE?) - REFIXED */
.about {
    padding: 100px 0;
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.features-list li i {
    color: var(--primary);
    font-size: 1.4rem;
    background: #fff5f5;
    padding: 10px;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Process Section */
.process {
    padding: 100px 0;
    background: white;
}

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

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-num {
    width: 60px;
    height: 60px;
    background: #fff5f5;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 2px solid rgba(227, 30, 36, 0.1);
}

.step h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item.active { border-color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 25px;
}

/* Footer (White Style) */
footer {
    background: white;
    padding: 100px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info p {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.footer-contact p i { color: var(--primary); }

.footer-contact a {
    color: var(--text-dark);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: #999;
}

/* Mobile FAB and Rotation */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    z-index: 1100;
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.4);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.floating-call-btn.hidden {
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.btn-wheel {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.floating-call-btn.pulse::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    background: var(--primary);
    z-index: -1;
    animation: ring-pulse 2s infinite;
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile Adaptation (Full) */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero h1 { font-size: 5rem; }
}

@media (max-width: 1200px) {
    .container { max-width: 960px; }
}

@media (max-width: 992px) {
    .container { max-width: 720px; }
    .mobile-menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 40px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { display: flex; }
    
    .about-container { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

@media (max-width: 768px) {
    .container { max-width: 540px; }
    .header-actions .btn-header { display: none; }
    .hero { text-align: center; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-xl { width: 100%; }
    
    .floating-call-btn span { display: none; }
    .floating-call-btn {
        width: 80px;
        height: 80px;
        padding: 0;
        justify-content: center;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-wheel {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .container { max-width: 100%; }
    .section-header h2 { font-size: 1.8rem; }
    .service-card { padding: 30px 15px; }
}
