/* ========================================
   EVELIDEN.PL — Elewacje i docieplenia
   Design: dark professional, construction feel
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #0f1114;
    --bg-card: #1a1d23;
    --bg-elevated: #22262e;
    --text-primary: #f0f0f0;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent: #d4a24e;
    --accent-hover: #e8b95f;
    --accent-subtle: rgba(212, 162, 78, 0.1);
    --border: #2a2e37;
    --radius: 8px;
    --radius-lg: 16px;
    --container: 1200px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: var(--text-secondary);
    color: var(--text-primary);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--white {
    background: #fff;
    color: var(--bg-dark);
}

.btn--white:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 17, 20, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
}

.nav__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 6px;
}

.nav__logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav__links a:hover { color: var(--text-primary); }

.nav__cta {
    padding: 10px 22px;
    background: var(--accent) !important;
    color: var(--bg-dark) !important;
    border-radius: var(--radius);
    font-weight: 600 !important;
}

.nav__cta:hover { background: var(--accent-hover) !important; }

.nav__toggle { display: none; }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1d23 0%, #0f1114 50%, #1a1510 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 162, 78, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
}

.hero__tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(212, 162, 78, 0.3);
    border-radius: 100px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- STATS --- */
.stats {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.stats__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* --- SECTION COMMON --- */
.section__tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    line-height: 1.2;
}

/* --- SERVICES --- */
.services {
    padding: 96px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

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

.service-card__icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card__text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- PROJECTS --- */
.projects {
    padding: 96px 0;
    background: var(--bg-card);
}

.projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.project-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.project-card--large {
    grid-row: 1 / 3;
}

.project-card__img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.project-card--large .project-card__img {
    height: 100%;
    min-height: 300px;
}

.project-card__placeholder {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.project-card__info {
    padding: 24px;
}

.project-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-card__info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-card__meta {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.projects__cta {
    text-align: center;
    margin-top: 48px;
}

/* --- WHY US --- */
.why {
    padding: 96px 0;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.why__item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.why__item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- COVERAGE --- */
.coverage {
    padding: 96px 0;
    background: var(--bg-card);
}

.coverage__text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
    max-width: 600px;
}

.coverage__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.coverage__cities a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.coverage__cities a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

/* --- CTA --- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent), #b88a3a);
}

.cta__inner {
    text-align: center;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.cta__text {
    color: rgba(15, 17, 20, 0.7);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- HIRING --- */
.hiring {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.hiring__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hiring__text h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* --- FOOTER --- */
.footer {
    padding: 64px 0 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer__col ul {
    list-style: none;
}

.footer__col ul li {
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer__col ul li a:hover {
    color: var(--accent);
}

.footer__bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .nav__toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition);
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav__links.active { display: flex; }

    .hero { min-height: 80vh; }

    .hero__title { font-size: 2.2rem; }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services__grid { grid-template-columns: 1fr; }

    .projects__grid { grid-template-columns: 1fr; }

    .project-card--large { grid-row: auto; }

    .why__grid { grid-template-columns: 1fr; gap: 32px; }

    .coverage__cities { gap: 8px; }

    .coverage__cities a { padding: 8px 14px; font-size: 0.82rem; }

    .hiring__inner { flex-direction: column; text-align: center; }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.8rem; }
    .stats__number { font-size: 1.8rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; transform: none !important; }
    html { scroll-behavior: auto; }
}
