html {
    scroll-behavior: smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background-color: #1c1f24;
    color: #fff;
}

section {
    scroll-margin-top: 80px;
}

h1 {
    font-weight: bold;
    font-size: 62px;
}

h2 {
    position: relative;
    font-size: 2.2rem;
    margin-bottom: 1em;
}

.margin-bottom {
    margin-bottom: 1em;
}

.side-padding {
    padding-left: 5%;
    padding-right: 5%;
}

.border-right {
    border-right: 3px solid #d9a637;
}

.highlight {
    color: #d9a637;
}

h2::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width: 50px;
    height:2px;
    background:#d9a637;
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:#1c1f24;
    z-index:1000;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.container{
    width:90%;
    max-width:1400px;
    height:100%;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    max-height:60px;
    width:auto;
    display:block;
}

.nav-links ul{
    display:flex;
    list-style:none;
    gap:50px;
}

.nav-links a{
    position:relative;
    text-decoration:none;
    color:#fff;
    text-transform:uppercase;
    font-size:14px;
    font-weight:500;
    letter-spacing:.5px;
    padding:8px 0;
    transition:color .3s ease;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:2px;
    background:#d9a637;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after{
    transform:scaleX(1);
}

.quote-btn{
    background:#d9a637;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-size:14px;
    font-weight:600;
    padding:24px 40px;
    transition:.3s;
}

.quote-btn:hover{
    background:#bf902c;
}

#menu-toggle{
    display:none;
}

.hamburger{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#fff;
    border-radius:5px;
    transition:.3s;
}

.mobile-quote{
    display:none;
}

/***************************************************************************************
Hero
************************************************************************/
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: #fff;
    position: relative;
}

.tagline {
    max-width: 500px;
    margin-bottom: 20px;
    color: #e5e5e5;
}

.socials {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    background-color: #1c1f24;
    padding: 18px;
    gap: 30px;
}

.icon {
    width: 25px;
    height: 25px;
}

.cta-button {
    background:#d9a637;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    padding:12px 18px;
    transition:.3s;
}

/********************************************************************************************
Banner
********************************************************************************************/
.banner {
    display:flex;
    justify-content:center;
    align-items:center;
    height: 120px;
    flex-wrap: wrap;
    margin-top: 2em;    
}

.g1,.g2 {
    display: flex;
}

.banner-item {
    text-align: center;
    width: 300px;
    
}

/*********************************************************************************************
Message
*********************************************************************************************/
.message {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 2em;
    padding-top: 3em;
    padding-bottom: 5em;
}

.message-content {
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 2em;
}

.message-content p {
    max-width: 750px;
}

.message img {
    max-width: 350px;
}

/***********************************************************************************************
About Us
***********************************************************************************************/
.about {
    background-color: #6F5B55;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top: 3em;
    padding-bottom: 5em;
}

.about-content {
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 2em;

}

.about-content img {
    max-width: 350px;
}

.about-content p {
    max-width: 750px;
}

/*******************************************************************************************
Why Choose Us
********************************************************************************************/
.why-us {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top: 3em;
    padding-bottom: 5em;
}

.why-content {
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 2em;
}

.why-box {
    display: flex;
    flex-direction: column;
    border: 1px solid #707070;
    width: 350px;
    padding: 20px;
    text-align: center;
    min-height: 230px;
}

.why-box h3 {
    margin-bottom: 10px;
}

/****************************************************************************************************
Products
*****************************************************************************************************/
.products {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top: 3em;
    padding-bottom: 5em;
    position: relative;
    margin-right: 20px;
    margin-left: 20px;
}

.products p {
    text-align: center;
}

.products-content {
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 2em;
    flex-wrap: wrap;
    max-width: 1200px;
}

.bg-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.2);
}

.product-item {
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #d9a637;
    overflow: hidden;
}

.product-item img {
    width: 100%;
    min-width: 348px;
    height: auto;
    max-height: 250px;
    margin-bottom: 10px;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/****************************************************************************************************
Gallery
*****************************************************************************************************/
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3em;
    padding-bottom: 5em;
}

.gallery p {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid #d9a637;
    position: relative;
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.12);
}

.gallery-item::after {
    content: '\2315';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(217, 166, 55, 0.35);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    cursor: pointer;
}

.gallery-hidden {
    display: none;
}

.gallery-view-more {
    margin-top: 2em;
    border: none;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid #d9a637;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}

.lightbox-close:hover {
    color: #d9a637;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 20px;
    transition: color .2s;
    user-select: none;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #d9a637;
}

/****************************************************************************************************
News
*****************************************************************************************************/
.news {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3em;
    padding-bottom: 5em;
    background-color: #16181c;
}

.news > p {
    text-align: center;
    max-width: 700px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    width: 100%;
    max-width: 1200px;
}

.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #707070;
    overflow: hidden;
    transition: border-color .3s;
}

