/*
Theme Name: Julian Bud - Naglowek i Stopka
Theme URI: https://julianbud.pl
Author: Julian Bud
Author URI: https://julianbud.pl
Description: Lekki motyw WordPress zawierajacy wylacznie gorna czesc strony (naglowek z logo i nawigacja) oraz stopke z ikonami social media (na razie nieaktywne - "w budowie"), powielona nawigacja i nota o prawach autorskich. Zachowana kolorystyka, fonty (Manrope, Plus Jakarta Sans) i ikony (Font Awesome) z oryginalnego projektu.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: julian-bud
*/

/* =========================================================
   GLOBAL SETTINGS
   Aby zmienic podstawowe kolory strony, edytuj wartosci ponizej.
   ========================================================= */

:root {
    --bg: #ece8df;
    --text: #181d19;
    --text-muted: #686c65;
    --line: #d7d2c6;
    --green: #001d15;
    --gold: #c49a4a;
    --gold-light: #e2c27c;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a,
button {
    cursor: pointer;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

.wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(236, 232, 223, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.nav {
    width: 100%;
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    padding: 0 38px;
}

.logo {
    justify-self: start;
    display: flex;
    align-items: center;
    width: 220px;
    min-height: 78px;
    background: var(--bg);
    padding: 0 24px 0 14px;
    margin-left: -38px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    width: auto;
    height: 62px;
    max-width: 215px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--green);
}

/* Monogram - wyswietla sie, dopoki w Personalizacji WP
   nie zostanie wgrane prawdziwe logo firmy. */
.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

.logo-mark-badge span {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--gold-light);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-pill {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 4vw, 58px);
    list-style: none;
}

.nav-pill li {
    list-style: none;
}

.nav-pill a {
    position: relative;
    color: var(--green);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    padding: 8px 0;
    transition: color 0.25s ease;
}

.nav-pill a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

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

.nav-pill a:hover::after {
    transform: scaleX(1);
}

.nav::after {
    content: '';
    display: block;
    width: 220px;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.burger {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    justify-self: end;
}

.burger span {
    display: block;
    width: 23px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--green);
}

@media (max-width: 860px) {
    .nav {
        min-height: 68px;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        width: auto;
        min-height: 68px;
        padding: 0 18px 0 10px;
        margin-left: -20px;
    }

    .logo img {
        height: 52px;
        max-width: 185px;
    }

    .nav::after {
        display: none;
    }

    .burger {
        display: block;
    }

    .nav-pill {
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;
        width: min(330px, calc(100vw - 28px));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-radius: 12px;
        max-height: 0;
        overflow: hidden;
        padding: 0 22px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav-pill.open {
        max-height: 340px;
        padding: 10px 22px;
    }

    .nav-pill li {
        width: 100%;
    }

    .nav-pill a {
        display: block;
        width: 100%;
        padding: 15px 3px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-pill li:first-child a {
        border-top: none;
    }

    .nav-pill a::after {
        display: none;
    }

    .wrap {
        padding: 0 20px;
    }
}

@media (max-width: 520px) {
    .logo img {
        height: 46px;
        max-width: 165px;
    }
}

/* =========================================================
   TRESC (miejsce na dalsza zawartosc strony)
   ========================================================= */

.site-content-placeholder {
    padding: 90px 0;
    text-align: center;
}

.site-content-placeholder h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.55px;
    margin-bottom: 18px;
}

.site-content-placeholder p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer-spacer {
    position: relative;
    background: var(--green);
    clip-path: polygon(0 55px, 50% 0, 100% 55px, 100% 100%, 0 100%);
    padding-top: 80px;
}

.site-footer {
    color: #ddd9ce;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 44px;
}

/* Ikony social media w stopce - Instagram / Facebook / TikTok sa
   na razie NIEAKTYWNE (bez hiperlacza). Po najechaniu myszka
   pokazuje sie prosty, natywny dymek przegladarki (atrybut title)
   z tekstem "W budowie" - dokladnie taki, jak przy zwyklym
   hiperlaczu. Telefon i e-mail sa juz w pelni funkcjonalne. */

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ddd9ce;
    cursor: pointer;
    transition: 0.25s ease;
}

.social-icon i {
    font-size: 17px;
    color: #ddd9ce;
    pointer-events: none;
}

.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.45px;
    text-transform: uppercase;
    list-style: none;
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    color: #c9c5b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0 30px;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9.5px;
    letter-spacing: 1px;
    color: #85867e;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    .footer-top {
        gap: 34px;
    }
}

@media (max-width: 520px) {
    .footer-top {
        flex-direction: column;
    }
}
