/*
Theme Name: AutoMento
Theme URI: https://automento.pl
Author: AutoMento.pl
Description: Dedykowany motyw WordPress dla AutoMento.pl
Version: 1.0.0
Text Domain: automento
*/


/* =========================================================
   1. ZMIENNE
   ========================================================= */

:root {
    --black: #050505;
    --black-soft: #0b0b0b;
    --black-card: #111111;
    --black-light: #171717;

    --gold: #d4af37;
    --gold-light: #f0d56b;

    --white: #ffffff;
    --text: #e8e8e8;
    --muted: #999999;

    --border: rgba(212, 175, 55, 0.22);

    --container: 1200px;
}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--black);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;

    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   3. KONTAINER
   ========================================================= */

.container {
    width: min(
        var(--container),
        calc(100% - 40px)
    );

    margin-left: auto;
    margin-right: auto;
}

.site-main {
    min-height: 60vh;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;
    z-index: 1000;

    background: rgba(5, 5, 5, 0.96);

    border-bottom:
        1px solid
        rgba(212, 175, 55, 0.18);

    backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* LOGO */

.site-logo {
    display: block;

    width: 175px;

    flex-shrink: 0;

    transition:
        opacity 0.25s ease;
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo img {
    width: 100%;
}


/* MENU */

.main-navigation {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.main-navigation a {
    position: relative;

    color: #d0d0d0;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition:
        width 0.25s ease;
}

.main-navigation a:hover {
    color: var(--gold);
}

.main-navigation a:hover::after {
    width: 100%;
}


/* TELEFON */

.header-phone {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.header-phone:hover {
    color: var(--gold);
}

.header-phone-icon {
    color: var(--gold);
}


/* HEADER CTA */

.header-cta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 7px;

    background: var(--gold);

    color: #050505;

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.header-cta:hover {
    background: var(--gold-light);

    color: #050505;

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(212, 175, 55, 0.18);
}


/* MOBILE BUTTON */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 7px;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: #ffffff;
}


/* =========================================================
   5. PRZYCISKI
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border:
        1px solid
        var(--gold);

    border-radius: 7px;

    background: var(--gold);

    color: #050505;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--gold-light);

    color: #050505;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(212, 175, 55, 0.18);
}

.btn-outline {
    background: transparent;

    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);

    color: #050505;
}


/* =========================================================
   6. OGÓLNE SEKCJE
   ========================================================= */

.section {
    padding: 105px 0;
}

.section-header {
    max-width: 850px;

    margin:
        0 auto 60px;

    text-align: center;
}

.section-label {
    display: block;

    margin-bottom: 15px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.section-title {
    margin: 0;

    color: var(--white);

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    line-height: 1.05;

    font-weight: 800;
}

.gold {
    color: var(--gold);
}

.section-description {
    max-width: 700px;

    margin: 22px auto 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 50%,
            rgba(212, 175, 55, 0.17),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #090909 55%,
            #111111 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    right: -250px;
    top: -250px;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.10),
            transparent 70%
        );

    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 60px;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    margin: 0;

    color: var(--white);

    font-size:
        clamp(
            48px,
            6vw,
            78px
        );

    line-height: 0.98;

    letter-spacing: -2px;

    font-weight: 900;
}

.hero h1 span {
    display: block;

    color: var(--gold);
}

.hero-description {
    max-width: 620px;

    margin:
        28px 0 35px;

    color: #bdbdbd;

    font-size: 18px;

    line-height: 1.75;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 500px;
}

.hero-visual img {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 620px;

    filter:
        drop-shadow(
            0 25px 45px
            rgba(0, 0, 0, 0.65)
        );

    animation:
        heroFloat 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.20),
            transparent 68%
        );

    filter: blur(8px);
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   8. OFERTA
   ========================================================= */

.services {
    background: var(--black-soft);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {
    position: relative;

    padding: 35px 30px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0d0d0d
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.18);

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: var(--gold);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.4);
}

.service-number {
    display: block;

    margin-bottom: 28px;

    color: var(--gold);

    font-size: 34px;

    font-weight: 900;
}

.service-card h3 {
    margin:
        0 0 14px;

    color: #ffffff;

    font-size: 21px;

    line-height: 1.2;
}

.service-card p {
    margin: 0;

    color: #929292;

    line-height: 1.7;
}


/* =========================================================
   9. DLACZEGO MY
   ========================================================= */

.why {
    background: var(--black);
}

.why-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 80px;
}

.why-content > p {
    max-width: 620px;

    color: #a7a7a7;

    font-size: 17px;

    line-height: 1.8;
}

.why-content .btn {
    margin-top: 20px;
}

.why-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.why-item {
    display: flex;

    gap: 18px;

    padding: 24px;

    background: var(--black-card);

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.why-item:hover {
    transform: translateX(5px);

    border-color:
        rgba(212, 175, 55, 0.5);
}

.why-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(212, 175, 55, 0.12);

    color: var(--gold);

    font-weight: 900;
}

.why-item h3 {
    margin:
        0 0 5px;

    color: #ffffff;

    font-size: 17px;
}

.why-item p {
    margin: 0;

    color: #888888;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   10. JAK DZIAŁAMY
   ========================================================= */

.process {
    background: var(--black-soft);
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 15px;
}

.process-card {
    padding: 30px 24px;

    background: var(--black-card);

    border:
        1px solid
        rgba(212, 175, 55, 0.17);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-5px);

    border-color: var(--gold);
}

