
/* =================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #11140f;
    --dark: #191e17;
    --dark-2: #252b21;

    --white: #f3f1ec;

    --gray: #a0a298;
    --light-gray: #c5c6bd;

    --border: rgba(255, 255, 255, 0.1);

    --accent: #687653;
    --accent-light: #84936b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =================================
   NAVBAR
================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    padding: 0 6vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(9, 9, 9, 0.88);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    z-index: 100;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.5px;
    transition: 0.25s;
}

.logo span {
    color: var(--accent);
}

.logo:hover {
    color: var(--accent-light);
}

nav {
    display: flex;
    gap: 38px;
}

nav a {
    position: relative;

    color: var(--light-gray);

    font-size: 13px;
    font-weight: 600;

    transition: 0.25s;
}

nav a:hover {
    color: white;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: 0.25s;
}

nav a:hover::after {
    width: 100%;
}

.nav-order {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;
    font-weight: bold;

    transition: 0.25s;
}

.nav-order:hover {
    color: var(--accent-light);
}


/* =================================
   COMMON BUTTONS
================================= */

.btn {
    min-height: 52px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition: 0.25s;
}

.btn-primary {
    background: var(--accent);
    color: white;

    box-shadow: 0 12px 40px rgba(104, 118, 83, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-light);

    box-shadow: 0 18px 50px rgba(104, 118, 83, 0.28);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    color: var(--accent-light);
}


/* =================================
   HERO / UVOD
================================= */

.hero {
    min-height: 100vh;

    padding: 140px 8vw 100px;

    display: grid;

    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);

    align-items: center;

    gap: 6vw;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(104, 118, 83, 0.15),
            transparent 32%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );

    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    min-width: 0;

    position: relative;
    z-index: 2;
}

.eyebrow {
    margin-bottom: 22px;

    color: var(--accent-light);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero h1 {
    width: 100%;

    font-size: clamp(54px, 5.4vw, 100px);

    line-height: 0.92;
    letter-spacing: -5px;

    font-weight: 900;
    text-transform: uppercase;

    overflow-wrap: normal;
    word-break: normal;
}

.hero h1 span {
    color: var(--accent-light);
}

.hero-text {
    max-width: 570px;

    margin-top: 35px;

    color: var(--gray);

    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}


/* =================================
   HERO - CUSTOM CARD
================================= */

.hero-custom {
    width: 100%;
    max-width: 440px;
    min-width: 0;

    min-height: 350px;

    padding: 42px 35px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(104, 118, 83, 0.17),
            rgba(16, 16, 16, 0.96)
        );

    border: 1px solid rgba(104, 118, 83, 0.45);

    z-index: 2;

    transition: 0.3s;
}

.hero-custom:hover {
    border-color: var(--accent-light);
    transform: translateY(-5px);
}

.hero-custom .eyebrow {
    margin-bottom: 24px;
}

.hero-custom h2 {
    font-size: clamp(35px, 3.4vw, 55px);

    line-height: 0.98;
    letter-spacing: -2.5px;

    font-weight: 900;
    text-transform: uppercase;
}

.hero-custom h2 span {
    color: var(--accent-light);
}

.hero-custom > p:not(.eyebrow) {
    max-width: 340px;

    margin-top: 25px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.8;
}

.hero-custom-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    width: fit-content;

    margin-top: 28px;

    color: var(--accent-light);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.25s;
}

.hero-custom-link:hover {
    color: white;
    transform: translateX(5px);
}

.hero-custom-number {
    position: absolute;

    right: 22px;
    bottom: 18px;

    color: rgba(255,255,255,0.13);

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
}


/* =================================
   SECTION COMMON
================================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 65px;
}

.section-header h2 {
    font-size: clamp(48px, 6vw, 82px);

    line-height: 0.9;
    letter-spacing: -5px;

    font-weight: 900;
}

.section-header > p {
    max-width: 320px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.6;
}

.text-link {
    color: var(--accent-light);

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.25s;
}

.text-link:hover {
    color: white;
}


/* =================================
   CATEGORIES
================================= */

