@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
  }

:root {
    font-family: "Montserrat", sans-serif;
    --content-padding: 250px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2 {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.banner {
    height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-image:
    linear-gradient(90deg, rgba(22,22,22,1) 40%, rgba(0, 0, 0, 0.397) 100%),
    url('assets/banner2.jpg');
    background-size: cover;
    background-position: left;
}

.banner h1,
.banner h2 {
    padding: 0 var(--content-padding);
}

.banner h2 {
    color: #006A4F;
}

.disclaimer {
    font-style: italic;
    padding: 0 var(--content-padding);
    color: #b6b6b6;
}

footer {
    padding: 20px 0;
    background-color: #003f3e;
}

.footer-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--content-padding);
}

footer p {
    margin: 0;
}

.vizual-logo {
    width: 100px;
}

.content {
    background-color: #161616;
    color: white;
    width: calc(100vw - 300px);
}

.sidebar {
    width: 300px;
    background-color: #004241;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
}

.nav {
    height: 70vh;
    display: flex;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

.nav a {
    color: white;
    text-decoration: none;
}

.nav li {
    list-style: none;
    padding: 40px 20px;
}

.main-heading {
    font-size: 36px;
}

.navul a:first-child {
    background-color: #014948;
}

.navul a:last-child {
    background-color: #003f3e;
}

.nav ul {
    padding-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact {
    padding: 50px;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #333333;
    line-height: 1.4;
    color: aliceblue;
    transition: all 0.5s ease-in-out;
}

.contact span {
    padding-bottom: 10px;
}

.about {
    padding: 40px var(--content-padding);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.es-fonds {
  padding: 40px var(--content-padding);
  display: flex;
  flex-direction: column;
}

.es-fonds h2 {
  margin-bottom: 20px;
}

.services-cont h2 {
    padding: 0 var(--content-padding);
}

.contact-btn {
    margin: 0 var(--content-padding);
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}

.cta {
    padding: 40px 0;
    background-color: #006A4F;
}

.cta p {
    padding: 0 var(--content-padding);
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 25px;
}

.check-serv-btn {
    margin: 0 var(--content-padding);
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: fit-content;
    background-color: #1a1a1a !important;
}

.services-desc {
    margin: 10px 0;
}

.services-cont {
    padding: 30px 0;
    background-color: #1a1a1a;
}

.service {
    padding: 30px var(--content-padding);
}

.services {
    padding-bottom: 30px;
}

.service:first-child,
.service:nth-child(3) {
    background-color: #1a1a1a;
}

.service:nth-child(2),
.service:nth-child(4) {
    background-color: #1f1f1f;
}

.button {
    appearance: none;
    color: aliceblue;
    text-decoration: none;
    background-color: #006A4F;
    padding: 20px 20px;
    display: inline-block;
    border-radius: 50px;
}

.arrow-down {
    width: 20px;
    height: 20px;
}

.phone-nav {
    width: 100%;
    background-color: #003f3e;
    margin: 0;
    padding: 25px var(--content-padding);
}

.phone-nav-list {
    margin: 0;
    display: flex;
    gap: 30px;
    padding: 0;
}

.phone-nav-list a {
    color: white;
    text-decoration: none;
    list-style: none;
}

.phone-contacts {
    margin-top: -130px;
    display: flex;
    justify-content: space-between;
    padding: 30px var(--content-padding);
    background-color: #333333;
    color: #f0f8ff;
    align-items: center;
    transition: margin-top 0.5s ease-in;
}

.service-dislaimer {
    font-size: 12px;
    color: #b6b6b6;
    font-style: italic;
}

.contact-info {
    display: flex;
    gap: 40px;
}

.phone-contacts.active {
    margin-top: 0;
}

.phone-container {
    display: none;
    position: fixed;
    width: 100%;
}

.image-scheme {
    width: 100%;
    border: 1px solid #014948;
    cursor: pointer;
}

#fullpage {
    display: none;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: black;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: auto;
    cursor: pointer;
}

.es-fonds-img {
  width: 30%;
  min-width: 250px;
  height: auto;
}

.es-fonds-img-placeholder {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 1540px) {
    :root {
        --content-padding: 100px;
    }
}

@media (max-width: 1081px) {
    .sidebar {
        display:none;
    }
    .content {
        width: 100%;
    }
    .phone-container {
        display: block;
    }
    .content {
        padding-top: 70px;
    }
}

@media (max-width: 800px) {
    .phone-contacts {
        flex-direction: column;
        align-items: flex-start;
        margin-top: -160px;
    }
    .phone-contacts h3 {
        margin-top: 0;
    }
}

@media (max-width: 800px) {
    :root {
        --content-padding: 30px;
    }
}

@media (max-width: 410px) {
    :root {
        --content-padding: 20px;
    }
    p,
    a,
    span {
        font-size: 14px;
    }
    h3 {
        font-size: 18px;
    }
    .phone-contacts {
        margin-top: -152px;
    }
    .footer-cont {
        flex-direction: column;
        gap: 20px;
        padding: 10px var(--content-padding);
    }
    .cta p {
        font-size: 18px;
    }
}

/* E-veikals */
.shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.shop-link:hover {
    background-color: #008060;
}

.shop-link:focus-visible {
    outline: 3px solid #f0f8ff;
    outline-offset: 4px;
}

.shop-link-icon {
    flex-shrink: 0;
}

.sidebar-shop-link {
    position: absolute;
    top: 32px;
    left: 20px;
    right: 20px;
}

.phone-shop-item {
    list-style: none;
}

.phone-shop-item .shop-link {
    padding: 10px 18px;
}

@media (max-width: 1081px) {
    .phone-nav-list {
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .content {
        padding-top: 96px;
    }
}

@media (max-width: 620px) {
    .phone-nav {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .phone-nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
    }
    .phone-nav-list > a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
    .phone-shop-item .shop-link {
        width: 100%;
        min-height: 44px;
    }
    .content {
        padding-top: 120px;
    }
}