.process-number {
    display: block;

    margin-bottom: 24px;

    color: var(--gold);

    font-size: 28px;

    font-weight: 900;
}

.process-card h3 {
    margin:
        0 0 12px;

    color: #ffffff;

    font-size: 18px;
}

.process-card p {
    margin: 0;

    color: #888888;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   11. TRUST
   ========================================================= */

.trust-section {
    padding: 105px 0;

    background: var(--black);
}

.trust-box {
    position: relative;

    padding: 70px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.12),
            rgba(212, 175, 55, 0.025)
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.3);

    border-radius: 16px;
}

.trust-box::after {
    content: "";

    position: absolute;

    right: -150px;
    top: -220px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.10),
            transparent 70%
        );

    pointer-events: none;
}

.trust-box h2 {
    position: relative;
    z-index: 2;

    max-width: 900px;

    margin:
        0 0 22px;

    color: #ffffff;

    font-size:
        clamp(
            34px,
            5vw,
            58px
        );

    line-height: 1.05;
}

.trust-box h2 span {
    display: block;

    color: var(--gold);
}

.trust-box p {
    position: relative;
    z-index: 2;

    max-width: 760px;

    margin: 0;

    color: #aaaaaa;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   12. KONTAKT
   ========================================================= */

.contact {
    background: var(--black-soft);
}

.contact-box {
    padding: 80px 40px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #161616,
            #0d0d0d
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.3);

    border-radius: 16px;
}

.contact-box .section-title {
    max-width: 850px;

    margin:
        0 auto 20px;
}

.contact-box > p {
    max-width: 650px;

    margin:
        0 auto 35px;

    color: #999999;

    font-size: 17px;

    line-height: 1.7;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.site-footer {
    background: #080808;

    border-top:
        1px solid
        rgba(212, 175, 55, 0.18);
}

.footer-inner {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 70px;

    padding: 75px 0;
}

.footer-logo {
    display: block;

    width: 210px;

    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
}

.footer-brand p {
    max-width: 380px;

    margin: 0;

    color: #888888;

    line-height: 1.7;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}

.footer-column h3 {
    margin:
        0 0 10px;

    color: var(--gold);

    font-size: 17px;
}

.footer-column a,
.footer-column span {
    color: #999999;

    font-size: 14px;

    transition:
        color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
    min-height: 70px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-bottom p {
    margin: 0;

    color: #666666;

    font-size: 12px;
}

.footer-legal {
    display: flex;

    gap: 20px;
}

.footer-legal a {
    color: #666666;

    font-size: 12px;
}

.footer-legal a:hover {
    color: var(--gold);
}


/* =========================================================
   14. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-navigation {
        gap: 18px;
    }

    .header-phone {
        display: none;
    }

    .hero-inner {
        gap: 35px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .why-grid {
        gap: 45px;
    }

}


/* =========================================================
   15. MOBILE MENU
   ========================================================= */

@media (max-width: 800px) {

    .header-inner {
        min-height: 72px;
    }

    .site-logo {
        width: 150px;
    }

    .main-navigation {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        margin: 0;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #090909;

        border-bottom:
            1px solid
            rgba(212, 175, 55, 0.2);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        padding: 14px 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.07);
    }

    .main-navigation a::after {
        display: none;
    }

    .header-cta {
        margin-left: auto;

        min-height: 42px;

        padding: 0 15px;

        font-size: 13px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;

        padding: 80px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        min-height: 350px;

        order: 2;
    }

    .hero-visual img {
        max-width: 520px;
    }

    .why-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-box {
        padding: 50px 35px;
    }

    .footer-inner {
        grid-template-columns:
            1fr
            1fr;

        gap: 45px;
    }

}


/* =========================================================
   16. MAŁY TELEFON
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 75px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 38px;
    }

    .section-description {
        font-size: 16px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        margin-left: auto;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-visual img {
        width: 100%;
    }

    .hero-glow {
        width: 280px;
        height: 280px;
    }

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

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

    .trust-section {
        padding: 75px 0;
    }

    .trust-box {
        padding: 40px 22px;
    }

    .contact-box {
        padding: 55px 22px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;
    }

    .footer-bottom-inner {
        min-height: auto;

        padding: 20px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .footer-legal {
        flex-wrap: wrap;
    }

}
/* =========================
   OBSZAR DZIAŁANIA
   ========================= */

.hero-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    max-width: 560px;

    margin: 0 0 30px;

    padding: 14px 18px;

    background: rgba(255, 255, 255, 0.035);

    border-left: 2px solid var(--gold);
}

.hero-location-icon {
    margin-top: 3px;

    color: var(--gold);

    font-size: 10px;
}

.hero-location strong {
    display: block;

    margin-bottom: 2px;

    color: #ffffff;

    font-size: 14px;
}

.hero-location small {
    display: block;

    color: #8f8f8f;

    font-size: 13px;

    line-height: 1.5;
}

@media (max-width: 600px) {

    .hero-location {
        padding: 13px 15px;
    }

    .hero-location strong {
        font-size: 13px;
    }

    .hero-location small {
        font-size: 12px;
    }
}