*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:white;
    font-family:Arial, sans-serif;
}

header{
    width:100%;
    padding:25px 70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#111;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
}

.logo{
    font-size:28px;
    font-weight:bold;
    letter-spacing:2px;
}

.logo span{
    color:#d4af37;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:30px;
    font-size:15px;
}

nav a:hover{
    color:#d4af37;
}

.hero{
    min-height:80vh;
    padding:120px 70px;
    background:
    linear-gradient(rgba(0,0,0,0.65),rgba(0,0,0,0.65)),
    url("../images/products/AluWindow.jpeg");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    animation: zoomHero 12s ease-in-out infinite alternate;
    @keyframes zoomHero{
        0%{
            background-size:100%;
        }
        100%{
            background-size:110%;
        }
    }
    margin-top:90px;
}

.hero-content{
    max-width:700px;
    animation:fadeUP 1.5s ease;
}
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    margin-bottom:25px;
}

.hero h1 span{
    color:#d4af37;
}

.hero p{
    font-size:18px;
    line-height:1.7;
    color:#ddd;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#d4af37;
    color:black;
    text-decoration:none;
    padding:16px 35px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:white;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(212,175,55,0,4);
}

.categories{
    padding:100px 70px;
    background:#0b0b0b;
}

.categories h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.cat-box{
    background:#151515;
    border:1px solid #292929;
    padding:40px 25px;
    text-align:center;
    font-size:21px;
    font-weight:bold;
    transition:0.3s;
    transition:0.4s;
    cursor:pointer;
    pading: 0;
    overflow:hidden;
    
    .cat-box img{
        width: 100%;
        height:20px;
        object-fit:cover;
        display:block;
    }
    .cat-box h3{
        padding: 22px;
    }
}

