* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header-height: 92px;
    --mobile-header-height: 72px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}



.top-bar {
    background-color: #66421f;
    color: #ffffff;
    font-size: 12px;
    padding: 9px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 55px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-info i {
    font-size: 11px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 17px;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Zajednička širina sadržaja sajta */
.container {
    width: 90%;
    max-width: 1480px;
    margin: 0 auto;
}


/* Cela bela navigaciona traka */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(102, 66, 31, 0.1);
    position: relative;
    z-index: 100;
}


/* Logo levo, navigacija desno */
.header-container {
    min-height: var(--header-height);

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Link u kom se nalazi logo */
.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}


/* Slika logotipa */
.logo img {
    display: block;
    width: 220px;
    height: auto;
}


/* Navigacioni linkovi */
.main-nav {
    display: flex;
    align-items: center;
    gap: 52px;
}


/* Svaki link u navigaciji */
.main-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #17120e;
    text-decoration: none;

    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15px;

    padding: 18px 0;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


/* Promena boje kada pređeš mišem */
.main-nav a:hover {
    color: #6e4723;
}


/* Trenutno otvorena stranica */
.main-nav a.active {
    color: #6e4723;
}


/* Linija ispod aktivne stranice */
.main-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;

    height: 2px;
    background-color: #6e4723;
}


/* Mala strelica pored „Sobna vrata“ */
.main-nav a i {
    font-size: 12px;
    transition: transform 0.2s ease;
}


/* Strelica se malo pomeri kada pređeš mišem */
.main-nav a:hover i {
    transform: translateY(2px);
}
/* =========================
   HERO SEKCIJA
========================= */

.hero {
    min-height: calc(100vh - var(--header-height));

    background-image:
    linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.84) 22%,
        rgba(255, 255, 255, 0.46) 40%,
        rgba(255, 255, 255, 0.08) 58%,
        rgba(255, 255, 255, 0) 72%
    ),
    url("../images/Salon.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}


/* Sadržaj unutar hero sekcije */
.hero-container {
    width: 90%;
}


/* Deo sa naslovom, tekstom i dugmadima */
.hero-text {
    max-width: 540px;
}


/* Glavni naslov */
.hero-text h1 {
    margin: 0 0 24px;

    color: #25170d;

    font-size: 60px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;
}


/* Tekst ispod naslova */
.hero-text p {
    max-width: 450px;
    margin: 0 0 32px;

    color: #332820;

    font-size: 17px;
    line-height: 1.65;
}


/* Deo u kom se nalaze oba dugmeta */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* Zajednički stil za oba dugmeta */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 48px;
    padding: 0 25px;

    border: 1px solid #6e4723;
    border-radius: 4px;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Prvo braon dugme */
.btn-primary {
    background-color: #6e4723;
    color: #ffffff;
}


/* Hover za prvo dugme */
.btn-primary:hover {
    background-color: #583718;
    border-color: #583718;
    transform: translateY(-2px);
}


/* Drugo belo dugme */
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.75);
    color: #6e4723;
}


/* Hover za drugo dugme */
.btn-secondary:hover {
    background-color: #6e4723;
    color: #ffffff;
    transform: translateY(-2px);
}
/* =========================
   KATEGORIJE VRATA
========================= */

.categories {
    background-color: #ffffff;
    padding: 75px 0 30px;
}


/* Naslov cele sekcije */
.section-heading {
    margin-bottom: 36px;
    text-align: center;
}

.section-heading p {
    margin: 0 0 10px;

    color: #6e4723;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;

    color: #25170d;

    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}


/* Raspored tri kartice */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}


/* Cela kartica */
.category-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background-color: #ffffff;

    border: 1px solid rgba(102, 66, 31, 0.14);
    border-radius: 7px;

    box-shadow: 0 7px 24px rgba(37, 23, 13, 0.07);

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


/* Podizanje kartice kada pređeš mišem */
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(37, 23, 13, 0.12);
}


/* Deo kartice u kom se nalazi slika */
.category-image {
    position: relative;
    overflow: hidden;

    height: 430px;
    background-color: #f6f2ed;
}


