html {
    scroll-behavior: smooth;
  }

.archivo-subtitle {
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.archivo-title {
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 750;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    /* font-family: 'Inter body'; */
}

/* Reset margins and paddings */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Archivo", sans-serif;
}

header {
    width: 100%;
    height: 10vh;
    padding: 0 32px;
    min-height: 64px;
    display: flex;
}

header nav {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    margin-left: auto;
}

header nav > span {
    padding: 0 16px;
    pointer-events: auto;
    cursor: pointer;
}

.cover {
    position: relative;
    height: 65dvh;
    width: 100%;
    /* padding: 32px 0; */
    background-color: #f5f5f5;
    z-index: 1;
    overflow: hidden;

    img {
        width: 100%;
        height: auto;
    }

    .cover-text  {
        position: absolute;
        left: 0;
        line-height: 1;
        margin: auto 5vw;
        z-index: 4;

        &.title-text {
            font-size: 6rem;
            top: 10vh;
        }
        &.subtitle-text {
            font-size: 2rem;
            top: calc(10vh + 6rem);
            color: gray;
        }
    }

    .cover-bottom-half {
        width: 100%;
        height: 25dvh;
        padding: 0 5vw;
        position: absolute;
        bottom: 0;
        background-color: #C8CFE7;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 12px;
        padding-top: 8px;

        .color-switch-container {
            display: flex;
            justify-content: start;
            column-gap: 1.4rem;
        }
    }
}

.cover .roller-door {
    position: absolute;
    right: 6rem;
    top: 0;
    width: auto;
    height: 60vh;
    margin-top: 4vh;
    z-index: 5;
}

.color-btn {
    height: 6rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    cursor: pointer;

    &.white {
        background-color: white;
    }
    &.brown {
        background-color: brown;
    }

    &.anthracite {
        background-color: #222222;
    }
}

.text-over-image {
    position: absolute;
    width: 40%;
    margin-left: 8vw;
    font-family: "Archivo";
    /* text-transform: uppercase; */
    font-weight: bold;
    bottom: 50%; /* Distance from the bottom */
    color: #fff;  /* Text color */
    font-size: 72px; /* Adjust as needed */
    animation: slideUp 1s ease forwards;
    transform: translateY(100%);
    opacity: 0;
  }

  /* Slide-up animation */
  @keyframes slideUp {
    0% {
      opacity: 0;
      transform: translateY(200%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

.content {
    display: flex;
    gap: 10vw;
    padding: 40px 16px;
    justify-content: center;
    .circle-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        .circle{
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            width: 6vw;
            aspect-ratio: 1/1;
            background-color: #333;
        cursor: pointer;

        }
        .material-symbols-outlined{
            font-size: 4vh;
            color: #f5f5f5;
        }
    }
}
.subtitle-text {
    font-family: "Archivo";
    font-size: 32px;
    font-weight: normal;
    bottom: 40%;
    line-height: 0.8;
    /* margin: 12px; */
    /* padding: 0; */
}

.small-title-text {
    font-family: "Archivo";
    font-size: 18px;
    font-weight: 650;
    line-height: 0.8;
    margin: 12px;
    padding: 0;
    color: #333333;
    margin-left: 0;
}

.title-text {
    font-family: "Archivo";
    font-size: 46px;
    font-weight: bold;
    color: #333;
}
.gallery{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 0 5vw;
    margin-bottom: 32px;
}
.gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px; /* Optional: Adds space between grid items */
    .image {
        /* background-color: gray; */
        aspect-ratio: 16/9;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            }
    }
}

@media screen and (max-width:768px) {
    .gallery-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px; /* Optional: Adds space between grid items */
    }

    .color-btn {
        height: 8vw;
    }
    .cover .roller-door{
        width: 28vw;
        height: auto;
        bottom: 0 !important;
        top: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .content {
        gap: 4vw; /* Smaller gap for tablets */
        flex-direction: column; /* Stack circles vertically on small screens */
        padding: 20px 10px; /* Adjust padding for smaller screens */
        .circle-list .circle {
            width: 20vw; /* Larger circles on smaller screens */
            .material-symbols-outlined {
                font-size: 5vh; /* Increase icon size */
            }
        }
    }
    .lightbox {
        width: 100vw;
    }
}

@media screen and (max-width: 480px) {
    .cover {
        height: 90dvh;
        .main-text {
            top: 20%;
        }
        .subtitle-text {
            width: 80%;
        }
        img {
        height: 100%;
        width: auto;
    }
}
    .content {
        gap: 2vw; /* Reduce gap further for mobile screens */
        padding: 10px; /* Less padding on mobile */
        .circle-list .circle {
            width: 50vw; /* Even larger circles on mobile */
            aspect-ratio: 1/1;
            .material-symbols-outlined {
                font-size: 6vh; /* Larger icons on mobile */
            }
        }
    }
}



/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
}

/* Header styling */
header {
    background-color: #001f3f; /* Navy blue */
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

header .container {
    display: flex;
    justify-content: space-between; /* Logo left, links right */
    align-items: center;
    width: 84vw;
}

.logo img {
    height: 64px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #66b2ff; /* Light blue links */
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}
#contact {
    padding: 50px 0;
    background-color: #001f3f; /* Navy blue background */
    color: white;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #001a35; /* Slightly darker navy */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #fff;
    text-align: left; /* Left-aligned */
}

.contact-info {
    text-align: left; /* Left-aligned text */
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
    color: #cbd4e1; /* Lighter text color */
}

.contact-info a {
    color: #66b2ff; /* Lighter blue for links */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 70vw;
    min-height: 50vh;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 25;
    .lightbox-header {
        display: flex;
        justify-content: end;
        color: white;
        padding: 8px;
        cursor: pointer;
        .material-symbols-outlined{
        font-size: 48px !important;
        }
    }
  }
  .lightbox-content{
    background: white;
    padding: 16px;
    border-radius: 10px;
    display: none;
    /* max-width: 500px; */
  }
  #garazna-vrata, #ulazna-vrata, #kapija {
    max-width: 80vw;
    max-height: 80vh;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Enables vertical scrolling */
    ul {
        list-style-type: none;
        padding: 0;
      }
      p {
        font-size: 1.1em;
        margin-bottom: 20px;
      }
      h2 {
        font-size: 1.8em;
        color: #007BFF;
        margin-bottom: 20px;
        text-align: center;
      }
      ul li {
        font-size: 1.1em;
        margin: 10px 0;
        padding-left: 20px;
        position: relative;
      }
      ul li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #28a745;
        font-size: 1.2em;
      }
  }

  .image-container {
    text-align: center;
    margin: 20px 0;
  }

  .image-container img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
  }

  .image-caption {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
  }