.categories-section {
    padding: 140px 6vw;

    background: var(--white);
    color: var(--black);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.category-card {
    min-width: 0;
    height: 270px;

    padding: 30px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;
    isolation: isolate;

    background: #191919;
    color: white;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

/* OBRAZKY KATEGORII */

.category-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: -1;

    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

/* STMAVENIE FOTOGRAFIE */

.category-card:not(.custom-card)::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.08) 75%
    );

    z-index: 0;
    pointer-events: none;
}

.category-card > div {
    position: relative;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-7px);
    background: #242424;
}

.category-card::after {
    content: "→";

    position: absolute;

    right: 30px;
    bottom: 25px;

    font-size: 30px;
    color: var(--accent-light);

    transform: translateX(-10px);
    opacity: 0;

    transition: 0.3s;

    z-index: 3;
}

.category-card:hover::after {
    transform: translateX(0);
    opacity: 1;
}

.category-large {
    grid-column: span 2;
}

.category-wide {
    grid-column: span 2;
}

.custom-card {
    background: var(--accent);
}

.custom-card:hover {
    background: #78865f;
}

.custom-card::before {
    display: none;
}

.custom-card::after {
    color: white;
}

.category-number {
    color: rgba(255,255,255,0.65);

    font-size: 11px;
    letter-spacing: 2px;
}

.category-card h3 {
    font-size: 38px;
    letter-spacing: -2px;

    margin-bottom: 8px;
}

.category-card span {
    color: #cccccc;
    font-size: 12px;
}

.custom-card span {
    color: rgba(255,255,255,0.75);
}


/* =================================
   PRODUCTS
================================= */

.products-section {
    padding: 150px 6vw;
    background: var(--black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.product-card {
    min-width: 0;
    cursor: pointer;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: radial-gradient(
        circle,
        #343434,
        #111 70%
    );

    border: 1px solid var(--border);
}

/* PRODUKTOVA FOTOGRAFIA */

.product-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
    z-index: 1;
}

.product-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.08),
        transparent 45%
    );

    opacity: 0;
    transition: 0.4s;

    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-image::after {
    content: "";

    position: absolute;

    width: 160%;
    height: 35px;

    background: rgba(255,255,255,0.07);

    transform: rotate(-45deg) translateX(-100%);
    transition: 0.7s;

    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    transform: rotate(-45deg) translateX(100%);
}

.product-code {
    position: absolute;

    top: 20px;
    left: 20px;

    color: white;

    font-size: 10px;
    letter-spacing: 2px;

    z-index: 3;
}

.product-placeholder {
    position: relative;
    z-index: 3;

    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);

    font-size: 28px;
    font-weight: 900;
    letter-spacing: 5px;

    transition: 0.4s;
}

.product-card:hover .product-placeholder {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;

    bottom: 20px;
    right: 20px;

    padding: 7px 10px;

    background: rgba(0,0,0,0.65);
    border: 1px solid var(--border);

    color: white;

    font-size: 9px;
    letter-spacing: 1.5px;

    z-index: 3;
}

.product-info {
    padding: 22px 2px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-bottom: 1px solid var(--border);
}

.product-info h3 {
    margin-bottom: 7px;
    font-size: 18px;
}

.product-info p {
    color: #777;
    font-size: 12px;
}

.product-order {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid var(--border);

    color: var(--accent-light);

    transition: 0.25s;
}

.product-order:hover {
    background: var(--accent);
    color: white;
}


/* =================================
   CUSTOM SECTION
================================= */

.custom-section {
    padding: 170px 10vw;

    position: relative;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(104,118,83,0.15),
            transparent 35%
        ),
        #111;
}

.custom-section h2 {
    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.85;
    letter-spacing: -7px;
}

.custom-section h2 span {
    color: var(--accent-light);
}

.custom-section > p:not(.eyebrow) {
    max-width: 500px;

    margin: 35px auto;

    color: var(--gray);

    line-height: 1.7;
}


/* =================================
   PROCESS
================================= */

.process-section {
    padding: 150px 6vw;

    background: var(--white);
    color: var(--black);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #ccc;
}

.process-item {
    padding: 30px 25px;

    min-height: 240px;

    border-right: 1px solid #ccc;
}

