/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #fff;
}

ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__logo,
.nav__burger,
.nav__close {
    color: #6D6D6D;
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
    font-weight: initial;
    font-size: 1.25rem;
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    .nav__list {
        background-color: #ffffff;
        padding-top: 1rem;
    }
}

.nav__link {
    color: #6D6D6D;
    background-color: #ffffff;
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav__link:hover {
    background-color: #ffffff;
    color: #c92123;
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
}

/* For large devices */
@media screen and (min-width: 1118px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav__link:hover {
        background-color: transparent;
    }
}

#home,
#services,
#contact {
    scroll-margin-top: 80px;
    /* Adjust based on navbar height */
}



/*====== HERO SECTION ======*/

.landing-hero {
    position: relative;
    background: linear-gradient(90deg, rgba(255, 3, 3, 1) 0%, rgba(207, 28, 25, 1) 55%, rgba(133, 65, 65, 1) 98%);
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, sans-serif;
    color: white;
    text-align: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    /* dark overlay for contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #f0f0f0;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/*====== NAŠ CILJ ======*/

.our-story {
    padding: 80px 20px;
    background-color: #fff;
    color: #333333;
    text-align: center;
    font-family: Poppins, sans-serif;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 150px;
    justify-content: center;
}

.text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.text-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #444444;
}

.text-content p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666666;
}

.text-content .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #c92123;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.text-content .cta-button:hover {
    background-color: #c6191b;
}

.image-content {
    flex: 1;
    max-width: 600px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        text-align: center;
        padding: 0 20px;
    }

    .text-content h1 {
        font-size: 36px;
    }

    .text-content p {
        font-size: 16px;
    }

    .text-content .cta-button {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .text-content h1 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 14px;
    }

    .text-content .cta-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .image-content img {
        width: 90%;
    }
}

h2 {
    text-align: center;
    margin: 30px 0;
    font-size: 2rem;
    color: #2c3e50;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 20px;
    background-color: #fff;
}

.why-choose-us-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.why-choose-us-item {
    flex: 1 1 45%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: transform 0.3s;
}

.why-choose-us-item:hover {
    transform: translateY(-10px);
}

.why-choose-us-item h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333333;
}

.why-choose-us-item p {
    font-size: 1em;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-choose-us-item {
        flex: 1 1 100%;
    }
}

/*====== Sigurnost i prfesionalnost ======*/

.landing-safety {
    padding: 80px 20px;
    background-color: #fff;
    color: #333333;
    font-family: Poppins, sans-serif;
    text-align: center;
}

.safety-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-safety h1 {
    font-size: 36px;
    color: #444444;
    margin-bottom: 20px;
}

.landing-safety p {
    font-size: 18px;
    line-height: 1.8;
    color: #666666;
}

/* Responsive font scaling */
@media (max-width: 600px) {
    .landing-safety h1 {
        font-size: 28px;
    }

    .landing-safety p {
        font-size: 16px;
    }
}

.contact-section {
    background-color: #F9F9F9;
    padding: 60px 20px;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-container h2 {
    text-align: center;
    color: #a6191b;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    background-color: white;
    padding: 20px;
    border-left: 5px solid #a6191b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.contact-item a {
    color: #a6191b;
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-item {
        flex: 1;
    }
}



/*CTA*/

.landing-cta {
    padding: 80px 20px;
    background-color: #fff;
    color: #333333;
    font-family: Poppins, sans-serif;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-cta h1 {
    font-size: 36px;
    color: #444444;
    margin-bottom: 20px;
}

.landing-cta p {
    font-size: 18px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 30px;
}

.landing-cta .cta-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #c92123;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.landing-cta .cta-button:hover {
    background-color: #a6191b;
}

/* Optional Responsive Text Scaling */
@media (max-width: 600px) {
    .landing-cta h1 {
        font-size: 28px;
    }

    .landing-cta p {
        font-size: 16px;
    }
}


/*Footer*/
.footer {
    background-color: #E8E8E8;
    color: #6D6D6D;
    padding: 2rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section Styling */
.footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer p,
.footer ul {
    font-size: 0.875rem;
    margin: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    text-decoration: none;
    color: #6D6D6D;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #c92123;
}

/* Social Media Icons */
.footer-social .social-icons a {
    font-size: 1.5rem;
    color: #ffffff;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #c92123;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-media-icons img {
    display: inline-block;
    margin: 0 10px;
    width: 40px;
    height: 40px;
}