/* =====================================================
   M1 BUILDING LLC
   Optimized stylesheet (cleaned formatting)
   NOTE:
   - Preserves your current design.
   - Next optimization step: merge duplicate .hero/.services
     rules and consolidate media queries.
   ===================================================== */

*{

margin:0;

padding:0;

box-sizing:border-box;

font-family:Montserrat,sans-serif;

}

body{

background:#111;

color:white;

}

header{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 30px;

    background: rgba(15,15,15,0.55);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    z-index: 999;
}

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

nav{

display:flex;

gap:35px;

}

nav a{
    color:white;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#C89B3C;
}

.btn{

background:#C89B3C;

padding:14px 28px;

border-radius:10px;

color:white;

text-decoration:none;

font-weight:700;

transition:.3s;

}

.btn:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(200,155,60,.35);

}

.hero{

height:100vh;

background: url("../images/hero2.jpg") center/cover no-repeat;

background-size:cover;

background-position:center;

position:relative;

display:flex;

align-items:center;

padding-left:8%;

}

.overlay{

position:absolute;

width:100%;

height:100%;

background:rgba(0,0,0,.55);

}

.content{

position:relative;

max-width:650px;

}

h1{

font-size:70px;

margin-bottom:25px;

}

p{

font-size:20px;

line-height:34px;

margin-bottom:40px;

}

.heroBtn{

background:#D6A74E;

padding:18px 38px;

color:white;

text-decoration:none;

border-radius:8px;

}

.services{

padding:100px 8%;

}

.services h2{

font-size:46px;

margin-bottom:60px;

text-align:center;

}

.cards{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.card{

background:#1d1d1d;

padding:45px;

border-radius:15px;

text-align:center;

transition:.3s;

}

.card:hover{

background:#D6A74E;

transform:translateY(-8px);

}

footer{

padding:50px;

text-align:center;

background:#181818;
}

    .hero{
    position:relative;
    height:100vh;
    background:url("../images/hero2.jpg") center center/cover no-repeat;
    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to right,
        rgba(10,10,10,.88),
        rgba(10,10,10,.45)
    );
}

.hero-content{

    position:relative;

    z-index:2;

    max-width:650px;

    margin-left:8%;

}

.subtitle{

    color:#C89B3C;

    letter-spacing:4px;

    font-size:15px;

    text-transform:uppercase;

}

.hero h1{

    font-size:72px;

    line-height:1.1;

    margin:25px 0;

}

.hero p{

    font-size:20px;

    line-height:34px;

    color:#ddd;

    margin-bottom:45px;

}

.hero-buttons{

display:flex;

gap:20px;

}

.primary-btn{

background:#C89B3C;

padding:18px 40px;

border-radius:10px;

color:white;

text-decoration:none;

font-weight:700;

}

.secondary-btn{

padding:18px 40px;

border:2px solid white;

border-radius:10px;

text-decoration:none;

color:white;

font-weight:700;

}

.secondary-btn:hover{

background:white;

color:black;

transition:.3s;

}

.services{
    padding:120px 8%;
    background:#111;
}

.services h2{
    text-align:center;
    font-size:52px;
    margin-bottom:70px;
}

.services-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}
@media(max-width:900px){

    .services-grid{
        grid-template-columns:1fr;
    }

}

.service-card{

background:#1c1c1c;

padding:45px;

border-radius:18px;

transition:.35s;

border:1px solid #2a2a2a;

}

.service-card:hover{

transform:translateY(-10px);

border-color:#C89B3C;

box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.service-card h3{

color:#C89B3C;

margin-bottom:20px;

font-size:26px;

}

.service-card p{

line-height:30px;

color:#cfcfcf;

}

.why-us{
    padding:120px 8%;
    background:#181818;
}

.why-us h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.why-card{
    background:#222;
    padding:40px;
    border-radius:18px;
    transition:.3s;
    border:1px solid #333;
}

.why-card:hover{
    transform:translateY(-8px);
    border-color:#C89B3C;
}

.why-card h3{
    color:#C89B3C;
    margin-bottom:15px;
}

.why-card p{
    color:#ddd;
    line-height:28px;
}

.projects{
    padding:120px 8%;
    background:#101010;
}

.projects h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card{
    background:#1c1c1c;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.project-info{
    padding:25px;
}

.project-info h3{
    color:#C89B3C;
    margin-bottom:10px;
}

.project-card:hover{
    transform:translateY(-8px);
}

.contact{
    padding:120px 8%;
    background:#181818;
}

.contact h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.contact-info h3{
    color:#C89B3C;
    margin-bottom:25px;
    font-size:30px;
}

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

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    background:#222;
    color:#fff;
    border:1px solid #333;
    border-radius:10px;
    padding:18px;
    font-size:16px;
}