.process-item:first-child {
    border-left: 1px solid #ccc;
}

.process-item span {
    color: var(--accent);

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.process-item h3 {
    margin-top: 55px;

    font-size: 24px;
    letter-spacing: -1px;
}

.process-item p {
    margin-top: 15px;

    color: #777;

    font-size: 13px;
    line-height: 1.6;
}


/* =================================
   ABOUT
================================= */

.about-section {
    padding: 160px 10vw;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;

    background: var(--dark);
}

.about-section h2 {
    font-size: clamp(55px, 7vw, 100px);

    line-height: 0.85;
    letter-spacing: -6px;
}

.about-section h2 span {
    color: var(--accent-light);
}

.about-text {
    max-width: 480px;
    align-self: end;
}

.about-text p {
    margin-bottom: 25px;

    color: var(--gray);
    line-height: 1.8;
}


/* =================================
   FOOTER
================================= */

footer {
    padding: 55px 6vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 20px;

    border-top: 1px solid var(--border);

    color: #777;
    font-size: 12px;
}

footer a:hover {
    color: var(--accent-light);
}


/* =================================
   TABLET
================================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero {
        min-height: auto;

        padding: 140px 6vw 90px;

        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        width: 100%;
        max-width: 750px;
    }

    .hero h1 {
        font-size: clamp(55px, 10vw, 90px);
        letter-spacing: -4px;
    }

    .hero-custom {
        width: 100%;
        max-width: 600px;
        min-height: 300px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-large,
    .category-wide {
        grid-column: span 2;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-item {
        border-bottom: 1px solid #ccc;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 60px;

        padding: 110px 6vw;
    }

}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .navbar {
        height: 68px;
        padding: 0 5vw;
    }

    .logo {
        font-size: 22px;
    }

    .nav-order {
        font-size: 12px;
    }

    .hero {
        min-height: auto;

        padding: 120px 6vw 80px;

        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(46px, 12.5vw, 72px);
        letter-spacing: -3px;
        line-height: 0.95;
    }

    .hero-text {
        font-size: 15px;
        margin-top: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-custom {
        min-height: 280px;
        padding: 35px 25px;
    }

    .hero-custom h2 {
        font-size: clamp(35px, 10vw, 45px);
        letter-spacing: -2px;
    }

    .categories-section,
    .products-section,
    .process-section {
        padding: 90px 6vw;
    }

    .section-header {
        display: block;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(43px, 11vw, 62px);
        letter-spacing: -3px;
    }

    .section-header > p,
    .section-header > .text-link {
        display: inline-block;
        margin-top: 25px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-large,
    .category-wide {
        grid-column: span 1;
    }

    .category-card {
        height: 220px;
        min-height: 220px;
    }

    .category-card h3 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item,
    .process-item:first-child {
        border-left: 1px solid #ccc;
    }

    .custom-section {
        padding: 110px 6vw;
    }

    .custom-section h2 {
        font-size: clamp(48px, 12vw, 70px);
        letter-spacing: -4px;
    }

    .about-section {
        padding: 100px 6vw;
    }

    .about-section h2 {
        font-size: 58px;
        letter-spacing: -4px;
    }

    footer {
        padding: 45px 6vw;

        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}


/* =================================
   WELDINQUE - NOVE POZADIA
================================= */

body {
    background: #11140f;
}

/* Hlavny uvod */
.hero {
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(104, 118, 83, 0.20),
            transparent 38%
        ),
        #11140f;
}

/* Navigacia */
.navbar {
    background: rgba(17, 20, 15, 0.94);
}

/* Produkty */
.products-section {
    background: #191e17;
}

/* Karty produktov */
.product-image {
    background: radial-gradient(
        circle,
        #343b2e,
        #191e17 75%
    );
}

/* Vyroba na mieru */
.custom-section {
    background:
        radial-gradient(
            circle at center,
            rgba(104, 118, 83, 0.22),
            transparent 45%
        ),
        #20271d;
}

/* O nas */
.about-section {
    background: #252b21;
}

/* Pätička */
footer {
    background: #11140f;
}