.cat-box:hover{
    transform:translateY(-8px);
    border-color:#d4af37;
    color:#d4af37;
    transform:translateY(-10px);
    border-color:#d4af37;
    box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

footer{
    padding:35px;
    text-align:center;
    background:#111;
    color:#999;
}

@media(max-width:768px){

    header{
        padding:20px;
        display:block;
    }

    nav{
        margin-top:15px;
    }

    nav a{
        display:inline-block;
        margin:8px 10px 0 0;
    }

    .hero{
        padding:90px 20px;
    }

    .hero h1{
        font-size:42px;
    }

    .categories{
        padding:70px 20px;
    }

    .logo img{
        height:60px;
        width:auto;
    }

    .about{
    padding:100px 70px;
    background:#111;
}

.about-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.about h2{
    font-size:42px;
    margin-bottom:30px;
    color:#d4af37;
}

.about p{
    font-size:18px;
    line-height:1.8;
    color:#ddd;
    margin-bottom:20px;
}

.contact{
    padding:100px 70px;
    background:#0b0b0b;
    text-align:center;
}

.contact h2{
    font-size:42px;
    color:#d4af37;
    margin-bottom:30px;
}

.contact p{
    font-size:18px;
    color:#ddd;
    margin-bottom:12px;
}

.contact .btn{
    margin-top:25px;
}

.hero-content{
    animation:fadeUp 1.2s ease forwards;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.logo img{
    height:20px;
    width:auto;
    display:block;
}

.language{
    position:relative;
    cursor:pointer;
}

.lang-btn{
    color:#d4af37;
    border:1px solid #d4af37;
    padding:10px 16px;
    border-radius:6px;
    font-weight:600;
    font-size:14px;
}

.lang-menu{
    display:none;
    position:absolute;
    top:50px;
    right:0;
    background:#111;
    width:180px;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #333;
    z-index:999;
}

.lang-menu a{
    display:block;
    padding:14px 18px;
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.lang-menu a:hover{
    background:#d4af37;
    color:black;
}

.language:hover .lang-menu{
    display:block;
}

.lang-menu.show{
    display:block;
}

.product-card {
    height: 260px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-card img 
    .card img,
    .products img {
    max-width: 150% !important;
    height: 120px !important;
    object-fit: contain !important;
    transition: 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

}
.logo { color: #fff; text-decoration: none; }
section[id] { scroll-margin-top: 120px; }
.categories-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cat-box { display: grid; align-content: center; justify-items: center; gap: 16px; padding: 18px; color: inherit; text-decoration: none; }
.categories-grid .cat-box img { width: min(100%, 200px); height: auto; object-fit: contain; }
.categories-grid .cat-box h3 { padding: 0; }
.cat-box:focus-visible { outline: 2px solid #d4af37; outline-offset: 4px; }
.product-gallery > img { display: block; max-width: 100%; max-height: 620px; width: auto; height: auto; object-fit: contain; }
.b2b-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.categories-grid .cat-box .export-thumbnail { aspect-ratio: 1; object-fit: cover; }
.project-photos { width: min(100%, 1100px); margin: 48px auto 0; }
.project-photos h2 { text-align: center; margin-bottom: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.project-grid a { display: block; background: #151515; border: 1px solid #292929; border-radius: 6px; }
.project-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.project-grid a:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }

header .logo img {
    display: block;
    width: clamp(138px, 17vw, 192px);
    height: auto;
}

.certifications { margin-top: 48px; }
.certifications h3 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 20px; }
.certificate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 16px; }
.certificate { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; gap: 8px; color: inherit; text-decoration: none; background: #161616; border: 1px solid #333; border-radius: 6px; }
.certificate:hover, .certificate:focus-visible { border-color: #d4af37; outline: 1px solid #d4af37; }
.certificate img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #efefef; }
.certificate-title { color: #d4af37; font-weight: 700; }
.certificate-detail { color: #ddd; font-size: 0.85rem; }

body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
header { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; padding: 16px clamp(18px, 5vw, 70px); }
header nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
header nav a { margin: 0; }
header nav a[aria-current="page"] { color: #d4af37; }
.language-switch { position: relative; justify-self: end; }
.language-switch summary { cursor: pointer; list-style: none; padding: 7px 8px; border: 1px solid #56534c; border-radius: 6px; white-space: nowrap; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary span { font-size: .72rem; }
.language-options { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 130px; background: #191919; border: 1px solid #56534c; border-radius: 6px; }
.language-options a { display: block; padding: 10px 14px; color: white; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current="true"] { color: #d4af37; background: #252525; }
.standalone-page { padding-top: 90px; }
.standalone-page h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 28px; }
.standalone-page .categories h1 { text-align: center; }
.standalone-page .about p { padding-bottom: 14px; }
.certificate-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 162px)); gap: 12px; }
.certificate { padding: 8px; }
.certificate img { height: 140px; aspect-ratio: auto; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 90px); margin-top: 82px; background: #111; animation: none; padding: 110px clamp(24px, 8vw, 120px); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.38) 80%); }
.home-photos, .home-photos img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-photos { z-index: -2; }
.home-photos img { object-fit: cover; object-position: center 45%; opacity: 0; }
.home-photos img:first-child { opacity: 1; }
.home-photos img:nth-child(2) { animation: hero-second 24s ease-in-out infinite; }
.home-photos img:nth-child(3) { animation: hero-third 24s ease-in-out infinite; }
@keyframes hero-second { 0%, 29%, 68%, 100% { opacity: 0; } 36%, 62% { opacity: 1; } }
@keyframes hero-third { 0%, 62%, 100% { opacity: 0; } 69%, 93% { opacity: 1; } }
.photos-paused .home-photos img { animation-play-state: paused; }
.home-hero h1 { font-size: clamp(39px, 7vw, 84px); line-height: 1.04; }
.hero-motion { position: absolute; bottom: 20px; right: 22px; background: #141414; color: #fff; border: 1px solid #bbb; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 740px) {
    header { grid-template-columns: 1fr auto; gap: 7px 12px; }
    header nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; }
    header nav a { font-size: 13px; }
    .standalone-page { padding-top: 114px; }
    .home-hero { margin-top: 104px; min-height: calc(100svh - 104px); }
    .standalone-page .about, .standalone-page .contact { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-photos img, .hero-content { animation: none !important; }
    .hero-motion { display: none; }
}