.contact-form textarea{
    min-height:180px;
    resize:none;
}

.contact-form button{
    background:#C89B3C;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:18px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#d8ab48;
}

@media(max-width:900px){

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

}

.footer{
    background:#0d0d0d;
    padding:70px 8% 20px;
    border-top:1px solid #2b2b2b;
}

.footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    margin-bottom:40px;
}

.footer-logo img{
    width:90px;
    margin-bottom:20px;
}

.footer-logo p{
    color:#bfbfbf;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
}

.footer h3{
    color:#C89B3C;
    margin-bottom:20px;
}

.footer a{
    color:#d8d8d8;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer a:hover{
    color:#C89B3C;
}

.footer-contact p{
    margin-bottom:12px;
    color:#d8d8d8;
}

.copyright{
    border-top:1px solid #2b2b2b;
    padding-top:20px;
    text-align:center;
    color:#999;
}

@media(max-width:900px){

.footer-container{
    grid-template-columns:1fr;
}

}

.about{
    padding:120px 8%;
    background:#111;
}

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

.about h2{
    font-size:48px;
    margin-bottom:30px;
}

.about p{
    color:#d4d4d4;
    line-height:34px;
    margin-bottom:25px;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:60px;
}

.stat{
    background:#1c1c1c;
    padding:35px;
    border-radius:16px;
    border:1px solid #2b2b2b;
}

.stat h3{
    color:#C89B3C;
    font-size:42px;
    margin-bottom:10px;
}

.stat span{
    color:#ccc;
}

@media(max-width:900px){

.about-stats{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.about-stats{
    grid-template-columns:1fr;
}

}

.cta{
    padding:100px 8%;
    text-align:center;
    background:linear-gradient(135deg,#1b1b1b,#111);
}

.cta h2{
    font-size:52px;
    margin-bottom:25px;
}

.cta p{
    max-width:700px;
    margin:0 auto 40px;
    color:#d0d0d0;
    line-height:32px;
}

.cta-btn{
    display:inline-block;
    padding:18px 40px;
    background:#C89B3C;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.cta-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(200,155,60,.35);
}

.gallery{
    padding:120px 8%;
    background:#101010;
}

.gallery h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:16px;
    transition:.4s;
    cursor:pointer;
}

.gallery-grid img:hover{
    transform:scale(1.04);
}

@media(max-width:992px){
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .gallery-grid{
        grid-template-columns:1fr;
    }
}

.testimonials{
    padding:120px 8%;
    background:#181818;
}

.testimonials h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.testimonials-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#222;
    border:1px solid #333;
    border-radius:18px;
    padding:40px;
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    border-color:#C89B3C;
}

.testimonial-card p{
    color:#ddd;
    line-height:30px;
    margin-bottom:25px;
}

.testimonial-card h4{
    color:#C89B3C;
    font-size:24px;
    margin-bottom:10px;
}

.testimonial-card span{
    color:#aaa;
}

.faq{
    padding:120px 8%;
    background:#111;
}

