/* 
 * DESIGN SYSTEM – Multiserwis.pro „Solidny Kraków"
 * Color Philosophy:
 *   - Granat ciemny #0F1F3D – baza, zaufanie
 *   - Granat średni #1A3260 – sekcje, karty
 *   - Złoto ciepłe #F0A500 – akcenty, CTA
 */

:root {
    --navy: #0F1F3D;
    --navy-mid: #1A3260;
    --navy-light: #25417A;
    --gold: #F0A500;
    --gold-dark: #C88A00;
    --gold-light: #FFC033;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark-muted: #6c757d;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utils */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    width: 60px;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-display);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(240, 165, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(240, 165, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 31, 61, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.logo {
    color: var(--white);
    text-decoration: none;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1428 0%, #0f1f3d 50%, #152b52 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay-img {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center right;
}

.hero-overlay-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 40, 0.97) 0%, rgba(10, 20, 40, 0.75) 55%, rgba(10, 20, 40, 0.35) 100%);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(240, 165, 0, 0.15);
    border: 1px solid rgba(240, 165, 0, 0.3);
    border-radius: 2rem;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-title span {
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .hero-btns {
        flex-direction: row;
    }
}

.hero-img-container {
    display: none;
}

@media (min-width: 1024px) {
    .hero-img-container {
        display: block;
        position: relative;
    }
}

.worker-img {
    width: 100%;
    height: 500px;
    object-cover: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 3px solid rgba(240, 165, 0, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.25rem;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Why Us */
.why-us {
    padding: 5rem 0;
    background: var(--navy);
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.reason-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reason-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: rgba(240, 165, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

/* Gallery */
.gallery {
    padding: 5rem 0;
    background: var(--white);
}

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

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-content {
    padding: 1.5rem;
}

/* Area */
.area {
    padding: 5rem 0;
    background: linear-gradient(135deg, #152b52 0%, #0f1f3d 100%);
    color: var(--white);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 0.4fr 0.6fr;
    }
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1.5px solid #eee;
    font-family: inherit;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Sticky Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gold);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    text-decoration: none;
    color: var(--navy);
    font-weight: 900;
}

@media (min-width: 1024px) {
    .sticky-bar {
        display: none;
    }
}