/* Sama slika vrata */
.category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}


/* Blago povećanje slike na hover */
.category-card:hover .category-image img {
    transform: scale(1.035);
}


/* Tamni prelaz pri dnu slike */
.category-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 50%,
            rgba(30, 18, 9, 0.72) 100%
        );

    pointer-events: none;
}


/* Naziv kategorije preko slike */
.category-image h3 {
    position: absolute;
    z-index: 2;

    left: 25px;
    right: 25px;
    bottom: 24px;

    margin: 0;

    color: #ffffff;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}


/* Dugme ispod slike */
.category-button {
    margin: 18px 22px 22px;
    min-height: 48px;
    padding: 0 20px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    background-color: #ffffff;
    color: #6e4723;

    border: 1px solid #6e4723;
    border-radius: 4px;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.45px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Hover dugmeta */
.category-button:hover {
    background-color: #6e4723;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================
   O NAMA SEKCIJA
========================= */

.about-section {
    background-color: #ffffff;
    padding: 25px 0 40px;
}
.about-top {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 26px;
}

/* LEVA SLIKA */

.about-image {
    border-radius: 6px;
    overflow: hidden;
}

.about-image img {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center top;
}

/* DESNI TEKST */

.about-content {
    max-width: 540px;
}

.section-label {
    margin: 0 0 10px;
    color: #7a5129;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.about-content h2 {
    margin: 0 0 18px;
    color: #23150d;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
}

.about-text {
    margin: 0;
    color: #3f342d;
    font-size: 16px;
    line-height: 1.75;
}

/* KARTICE ISPOD */

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid rgba(102, 66, 31, 0.12);
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(37, 23, 13, 0.05);
}

.feature-card i {
    font-size: 34px;
    color: #8a5a2b;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    color: #4a2d16;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
}

.feature-card p {
    margin: 0;
    color: #4f433b;
    font-size: 15px;
    line-height: 1.65;
}
/* =========================
   KONTAKT SEKCIJA
========================= */

.contact-section {
    padding: 90px 0;
    background-color: #5f3b1e;
    color: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}


/* LEVA STRANA */

.contact-content {
    max-width: 680px;
}

.contact-label {
    margin: 0 0 14px;

    color: #e5cdb5;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.contact-content h2 {
    max-width: 650px;
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.contact-description {
    max-width: 590px;
    margin: 0 0 34px;

    color: rgba(255, 255, 255, 0.82);

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


/* DUGMAD */

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-btn {
    min-height: 50px;
    padding: 0 24px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border: 1px solid #ffffff;
    border-radius: 4px;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-btn-primary {
    background-color: #ffffff;
    color: #5f3b1e;
}

.contact-btn-primary:hover {
    background-color: #f1e8df;
    border-color: #f1e8df;
    transform: translateY(-2px);
}

.contact-btn-secondary {
    background-color: transparent;
    color: #ffffff;
}

.contact-btn-secondary:hover {
    background-color: #ffffff;
    color: #5f3b1e;
    transform: translateY(-2px);
}


/* DESNA KARTICA */

.contact-info-card {
    padding: 36px;

    background-color: #ffffff;
    color: #25170d;

    border-radius: 8px;

    box-shadow: 0 18px 45px rgba(30, 18, 9, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 22px 0;

    border-bottom: 1px solid rgba(102, 66, 31, 0.13);
}

.contact-info-item:first-child {
    padding-top: 0;
}

.contact-info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

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

    background-color: #f3ece5;
    color: #6e4723;

    border-radius: 50%;

    font-size: 18px;
}

.contact-info-item h3 {
    margin: 2px 0 7px;

    color: #3f2613;

    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contact-info-item p,
.contact-info-item a {
    margin: 0;

    color: #5a4c42;

    font-size: 15px;
    line-height: 1.65;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #6e4723;
}


/* TABLET I TELEFON */

@media (max-width: 900px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content h2 {
        font-size: 36px;
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 55px 0;
    }

    .contact-content h2 {
        font-size: 30px;
    }

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

    .contact-btn {
        width: 100%;
    }

    .contact-info-card {
        padding: 27px 22px;
    }

    .contact-info-item {
        gap: 14px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

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

.main-footer {
    background-color: #21150d;
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr 0.6fr;
    gap: 55px;

    padding-top: 45px;
    padding-bottom: 40px;
}

/* LOGO I OPIS */

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: block;

    width: 270px;
    height: 75px;

    margin-bottom: 20px;

    overflow: hidden;
}

.footer-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.footer-brand p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.7;
}


/* NASLOVI */

.footer-container h3 {
    margin: 5px 0 22px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* BRZI LINKOVI */

.footer-links nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* KONTAKT */

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact i {
    width: 17px;
    margin-top: 4px;

    color: #c99d72;

    text-align: center;
}


/* DRUŠTVENE MREŽE */

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 42px;
    height: 42px;

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

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.footer-social-links a:hover {
    background-color: #6e4723;
    border-color: #6e4723;
    transform: translateY(-3px);
}


/* DONJA TRAKA */

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

.footer-bottom-container {
    min-height: 75px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}


/* TABLET */

@media (max-width: 1000px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }

}


/* TELEFON */

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;

        padding-top: 50px;
        padding-bottom: 45px;
    }

    .footer-logo img {
        width: 190px;
    }

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

        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

        padding-top: 22px;
        padding-bottom: 22px;
    }

}

/* =========================================================
   RESPONSIVE NAVIGACIJA I PRILAGOĐAVANJE ZA TABLET / TELEFON
========================================================= */

/* Hamburger dugme je skriveno na velikim ekranima. */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;

    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;

    background-color: transparent;
    border: 1px solid rgba(102, 66, 31, 0.18);
    border-radius: 6px;

    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;

    display: block;

    background-color: #4a2d16;
    border-radius: 999px;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-overlay {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

/* Srednji laptop i tablet. */
@media (max-width: 1100px) {

    .container {
        width: 92%;
    }

    .logo img {
        width: 220px;
    }

    .main-nav {
        gap: 30px;
    }

    .main-nav a {
        font-size: 15px;
    }

    .hero-text h1 {
        font-size: 50px;
    }

    .category-image {
        height: 380px;
    }

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

/* Mobilna navigacija i slaganje sekcija u jednu kolonu. */
@media (max-width: 980px) {

    :root {
        --header-height: var(--mobile-header-height);
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;

        box-shadow: 0 5px 18px rgba(37, 23, 13, 0.08);
    }

    .header-container {
        min-height: var(--mobile-header-height);
    }

    .logo img {
        width: 205px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1003;
        display: flex;
        flex-shrink: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 1002;
        top: calc(var(--mobile-header-height) + 12px);
        left: 4%;
        right: 4%;

        max-height: calc(100dvh - var(--mobile-header-height) - 28px);
        overflow-y: auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px;

        background-color: #ffffff;
        border: 1px solid rgba(102, 66, 31, 0.14);
        border-radius: 10px;
        box-shadow: 0 22px 60px rgba(37, 23, 13, 0.22);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px) scale(0.98);
        transform-origin: top center;

        transition:
            opacity 0.22s ease,
            visibility 0.22s ease,
            transform 0.22s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .main-nav a {
        width: 100%;
        min-height: 52px;
        padding: 0 16px;

        justify-content: space-between;

        color: #25170d;
        font-size: 16px;

        border-radius: 6px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: #6e4723;
        background-color: #f6f1ec;
    }

    .main-nav a.active::after {
        display: none;
    }

    .main-nav a i {
        margin-left: auto;
    }

    .menu-overlay {
        position: fixed;
        z-index: 999;
        inset: 0;

        display: block;

        background-color: rgba(24, 15, 9, 0.5);
        backdrop-filter: blur(2px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero {
        min-height: 650px;
        padding: 85px 0;

        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.97) 0%,
                rgba(255, 255, 255, 0.92) 45%,
                rgba(255, 255, 255, 0.55) 72%,
                rgba(255, 255, 255, 0.18) 100%
            ),
            url("../images/Salon.png");

        background-position: 62% center;
    }

    .hero-text h1 {
        font-size: clamp(42px, 6vw, 52px);
    }

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

    .category-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        justify-self: center;
    }

    .about-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 390px;
    }

    .about-content {
        max-width: 720px;
    }
}

/* Telefon i manji tablet. */
@media (max-width: 700px) {

    .container,
    .hero-container {
        width: 91%;
    }

    .categories {
        padding: 60px 0 65px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .category-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .category-image {
        height: min(460px, 112vw);
    }

    .about-section {
        padding: 60px 0 50px;
    }

    .about-image img {
        height: min(390px, 72vw);
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .contact-container {
        gap: 35px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Klasičan telefon. */
@media (max-width: 600px) {

    .logo img {
        width: 178px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .main-nav {
        left: 3.5%;
        right: 3.5%;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 78px;

        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.94) 60%,
                rgba(255, 255, 255, 0.70) 100%
            ),
            url("../images/Salon.png");

        background-position: 67% center;
    }

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

    .hero-text h1 {
        margin-bottom: 20px;

        font-size: clamp(35px, 10vw, 43px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .hero-text p {
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

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

    .categories {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .section-heading p,
    .section-label,
    .contact-label {
        font-size: 11px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 29px;
    }

    .category-image h3 {
        left: 18px;
        right: 18px;
        bottom: 20px;
        font-size: 22px;
    }

    .category-button {
        margin: 16px 17px 18px;
    }

    .about-top {
        gap: 27px;
    }

    .about-image img {
        height: 260px;
    }

    .about-text {
        font-size: 15px;
    }

    .contact-content h2 {
        font-size: 29px;
    }

    .contact-description {
        font-size: 15px;
    }

    .contact-info-item {
        align-items: flex-start;
    }

    .contact-info-item > div:last-child {
        min-width: 0;
    }

    .contact-info-item p,
    .contact-info-item a {
        overflow-wrap: anywhere;
        font-size: 14px;
    }

    .footer-container {
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo img {
        width: 210px;
    }

    .footer-bottom-container {
        text-align: left;
    }
}

/* Veoma mali telefoni. */
@media (max-width: 390px) {

    .logo img {
        width: 158px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 27px;
    }

    .contact-info-card {
        padding: 24px 17px;
    }

    .contact-icon {
        width: 39px;
        height: 39px;
        font-size: 16px;
    }
}

/* Korisnici koji su isključili animacije. */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* SVETLA KONTAKT SEKCIJA */

.contact-section {
    padding: 90px 0;
    background-color: #f5f1ed;
    color: #25170d;
}

.contact-label {
    color: #7a5129;
}

.contact-content h2 {
    color: #25170d;
}

.contact-description {
    color: #5a4c42;
}


/* DUGMAD */

.contact-btn {
    border-color: #6e4723;
}

.contact-btn-primary {
    background-color: #6e4723;
    color: #ffffff;
}

.contact-btn-primary:hover {
    background-color: #543416;
    border-color: #543416;
}

.contact-btn-secondary {
    background-color: transparent;
    color: #6e4723;
}

.contact-btn-secondary:hover {
    background-color: #6e4723;
    color: #ffffff;
}


/* KARTICA SA INFORMACIJAMA */

.contact-info-card {
    background-color: #ffffff;
    border: 1px solid rgba(102, 66, 31, 0.12);
    box-shadow: 0 14px 35px rgba(37, 23, 13, 0.1);
}


/* FOOTER OSTAJE TAMAN */

.main-footer {
    background-color: #4a3021;
}
.footer-logo img {

    width: 290px;

}



@media (max-width: 600px) {

    .footer-logo img {

        width: 240px;

    }

} 
.header-container {
    height: 76px;
    min-height: 76px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 220px;
    height: auto;
    max-height: none;
}

.main-nav a {
    padding: 12px 0;
}

@media (max-width: 980px) {
    .header-container {
        height: 68px;
        min-height: 68px;
    }

    .logo img {
        width: 190px;
        height: auto;
        max-height: none;
    }
}
/* =========================
   PADAJUĆI MENI – SOBNA VRATA
========================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    appearance: none;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 0;

    background-color: transparent;
    color: #17120e;

    border: none;

    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: #6e4723;
}

.nav-dropdown-toggle:focus-visible {
    outline: 2px solid rgba(110, 71, 35, 0.35);
    outline-offset: 6px;
    border-radius: 3px;
}

.nav-dropdown-toggle i {
    font-size: 12px;

    transition: transform 0.22s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}


/* PADAJUĆA KARTICA NA RAČUNARU */

.nav-dropdown-menu {
    position: absolute;
    z-index: 1000;

    top: calc(100% + 12px);
    left: 50%;

    width: 285px;
    padding: 9px;

    background-color: #ffffff;

    border: 1px solid rgba(102, 66, 31, 0.14);
    border-radius: 8px;

    box-shadow: 0 16px 42px rgba(37, 23, 13, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

/* Nevidljivi prostor između dugmeta i menija */
.nav-dropdown-menu::before {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    top: -12px;

    height: 12px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);
}


/* LINKOVI U DROPDOWNU */

.main-nav .nav-dropdown-menu a {
    position: static;

    width: 100%;
    min-height: 46px;
    padding: 0 15px;

    display: flex;
    align-items: center;

    color: #25170d;
    background-color: transparent;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.main-nav .nav-dropdown-menu a::after {
    display: none;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible {
    color: #6e4723;
    background-color: #f4eee8;

    transform: none;
}


/* =========================
   TELEFON I TABLET
========================= */

@media (max-width: 980px) {

    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .nav-dropdown-toggle {
        width: 100%;
        min-height: 52px;
        padding: 0 16px;

        justify-content: space-between;

        color: #25170d;

        border-radius: 6px;

        font-size: 16px;
    }

    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle:focus-visible,
    .nav-dropdown.is-open .nav-dropdown-toggle {
        color: #6e4723;
        background-color: #f6f1ec;
    }

    .nav-dropdown-toggle:focus-visible {
        outline: none;
    }

    .nav-dropdown-menu {
        position: static;

        width: 100%;
        max-height: 0;

        margin: 0;
        padding: 0 8px;

        overflow: hidden;

        background-color: #f7f2ed;

        border: none;
        border-radius: 6px;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: none;

        transform: none;

        transition:
            max-height 0.25s ease,
            padding 0.25s ease,
            margin 0.25s ease;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        max-height: 210px;

        margin: 4px 0 6px;
        padding: 8px;

        pointer-events: auto;

        transform: none;
    }

    .main-nav .nav-dropdown-menu a {
        min-height: 44px;
        padding: 0 13px;

        justify-content: flex-start;

        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .header-container {
        height: 64px;
        min-height: 64px;
    }

    .logo img {
        width: 165px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 390px) {
    .logo img {
        width: 150px;
    }
}
/* =================================
   FINALNA VELIČINA HEADERA I LOGOTIPA
================================= */

:root {
    --header-height: 76px;
    --mobile-header-height: 68px;
}

.main-header .header-container {
    height: var(--header-height);
    min-height: var(--header-height);
}


/* LOGO NE SME DA IZAĐE IZ NAVBARA */

.main-header .logo {
    height: 100%;
    min-width: 0;
    max-width: calc(100% - 80px);

    display: flex;
    align-items: center;

    overflow: hidden;
    flex-shrink: 1;
}

.main-header .logo img {
    display: block;

    width: 220px;
    max-width: 100%;
    height: auto;
    max-height: none;
}


/* TELEFON I TABLET */

@media (max-width: 980px) {

    .main-header .header-container {
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);
    }

    .main-header .logo {
        height: 100%;
        max-width: calc(100% - 68px);

        overflow: hidden;
    }

    .main-header .logo img {
        width: clamp(145px, 46vw, 190px);
        max-width: 100%;
        height: auto;
    }
}