.faq h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.faq-item{
    max-width:900px;
    margin:0 auto 20px;
    border:1px solid #333;
    border-radius:12px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    background:#1c1c1c;
    color:#fff;
    border:none;
    padding:22px;
    text-align:left;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.faq-question:hover{
    background:#C89B3C;
}

.faq-answer{
    display:none;
    background:#222;
    padding:22px;
    color:#ddd;
    line-height:30px;
}

.faq-item.active .faq-answer{
    display:block;
}

.language-switcher{
    display:flex;
    gap:10px;
}

.language-switcher button{
    background:transparent;
    border:1px solid #C89B3C;
    color:white;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.language-switcher button:hover{
    background:#C89B3C;
}

.menu-toggle{
    display:none;
    font-size:32px;
    color:#fff;
    cursor:pointer;
}

@media (max-width:900px){

    .hero{
    height:85vh;
    padding:0 25px;
}

.hero-content{
    margin:0;
    max-width:100%;
    text-align:left;
}

.hero h1{
    font-size:48px;
    line-height:1.15;
}

.hero p{
    font-size:17px;
    line-height:28px;
    margin-bottom:30px;
}

.hero-buttons{
    flex-direction:column;
    gap:15px;
}

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

    header{
        padding:15px 20px;
    }

    .menu-toggle{
        display:block;
        font-size:30px;
        cursor:pointer;
        color:#fff;
        z-index:1001;
    }

    nav{
    position:absolute;
    top:70px;
    right:15px;
    left:auto;
    width:260px;

    background:#151515;
    display:none;
    flex-direction:column;
    align-items:center;
    gap:18px;

    padding:25px;
    border-radius:15px;

    box-shadow:0 15px 35px rgba(0,0,0,.45);
}

    nav.active{
        display:flex;
    }

    nav a{
        width:100%;
        text-align:center;
        padding:12px 0;
        font-size:18px;
    }

    .language-switcher{
        display:flex;
        gap:10px;
        margin-top:10px;
    }

    .btn{
        display:block;
        width:220px;
        text-align:center;
        margin-top:15px;
    }

}
nav{
    animation: menuOpen .25s ease;
}

@keyframes menuOpen{

    from{
        opacity:0;
        transform:translateY(-15px);
    }

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

}

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    background:#25D366;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.35);

    z-index:9999;

    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}

.whatsapp img{
    width:34px;
}

@media (max-width:900px){

    .projects-grid{
        grid-template-columns:1fr;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .why-grid{
        grid-template-columns:1fr;
    }

}

nav a.active{
    color:#C89B3C;
}

nav a.active::after{
    content:"";
    display:block;
    width:100%;
    height:2px;
    background:#C89B3C;
    margin-top:6px;
}

html{
    scroll-behavior:smooth;
}


.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

#backToTop{
    position:fixed;
    right:25px;
    bottom:105px;

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:#C89B3C;
    color:#fff;

    font-size:24px;
    cursor:pointer;

    display:none;

    z-index:9998;

    transition:.3s;
}

#backToTop:hover{
    transform:translateY(-4px);
    background:#D4AF37;
}

#loader{
    position:fixed;
    inset:0;
    background:#111;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:10000;

    transition:opacity .5s ease;
}

.loader-logo img{
    width:120px;
    animation:loaderZoom 1.5s infinite alternate;
}

@keyframes loaderZoom{

    from{
        transform:scale(.9);
        opacity:.7;
    }

    to{
        transform:scale(1.05);
        opacity:1;
    }

}

#loader.hide{
    opacity:0;
    visibility:hidden;
}

#progressBar{
    position:fixed;
    top:0;
    left:0;

    width:0%;
    height:4px;

    background:#C89B3C;

    z-index:10001;

    transition:width .1s linear;
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:10000;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:15px;
}

.close-lightbox{
    position:absolute;
    top:30px;
    right:40px;

    font-size:45px;
    color:#fff;
    cursor:pointer;
}

.floating-buttons{
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.floating-buttons a{
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all .35s ease;
}

.floating-buttons img{
    width: 64px;
    height: 64px;
    display: block;
    border-radius: 50%;
    transition: all .35s ease;
}

/* Premium Hover */

.floating-buttons a:hover{
    transform: translateX(-10px) scale(1.08);
}

.floating-buttons a:hover img{
    transform: rotate(8deg);
    filter:
        brightness(1.08)
        drop-shadow(0 0 8px rgba(212,175,55,.7))
        drop-shadow(0 0 18px rgba(212,175,55,.45));
}

.floating-buttons a:active{
    transform: translateX(-10px) scale(.95);
}

#backToTop{
    position: fixed;
    right: 110px;   /* WhatsApp-ի ձախ կողմում */
    bottom: 20px;

    width: 64px;
    height: 64px;

    display: none;
    justify-content: center;
    align-items: center;

    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: all .35s ease;
}

#backToTop img{
    width: 64px;
    height: 64px;
    transition: all .35s ease;
}

#backToTop:hover{
    transform: translateY(-6px);
}

#backToTop:hover img{
    transform: scale(1.15);
    filter:
        drop-shadow(0 0 8px rgba(212,175,55,.8))
        drop-shadow(0 0 18px rgba(212,175,55,.5));
}

.toast{
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(100px);
    background: #1f1f1f;
    color: #fff;
    padding: 16px 28px;
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: .4s ease;
    z-index: 99999;
    font-weight: 600;
}

.toast.show{
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success{
    border-left-color:#28a745;
}

.toast.error{
    border-left-color:#dc3545;
}

html[lang="hy"] .hero h1{
    font-size: 55px;
    line-height: 1.15;
}