.news-card:hover {
    border-color: #d9a637;
}

.news-card > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: filter .3s ease;
}

.news-card:hover > img {
    filter: brightness(1.1);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    padding: 20px;
    flex: 1;
}

.news-date {
    font-size: 0.8rem;
    color: #d9a637;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body h3 {
    font-size: 1rem;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.9rem;
    color: #c0c0c0;
    flex: 1;
}

.news-read-more {
    color: #d9a637;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity .2s;
    align-self: flex-start;
}

.news-read-more:hover {
    opacity: 0.75;
}

.news-article-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-block;
}

/**************************************************************************************************
Contact Us
**************************************************************************************************/

.contact-us {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top: 3em;
    padding-bottom: 5em;
}

.contact-us p {
    max-width: 750px;
    text-align: center;
}

.map-container {
    display:flex;
    gap: 2em;
    margin-bottom: 5em;
}

.map {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 1em;
}

.contact-content {
    display:flex;
    justify-content:space-around;
    align-items:stretch;
    width: 100%;
    gap: 2em;
}

.contact-form {
    display:flex;
    flex-direction:column;
    gap: 1em;
    width: 100%;
    max-width: 600px;
    border: 1px solid #707070;
    padding: 20px;
}

.contact-form-content {
    display:flex;
    flex-direction:column;
    gap: 1em;
    position: relative;
}

.form-row{
    display: flex;
    gap: 15px;
    width: 100%;
}

.form-row input{
    flex: 1;
    width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.contact-info {
    display:flex;
    flex-direction:column;
    justify-content:space-around;
    gap: 1em;
    width: 100%;
    max-width: 600px;
    border: 1px solid #707070;
    padding: 20px;
    min-height: 360px;
}

.footer-socials {
    display:flex;
    justify-content: center;
    gap: 2em;
}

.footer-socials img {
    width: 25px;
    height: 25px;
    transition: filter .3s ease;
}

input, textarea {
    padding: 10px;
    border: 1px solid #d9a637;
    background-color: #1c1f24;
    color: #fff;
}

textarea {
    height: 300px;
    width: 100%;
    resize: none;
}

/* Mobile */
@media(max-width:1334px){
    .border-right {
        border: none;
    }
}

@media(max-width:1130px){

    .navbar{
        height:70px;
    }

    body{
        padding-top:70px;
    }

    .logo img{
        height:45px;
    }

    .hamburger{
        display:flex;
    }

    .desktop-quote{
        display:none;
    }

    .nav-links{
        position:fixed;
        top:70px;
        right:-100%;
        width:100%;
        height:calc(100vh - 70px);
        background:#1c1f24;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:35px;
        transition:right .4s ease;
    }

    .nav-links ul{
        flex-direction:column;
        align-items:center;
        gap:30px;
    }

    .nav-links a{
        font-size:16px;
    }

    .mobile-quote{
        display:inline-block;
        padding:16px 35px;
    }

    #menu-toggle:checked ~ .nav-links{
        right:0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(1){
        transform:rotate(45deg) translate(7px, 7px);
    }

    #menu-toggle:checked + .hamburger span:nth-child(2){
        opacity:0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(3){
        transform:rotate(-45deg) translate(6px, -6px);
    }

    .message {
        padding-top: 2em;
        padding-bottom: 3em;
    }

    .message h2 {
        text-align: center;
    }

    .message-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
    }

    .message-content p {
        max-width: 100%;
    }

    .message img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        width: 100%;
    }

    .about-content img {
        width: 100%;
        max-width: 450px;
        height: auto;
    }

    .about-content p {
        max-width: 100%;
        text-align: center;
    }

    .why-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        width: 100%;
    }

    .why-box {
        width: 100%;
        max-width: 420px;
    }

    .map-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .map {
        width: 100%;
        max-width: 600px;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        width: 100%;
    }

    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 600px;
    }
}
@media(max-width:515px){
    .banner-item {
        width: 200px;
    }
}

/****************************************************************************************************
Scroll Animations
*****************************************************************************************************/
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.anim {
    opacity: 0;
}

.anim.visible {
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    animation-duration: 0.7s;
}

.anim-fade-up.visible    { animation-name: fadeUp; }
.anim-fade-in.visible    { animation-name: fadeIn; }
.anim-fade-left.visible  { animation-name: fadeLeft; }
.anim-fade-right.visible { animation-name: fadeRight; }

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }
.anim-delay-6 { animation-delay: 0.6s; }

/****************************************************************************************************
Hero Animations
*****************************************************************************************************/
@keyframes heroFadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
    animation: heroFadeDown 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-tagline {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
}

.hero-cta {
    animation: heroFadeIn 0.8s ease 0.6s both;
}

.hero-socials {
    animation: heroSlideUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
}

.copyright {
    color: rgb(142, 142, 142);
}

.copyright a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.tech-highlight {
    color: #38b5e3;
    font-weight: bold;
}

