html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif; 
}


body {
    background-color: #F1EDE9;
}

.hero-header {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Primary grass background image */
    overflow: hidden;
    padding: 2rem 4rem; 
    z-index: 1;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease-in-out; 
    z-index: -1; 
}

.hero-bg-layer.bg-active {
    opacity: 1;
}

.navbar, 
.hero-content, 
.slider-progress-bar {
    position: relative;
    z-index: 2;
}
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    margin-top: 2rem;
}

.hero-text-side {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-left: 3rem;
}

.hero-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Darker Grotesque', sans-serif;
    width: 80%;
}


.cta-button {
    align-self: flex-start;
    border-radius: 1.778px;
    background: linear-gradient(97deg, #CEB679 0%, #C4B48C 32.77%, #D8C9A4 56.8%, #C1A45A 100%);
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-product-side {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.product-image {
    max-height: 65vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    animation: float 4s ease-in-out infinite; 
}

.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px; /* Povećana debljina trake */
    background-color: #CCCCCC;
    z-index: 10;
}

.progress-line {
    height: 100%;
    width: 33.333%; 
    --current-cream-color: #959F92; 
    background-color: var(--current-cream-color); 
    box-shadow: 0 0 3px var(--current-cream-color); 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease; 
}

.progress-line.step-1 {
    transform: translateX(0%); 
}

.progress-line.step-2 {
    transform: translateX(100%); 
}

.progress-line.step-3 {
    transform: translateX(200%); 
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.products-section {
    width: 100%;
    padding: 5rem 4rem;
    background-color: #F1EDE9; 
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(97deg, #CEB679 0%, #C4B48C 32.77%, #D8C9A4 56.8%, #C1A45A 100%) 1;
}

.products-container {
    max-width: 1300px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; 
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 100%;
    max-width: 417px;
    overflow: hidden; 
}

.card-image {
    width: 100%; 
    height: auto;
    aspect-ratio: 417 / 424; 
    object-fit: cover; 
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease-in-out;
}
.product-card:hover .card-image {
    transform: scale(1.07); 
}
.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 0.3rem;
}

.card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #767676; 
    font-weight: 400;
}

.about-section {
    width: 100%;
    min-height: 80vh; 
    background: url('image_about.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 4rem 7rem; 
    position: relative;
}

.about-content {
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-title {
    color: #fff;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.about-description {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1rem;
}

.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pure-video-section {
    width: 100%;
    padding: 6rem 2rem;
    background-color: #fbfaf9; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.standalone-video {
    width: 100%;
    max-width: 960px;
    height: auto;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
    border: 16px solid #FFFFFF; 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); 
}
.contact-section {
    width: 100%;
    padding: 6rem 4rem;
    background-color: #F1EDE9;
    position: relative; 
    overflow: hidden;
}

.contact-honeycomb-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); 
    height: 90%; 
    width: auto;
    pointer-events: none; 
    z-index: 1; 
    opacity: 0.85; 
}

.contact-container {
    position: relative;
    z-index: 2; 
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.contact-form-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #2b2b2b;
    line-height: 1;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 450px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #2b2b2b;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: #EBE6E1; 
    border: 1px solid #CEB679; 
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #2b2b2b;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #C1A45A;
    box-shadow: 0 0 5px rgba(206, 182, 121, 0.3);
}

.input-group textarea {
    resize: none; 
}

.submit-button {
    align-self: flex-end; 
    border: none;
    background: linear-gradient(97deg, #CEB679 0%, #C4B48C 32.77%, #D8C9A4 56.8%, #C1A45A 100%);
    color: #2b2b2b;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 6rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.info-item span, 
.info-item a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

.info-item a:hover {
    color: #C1A45A;
}

.main-footer {
    width: 100%;
    background-color: #4A4E3D; 
    padding: 3.5rem 4rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
}

.footer-links-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-side a {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    width: fit-content;
    transition: color 0.2s ease;
}

.footer-links-side a:hover {
    color: #CEB679; 
}

.footer-copyright-side p {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-brand-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 1.5rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
}

.footer-socials img {
    width: 24px; 
    height: 24px;
}

@media (max-width: 1024px) {
    .hero-header {
        padding: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 3rem;
        margin-bottom: 2rem;
    }
    
    .hero-text-side {
        max-width: 100%;
        align-items: center;
        gap: 1.5rem;
        margin-left: 0;
    }
    
    .cta-button {
        align-self: center;
    }

    .products-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
        justify-items: center; 
    }
    
    .product-card {
        align-items: center; 
        text-align: center;
        max-width: 100%; 
    }

    .card-image {
        width: 100%; 
        height: auto; 
        aspect-ratio: 417 / 424; 
    }
    .about-section {
        padding: 4rem 2rem;
        min-height: auto;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url('image_about.png') center center / cover no-repeat;
    }

    .about-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .about-title {
        font-size: 2.8rem;
    }

    .about-features li {
        justify-content: center; 
    }
    .pure-video-section {
        padding: 0; 
    }

    .standalone-video {
        border: none; 
        max-width: 100%;
        box-shadow: none; 
    }
    .contact-section {
        padding: 4rem 1.5rem;
        background-position: bottom right; 
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-side,
    .main-contact-form {
        max-width: 100%;
        width: 100%;
    }

    .contact-title {
        font-size: 2.8rem;
        text-align: center;
    }

    .submit-button {
        align-self: center; 
        width: 100%; 
    }

    .contact-info-side {
        padding-top: 0; 
        align-items: flex-start;
        padding-left: 1rem;
    }

    .info-item span, 
    .info-item a {
        font-size: 1.1rem;
    }
    .main-footer {
        padding: 3rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr; 
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand-side {
        grid-row: 1; 
        align-items: center;
    }

    .footer-links-side {
        align-items: center;
        gap: 1rem;
    }

    .footer-links-side a {
        font-size: 1.1rem; 
    }

    .footer-copyright-side {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        width: 100%;
    }
}