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

html {
    scroll-behavior: smooth;
}

#home {
    scroll-margin-top: 70px;
}

#cennik {
    scroll-margin-top: 100px;
}

#kontakt {
    scroll-margin-top: 100px;
}

body {
    font-family: "Nata Sans", sans-serif;
    font-size: 20px;
    background: #000;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: row;
    padding: 0 10px;
    height: 70px;
    color: white;
}

header .right .hamburger-menu, header .right .hamburger-button {
    display: none;
}

header .left {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

header .left .site-logo {
    max-width: 320px;
    width: auto;
    max-height: 50px;
    height: auto;
    display: block;
    object-fit: contain;
}

header .left .site-logo-mobile {
    display: none;
}

header .right {
    font-family: "Poppins", Arial, sans-serif;
    display: flex;
    flex-grow: 1;
    justify-content: right;
    align-items: center;
}

header .right nav {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

header .right nav .nav-li {
    position: relative;
    padding: 8px 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    overflow: hidden;
}

header .right nav .nav-li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ceaf6b, #f0cd5a);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

header .right nav .nav-li:hover {
    color: #f0cd5a;
}

header .right nav .nav-li:hover::after {
    transform: translateX(0);
}

header .right nav .nav-li.nav-button {
    background-color: transparent;
    color: #ceaf6b;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #ceaf6b;
    border-radius: 6px;
    transition: all 0.3s ease;
}

header .right nav .nav-li.nav-button::after {
    display: none;
}

header .right nav .nav-li.nav-button:hover {
    background-color: #f0cd5a;
    color: #000;
    border-color: #f0cd5a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* -------------------------------------HEADER MEDIA----------------------------------------------------------- */

header .right .hamburger-button {
    position: relative;
    width: 30px;
    height: 3px;
    background-color: #f0cd5a;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header .right .hamburger-button::before,
header .right .hamburger-button::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f0cd5a;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

header .right .hamburger-button::before {
    top: -9px;
}

header .right .hamburger-button::after {
    top: 9px;
}

header .right .hamburger-menu {
    font-family: "Poppins", Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background-color: rgba(0, 0, 0, .80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

header .right .hamburger-menu.active {
    opacity: 1;
    visibility: visible;
}

header .right .hamburger-menu .nav-li {
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

header .right .hamburger-menu .nav-li:hover {
    color: #f0cd5a;
}

header .right .hamburger-menu .nav-li.nav-button {
    background-color: transparent;
    color: #f0cd5a;
    font-weight: 600;
    font-size: 22px;
    padding: 10px 28px;
    border: 2px solid #f0cd5a;
    border-radius: 6px;
    transition: all 0.3s ease;
}

header .right .hamburger-menu .nav-li.nav-button:hover {
    background-color: #f0cd5a;
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* --------------------------------------MAIN----------------------------------------------------------- */
main section {
    min-height: calc(100vh - 70px);
}

main .hero {
    position: relative;
    background-image: url('../img/barber-1.jpeg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    font-family: "Rye", serif;
    font-weight: 200;
}

main .hero-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    gap: 28px;
}

main .hero-title .hero-title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .hero-title .hero-title-text span {
    display: block;
    background: linear-gradient(90deg, #fff 10%, #ceaf6b 35%, #ceaf6b 65%, #fff 90%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: hero-shimmer 8s linear infinite;
}

main .hero-title .hero-subtitle {
    font-family: "Nata Sans", sans-serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

main .hero-title .hero-btn {
    font-family: "Nata Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    background-color: #ceaf6b;
    border: none;
    border-radius: 6px;
    padding: 14px 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

main .hero-title .hero-btn:hover {
    background-color: #f0cd5a;
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
}

@keyframes hero-shimmer {
    from { background-position: 200% center; }
    to   { background-position: -200% center; }
}

main .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, transparent 0%, #000);
    pointer-events: none;
}

/* ----------------------------------------SERVICES------------------------------------------------------- */

main .services {
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 180px;
}

main .services > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

main .services > div > p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 34px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

main .przerywnik {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

main .przerywnik .kreska {
    width: 45px;
    height: 1px;
    background-color: rgb(82, 54, 27);
}

main .przerywnik .raby {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

main .przerywnik .romb {
    width: 8px;
    height: 8px;
    background-color: #d4af37;
    transform: rotate(45deg);
    opacity: 0.75;
}

main .przerywnik .romb.romb-center {
    width: 13px;
    height: 13px;
    opacity: 1;
    background: linear-gradient(135deg, #f0cd5a, #d4af37);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

/* ----------------------------------------CONTAINER / SERVICES CARDS------------------------------------- */

main .services .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    width: 100%;
}

main .services .service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    flex: 0 0 220px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

main .services .service.visible {
    opacity: 1;
    transform: translateY(0);
}

main .services .service .romb-number {
    width: 56px;
    height: 56px;
    border: 2px solid #ce9c6b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

main .services .service .romb-number span {
    font-family: "Rye", serif;
    font-size: 20px;
    color: #ce9c6b;
    transition: transform 0.4s ease, color 0.4s ease;
}

main .services .service:hover .romb-number {
    transform: rotate(-45deg);
    background-color: #ce9c6b;
}

main .services .service:hover .romb-number span {
    transform: rotate(45deg);
    color: #fff;
}

main .services .service h3 {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
}

main .services .service p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* ----------------------------------------CENNIK---------------------------------------------------------- */

main .cennik {
    min-height: unset;
    background-color: #1b1b1b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 40px;
    padding-top: 120px;
    gap: 50px;
}

main .cennik > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

main .cennik > div:first-child > p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 34px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

main .cennik-lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 900px;
}

main .cennik-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 400px;
}

main .cennik-list-element {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

main .cennik-list-element:hover {
    cursor: pointer;
    background-color: #222;
}

main .cennik-list:last-child .cennik-list-element {
    transform: translateX(30px);
}

main .cennik-list-element.visible,
main .cennik-list:last-child .cennik-list-element.visible {
    opacity: 1;
    transform: translateX(0);
}

main .cennik-list-element:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

main .cennik-list-element p:first-child {
    color: #999;
    font-size: 15px;
}

main .cennik-list-element p:last-child {
    color: #ce9c6b;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 16px;
}

/* ----------------------------------------KONTAKT--------------------------------------------------------- */

main .kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    background: #0a0a0a;
    min-height: unset;
    gap: 40px;
}

main .kontakt > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

main .kontakt > div:first-child > p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 34px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

main .kontakt-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 960px;
    justify-content: center;
}

main .kontakt-left {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

main .kontakt-left.visible {
    opacity: 1;
    transform: translateX(0);
}

main .kontakt-right {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

main .kafelek {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

main .kafelek:hover {
    background: #333;
}

main .kontakt-right .kafelek {
    opacity: 0;
    transform: translateX(40px);
    transition: background-color 0.3s, opacity 0.6s ease, transform 0.6s ease;
}

main .kontakt-right .kafelek.visible {
    opacity: 1;
    transform: translateX(0);
}

main .kafelek-icon {
    color: #ce9c6b;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

main .kafelek-content {
    width: 100%;
}

main .kafelek-content p {
    color: #ccc;
    font-size: 15px;
    text-align: center;
    line-height: 1.7;
}

main .godziny-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

main .kontakt-left.visible .godziny-row {
    opacity: 1;
    transform: translateX(0);
}

main .godziny-row {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

main .godziny-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

main .godziny-row .dzien {
    color: #999;
    font-size: 14px;
}

main .godziny-row .godzina {
    color: #ce9c6b;
    font-size: 14px;
    font-weight: 600;
}

main .godziny-row.zamkniety .godzina {
    color: #666;
    font-weight: 400;
}

/* ----------------------------------------MAPS & BOOKSY--------------------------------------------------- */

main .maps-booksy {
    min-height: unset;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

main .maps-booksy .maps {
    flex: 1 1 100%;
    height: 450px;
    position: relative;
}

main .maps-booksy .maps iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(30%) contrast(1.05);
}

/* ----------------------------------------FOOTER--------------------------------------------------------- */

footer {
    background-color: #000;
    font-size: 16px;
}

footer .footer-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    padding: 48px 64px;
}

footer .footer-col {
    flex: 1 1 180px;
}

footer .footer-col h3 {
    color: #888;
    font-size: 18px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

footer .footer-col p,
footer .footer-col a {
    color: #ddd;
    margin: 10px 0;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

footer .footer-col a:hover {
    color: #999;
}

footer .footer-copy {
    color: #c5c5c5;
    font-size: 13px;
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #222;
}

/* ---------------------------------------MEDIA---------------------------------------------------------- */

@media (max-width: 1024px) {
    header .left .site-logo {
        display: none;
    }

    header .left .site-logo-mobile, header .right .hamburger-button {
        display: block;
    }

    header .left {
        width: 200px;
    }

    header .right .navbar {
        display: none;
    }

    main .hero-title {
        font-size: 50px;
    }
}

@media (max-width: 600px) {
    main .hero-title {
        font-size: 40px;
        gap: 20px;
    }

    main .hero-title .hero-subtitle {
        font-size: 17px;
        padding: 0 20px;
    }

    main .hero-title .hero-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
}

@media (max-width: 400px) {
    main .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    footer .footer-columns {
        justify-content: center;
        padding: 32px 24px;
    }

    footer .footer-col {
        text-align: center;
    }
}