html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background-color: #1a1a1a; color: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
.gold-text { color: #d4af37; }
.bg-dark-oak { background-color: #222222; }
.btn-gold { background-color: #d4af37; transition: 0.3s; color: #000; }
.btn-gold:hover { background-color: #b8962e; transform: translateY(-2px); }

.active-tab {
    background-color: #d4af37 !important;
    color: #000 !important;
    border-color: #d4af37 !important;
}

.project-content img, .material-img, .factory-img {
    transition: all 0.5s ease;
    cursor: zoom-in;
}
.project-content img:hover, .material-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

#lightbox { transition: opacity 0.3s ease; }
#lightbox.hidden { display: none; opacity: 0; }

.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-content { max-height: 500px; padding-bottom: 1.5rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

section[id] { scroll-margin-top: 80px; }

/* Mobile Menu */
#mobile-menu { transition: transform 0.3s ease-in-out; transform: translateX(100%); }
#mobile-menu.open { transform: translateX(0); }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(46, 46, 46, 0.8);
    z-index: 1000;
}

.cookie-banner-hide {
    transition: bottom 1s ease;
    bottom: -100%;
}

.cookie-banner .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.cookie-banner .row {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cookie-banner p {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    letter-spacing: normal;
    color: #fff;
    padding-right: 15px;
    margin-top: 1rem;
    flex: 1 1 auto;
    max-width: 900px;
}

.cookie-banner a {
    max-width: 250px;
}
.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-banner-close {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 17px;
    height: 17px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB4PSI1LjMzMzA3IiB5PSI2LjY2Njk5IiB3aWR0aD0iMS44ODU2MiIgaGVpZ2h0PSIxNi45NzA2IiB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgNS4zMzMwNyA2LjY2Njk5KSIgZmlsbD0id2hpdGUiLz48cmVjdCB4PSI2LjY2NTk1IiB5PSIxOC42NjYiIHdpZHRoPSIxLjg4NTYyIiBoZWlnaHQ9IjE2Ljk3MDYiIHRyYW5zZm9ybT0icm90YXRlKC0xMzUgNi42NjU5NSAxOC42NjYpIiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg==);
    background-position: center;
}

@media only screen and (max-device-width: 1024px) {
    .cookie-banner p {
        padding-left: 30px;
        padding-right: 80px;
    }

    .cookie-banner-close {
        left: 15px;
    }
}

.cookie-banner .btn-prim.light {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-banner .btn-prim.light:hover {
    text-decoration: underline;
}

html.cookie-accepted .cookie-banner { display: none; }

.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
