/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

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

/* Links */
a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
    display: block;
}

h1, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type=submit] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}


/*------------base-styles---------------*/

:root {
    --white: #ffffff;
    --black: #1a1a1a;

    --gray-dark: #4a4a4a;
    --gray-medium: #808080;
    --gray-light: #efefef;

    --slovenia-green: #3e665a;
    --slovenia-green-light: #6b8f71;
    --slovenia-green-hover: #2d5046;

    --slovenia-blue: #3a6073;
    --slovenia-blue-light: #6e9ebf;
    --slovenia-blue-hover: #2b4b5b;

    --slovenia-stone: #a89c89;
    --slovenia-stone-dark: #7c7362;
    --slovenia-stone-hover: #968773;

    --gray-dark-hover: #383838;
    --gray-medium-hover: #6e6e6e;
    --gray-light-hover: #c4c4c4;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.8;
    color: var(--gray-dark);
    background-color: var(--gray-light);
}

h1, h2, h3 {
    margin: 0 0 1.4rem;
    font-weight: 700;
    color: var(--black);
}

h1 {
    font-size: 2.8rem;
    line-height: 1.25;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.4;
}

h3 {
    font-size: 1.7rem;
    line-height: 1.5;
}

p {
    margin: 0 0 1.4rem;
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--gray-medium);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}

.section__heading {
    font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.9rem;
    color: var(--slovenia-green);
}

.section__description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.4rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

/*--------header--------------------*/

.header {
    width: 95%;
    background-color: var(--black);
    padding: 12px 15px;
    border-radius: 89px;
    max-width: 1200px;
    margin: 20px auto 50px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-left: 10px;
    text-transform: capitalize;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-medium);
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 15px;
    border: 2px solid var(--slovenia-green);
    border-radius: 39px;
    color: var(--white);
    transition: background 0.3s ease;
}

.contact-link i {
    margin-right: 8px;
}

.contact-link:hover {
    background: var(--slovenia-green-hover);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

.mobile-menu {
    position: fixed;
    z-index: 10;
    top: 150px;
    right: -100%;
    width: 250px;
    height: 70vh;
    background: var(--black);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.3s ease-in-out;
    border-radius: 39px 0 0 39px;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    align-self: flex-end;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 20px 0 0 30px;
}

.mobile-nav-link {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-medium);
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--white);
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 0;
    color: var(--white);
}

.mobile-contact-link i {
    margin-right: 8px;
}

@media (max-width: 992px) {
    .header-nav {
        display: none;
    }

    .contact-link {
        display: none;
    }

    .burger-menu {
        display: block;
        margin-right: 10px;
    }
}

/*--------footer--------------------*/

.footer {
    margin-top: 100px;
    background-color: var(--slovenia-stone);
    padding: 40px 0 20px;
    color: var(--black);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 18px;
}

.footer-brand {
    flex: 1 1 300px;
    margin-right: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo span {
    color: var(--black);
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-brand p {
    font-size: 1rem;
    color: var(--gray-dark);
    margin: 10px 0;
}

.footer-links,
.footer-services,
.footer-policy {
    flex: 1 1 200px;
}

.footer-links h3,
.footer-services h3,
.footer-policy h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a,
.footer-policy a {
    display: block;
    font-size: 1rem;
    color: var(--black);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-policy a:hover {
    color: var(--slovenia-green);
}

.footer-bottom {
    text-align: center;
    padding: 15px 15px 0;
    border-top: 1px solid var(--gray-dark);
    max-width: 1200px;
    margin: 30px auto 0;

}

.footer-bottom__row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
}

.footer-owner,
.footer-address,
.footer-copy {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

@media (max-width: 992px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-brand {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }

    .footer-links,
    .footer-services,
    .footer-policy {
        flex: 1 1 300px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .footer-links,
    .footer-services,
    .footer-policy {
        margin-top: 15px;
    }

    .footer-links, .footer-links,
    .footer-services,
    .footer-policy {
        flex: none;
    }
}



/*--------cookie-banner--------------------*/

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: var(--slovenia-stone);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    display: none;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cookie-banner p {
    font-size: 1rem;
    flex-grow: 1;
    margin-right: 20px;
    color: var(--gray-light);
}

.cookie-policy-link {
    color: var(--slovenia-blue);
    font-weight: bold;
    text-decoration: none;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
}

.btn-accept {
    background: var(--slovenia-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: var(--slovenia-blue-hover);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-banner p {
        margin-right: 0;
    }
}