/* ===========================
   EUROSPAW – STYL GLOBALNY
   Motyw: czarny + pomarańcz
   Industrial / premium
=========================== */

/* Kolory i zmienne */
:root {
    --black: #0A0A0A;
    --dark: #141414;
    --dark-soft: #191919;
    --border: #262626;
    --grey: #A7A7A7;
    --grey-soft: #777777;
    --white: #FFFFFF;
    --orange: #FF6A00;
    --orange-light: #FFA366;
}

/* Reset podstawowy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

/* Layout ogólny */
.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Linki */
a {
    color: inherit;
    text-decoration: none;
}

/* ===========================
   HEADER / NAWIGACJA
=========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}



.logo-mark {
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
}

.logo-mark img {
    height: 30px;  /* wysokość nagłówka, zmień wg uznania */
    width: auto;   /* zachowuje proporcje prostokąta */
    display: block;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
}

.logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--grey);
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
}

.menu a {
    color: var(--grey);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.2s;
}

.menu a:hover {
    color: var(--white);
}

.menu a:hover::after {
    width: 100%;
}

/* Przyciski w nagłówku */
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-size: 13px;
    color: var(--grey);
}

/* Hamburger – prosty, tylko z ukryciem menu na mobile */
.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 22px;
}

/* ===========================
   BUTTONY
=========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.btn-primary {
    background: var(--orange);
    color: var(--black);
    padding: 10px 22px;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 22px;
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ===========================
   SEKCJE / TYPOGRAFIA
=========================== */

section {
    padding: 70px 0;
    background: var(--black);
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--grey);
    max-width: 620px;
}

/* ===========================
   HERO – STRONA GŁÓWNA
=========================== */

.hero {
    position: relative;
    min-height: 75vh;
    background-image: url("images/hero_sprzet_spawalniczy.png"); 
    /* PODMIEŃ NA SWOJE ZDJĘCIE SPRZĘTU SPWALNICZEGO */
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange-light);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--grey);
}

/* ===========================
   KAFLE / GRIDS
=========================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: var(--dark);
    border-radius: 6px;
    padding: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
    display: block;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--grey);
}

/* Małe etykiety / tagi */
.tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--grey);
}

/* Sekcja CTA */
.cta {
    background: var(--dark-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Marki */
.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 16px;
}

.brand-pill {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 10px 18px;
    font-size: 13px;
    color: var(--grey);
}

/* ===========================
   SUB-HERO NA PODSTRONACH
=========================== */

.subhero {
    background: var(--dark-soft);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.subhero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subhero-subtitle {
    font-size: 14px;
    color: var(--grey);
}

/* ===========================
   SERWIS – KROKI
=========================== */

.steps {
    display: grid;
    gap: 18px;
}

.step {
    display: flex;
    gap: 16px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}

.step-body h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step-body p {
    font-size: 14px;
    color: var(--grey);
}

/* ===========================
   FORMULARZ / KONTAKT
=========================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    gap: 32px;
}

.contact-box {
    background: var(--dark);
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 24px;
}

.contact-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-line {
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 8px;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.form-group label {
    font-size: 13px;
    color: var(--grey-soft);
    display: block;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    padding: 10px 12px;
    font-size: 14px;
    background: #101010;
    color: var(--white);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===========================
   FORMULARZ - RODO
=========================== */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 106, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--orange);
}

.checkbox-label {
    font-size: 13px;
    color: var(--grey-soft);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--orange);
    text-decoration: underline;
    transition: color 0.3s ease-out;
}

.checkbox-label a:hover {
    color: var(--orange-light);
}

.form-checkbox input[type="checkbox"]:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* ===========================
   STOPKA
=========================== */

footer {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    background: #050505;
    font-size: 12px;
    color: var(--grey);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===========================
   ANIMACJE
=========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 106, 0, 0.6);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Klasy animacji */
.animate-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-scale {
    animation: scaleIn 0.5s ease-out;
}

/* Animacja dla elementów przy scroll */
.hero-title {
    animation: fadeIn 0.8s ease-out 0.1s both;
}

.hero-text {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.hero-actions {
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.hero-note {
    animation: fadeIn 0.8s ease-out 0.7s both;
}

/* Animacja kart */
.card {
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.2);
}

/* Animacja przycisków */
.btn {
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary:hover {
    animation: glow 1s ease-in-out infinite;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--black);
    transform: translateY(-2px);
}

/* Animacja sekcji */
section {
    animation: fadeIn 0.8s ease-out;
}

/* Animacja formularza */
.form-group {
    animation: fadeIn 0.6s ease-out;
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* Animacja brandów */
.brand-pill {
    animation: fadeIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.brand-pill:hover {
    transform: scale(1.05);
    background: var(--orange);
    color: var(--black);
}

/* Animacja listy */
.service-list li {
    animation: slideInLeft 0.5s ease-out;
}

.service-list li:nth-child(1) { animation-delay: 0.1s; }
.service-list li:nth-child(2) { animation-delay: 0.2s; }
.service-list li:nth-child(3) { animation-delay: 0.3s; }
.service-list li:nth-child(4) { animation-delay: 0.4s; }
.service-list li:nth-child(5) { animation-delay: 0.5s; }

/* ===========================
   RESPONSYWNOŚĆ
=========================== */

@media (max-width: 960px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 36px;
    }
}

/* ===========================
   ANIMACJE
=========================== */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 106, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 106, 0, 0.8);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Aplikacja animacji do elementów */
.hero {
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-desc {
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.card {
    animation: scaleUp 0.6s ease-out;
    transition: all 0.3s ease-out;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.2);
}

.btn {
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.section {
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.grid-3 > * {
    animation: scaleUp 0.6s ease-out;
    animation-fill-mode: both;
}

.grid-3 > *:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-3 > *:nth-child(2) {
    animation-delay: 0.2s;
}

.grid-3 > *:nth-child(3) {
    animation-delay: 0.3s;
}

.grid-2 > * {
    animation: scaleUp 0.6s ease-out;
    animation-fill-mode: both;
}

.grid-2 > *:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-2 > *:nth-child(2) {
    animation-delay: 0.2s;
}

/* Animacja dla ikon CTA */
.cta-icon {
    animation: bounce 2s ease-in-out infinite;
}

/* Efekt glow dla specjalnych elementów */
.btn-primary {
    animation: pulse 3s ease-in-out infinite;
}

/* Hover efekt dla linkow */
a {
    transition: all 0.3s ease-out;
}

a:hover {
    color: var(--orange);
}

/* Fade in dla formularzy */
.form-group {
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

/* Input focus animation */
input, textarea {
    transition: all 0.3s ease-out;
}

input:focus, textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
    transform: scale(1.02);
}

/* ===========================
   MAPA GOOGLE
=========================== */

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 960px) {
    .container {
        padding: 0 18px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu {
        display: none; /* można później rozbudować o burgera */
    }

    .header-cta {
        margin-left: auto;
    }

    .grid-3,
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   TREŚCI PRAWNE (PRIVACY, REGULAMIN)
=========================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--orange);
    border-bottom: 2px solid rgba(255, 106, 0, 0.2);
    padding-bottom: 8px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--grey-soft);
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.legal-content ul li {
    padding-left: 24px;
    margin-bottom: 10px;
    position: relative;
    color: var(--grey-soft);
}

.legal-content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.legal-content strong {
    color: var(--white);
}

.legal-content a {
    color: var(--orange);
    text-decoration: underline;
    transition: color 0.3s ease-out;
}

.legal-content a:hover {
    color: var(--orange-light);
}


