/* ===========================
      ARCHITECTURE WEBSITE
=========================== */
@font-face {

    font-family: "irans";

    src: url("../fonts/IRANSans.ttf") format("truetype");

    font-weight:400;

    font-style:normal;

}


@font-face {

    font-family: "irans";

    src: url("../fonts/IRANSans_Light.ttf") format("truetype");

    font-weight:500;

    font-style:normal;

}


@font-face {

    font-family: "irans";

    src: url("../fonts/IRANSans_Medium.ttf") format("truetype");

    font-weight:700;

    font-style:normal;

}


@font-face {

    font-family: "irans";

    src: url("../fonts/IRANSans_Bold.ttf") format("truetype");

    font-weight:900;

    font-style:normal;

}
@font-face {

    font-family: "npiaf";

    src: url("../fonts/MTCORSVA.TTF") format("truetype");

    font-weight: normal;

    font-style: normal;

}

:root{
--bg:#050816;
--bg2:#09172e;
--card:rgba(255,255,255,.06);
--border:rgba(255,255,255,.12);
--text:#fff;
--muted:#cbd5e1;
--primary:#4f8cff;
--secondary:#7457ff;
--radius:22px;
--shadow:0 20px 60px rgba(0,0,0,.45);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:irans,sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:
radial-gradient(circle at top left,#1f2b70 0%,transparent 45%),
radial-gradient(circle at bottom right,#5b3fff 0%,transparent 35%),
linear-gradient(180deg,#050816,#081323,#050816);
color:white;
overflow-x:hidden;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:white;
}

section{
padding:100px 8%;
}

/* NAVBAR */

.navbar{

    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);

    width:92%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 40px;

    direction:ltr;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border-radius:20px;

    z-index:1000;

}

.logo{
    font-size:30px;
    font-weight:900;
    letter-spacing:5px;

    background:linear-gradient(
        135deg,
        #8b5cf6,
        #2563eb,
        #0f4c5c
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    background-clip:text;

    filter:drop-shadow(0 0 20px rgba(99,102,241,.35));

    transition:.4s;
}


.logo:hover{

    transform:scale(1.08);

    filter:
    drop-shadow(0 0 30px rgba(139,92,246,.7));

}
.menu{

    display:flex;

    direction:rtl;

    list-style:none;

    gap:35px;

}

.navbar ul{
display:flex;
list-style:none;
gap:35px;
}

.navbar li a{
transition:.3s;
}

.navbar li a:hover{
color:#7ea9ff;
}

/* HERO */

.hero{

    position:relative;

    width:100%;

    height:100vh;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

}
#enfont{

    font-family:"npiaf" !important;
    font-size:xx-large;

}

.heroVideo{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    rgba(5,8,22,.45),
    rgba(5,8,22,.75));

}

.heroContent{

    position:relative;

    z-index:5;

    text-align:center;

    max-width:900px;

}

.hero h1{
font-size:72px;
font-weight:900;
margin-bottom:20px;
line-height:1.3;
}

.hero p{
font-size:22px;
color:#d7ddee;
margin-bottom:40px;
}

.heroButton{
display:inline-block;
padding:18px 42px;
background:linear-gradient(135deg,#B76E79,#91515b);
border-radius:50px;
transition:.35s;
box-shadow:0 15px 40px rgba(76,120,255,.4);
}

.heroButton:hover{
transform:translateY(-6px);
box-shadow:0 25px 60px rgba(76,120,255,.5);
}

/* ABOUT */

.about{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.aboutImage img{
border-radius:25px;
box-shadow:var(--shadow);
transition:.5s;
}

.aboutImage img:hover{
transform:scale(1.03);
}

.aboutText h2{
font-size:48px;
margin-bottom:30px;
}

.aboutText p{
line-height:2.2;
color:#c7d2fe;
margin-bottom:20px;
}

/* PROJECTS */

.projects h2{
text-align:center;
font-size:48px;
margin-bottom:60px;
}

.projectsContainer{
display:grid;
gap:45px;
}

.projectCard{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
border-radius:30px;
overflow:hidden;
backdrop-filter:blur(18px);
transition:.4s;
box-shadow:var(--shadow);
}

.projectCard:hover{
transform:translateY(-10px);
}

.projectMainImage{
height:500px;
overflow:hidden;
}

.projectMainImage img{
width:100%;
height:100%;
object-fit:cover;
transition:.6s;
}

.projectCard:hover img{
transform:scale(1.05);
}

.projectInfo{
padding:35px;
}
.roseGold{
   color: #B76E79;
}
.projectInfo h3{
font-size:34px;
margin-bottom:15px;
}

.projectInfo p{
color:#d2d7ec;
line-height:2;
}

.galleryWrapper{

    position:relative;

    display:flex;

    align-items:center;

}

.gallery{

    display:flex;

    gap:15px;

    overflow-x:auto;

    scroll-behavior:smooth;

    scrollbar-width:none;

    padding:10px;

}

.gallery::-webkit-scrollbar{

    display:none;

}

.gallery img{

    width:180px;

    height:120px;

    object-fit:cover;

    border-radius:15px;

    flex-shrink:0;

    cursor:pointer;

    transition:.3s;
    user-select: none;

    -webkit-user-drag: none;

}

.gallery img:hover{

    transform:scale(1.05);

}
.galleryBtn{

    position:absolute;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.6);

    color:white;

    font-size:22px;

    cursor:pointer;

    z-index:20;

    transition:.3s;

}
.gallery.dragging{

    cursor: grabbing;
}
.galleryBtn:hover{

    background:#4f8cff;

}

.left{

    right:10px;

}

.right{

    left:10px;

}

/* CONTACT */

.contact h2{
text-align:center;
font-size:48px;
margin-bottom:50px;
}

.contactContainer{
display:grid;
grid-template-columns:420px 1fr;
gap:40px;
}

.contactInfo{
background:rgba(255,255,255,.05);
padding:40px;
border-radius:25px;
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.08);
}

.contactInfo div{
margin:20px 0;
font-size:18px;
}

.contactMap iframe{
width:100%;
height:420px;
border:none;
border-radius:25px;
}

/* FOOTER */

footer{
padding:35px;
text-align:center;
background:#030510;
color:#9fb0cf;
}

/* LIGHTBOX */

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:9999;

}
#lightboxImage{

    max-width:90%;

    max-height:90%;

    object-fit:contain;

    border-radius:15px;

}

.lightbox img{
max-width:90%;
max-height:90%;
border-radius:15px;
}

.lightboxBtn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:50px;

    height:50px;

    border-radius:50%;

    border:none;

    background:rgba(255,255,255,.2);

    color:white;

    font-size:22px;

    cursor:pointer;

}


.prev{

    right:40px;

}


.next{

    left:40px;

}



.close{

    position:absolute;

    top:25px;

    right:40px;

    color:white;

    font-size:45px;

    cursor:pointer;

}

/* CURSOR */

.cursorGlow{
position:fixed;
width:100px;
height:100px;
background:radial-gradient(circle,#456cff55,transparent 70%);
pointer-events:none;
transform:translate(-50%,-50%);
z-index:-1;
}

/* SCROLLBAR */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#050816;
}

::-webkit-scrollbar-thumb{
background:linear-gradient(#4b86ff,#7755ff);
border-radius:20px;
}

/* MOBILE */

@media(max-width:1000px){

.hero h1{
font-size:48px;
}

.about{
grid-template-columns:1fr;
}

.contactContainer{
grid-template-columns:1fr;
}

.gallery{
grid-template-columns:repeat(2,1fr);
}

.projectMainImage{
height:320px;
}

.navbar{
padding:15px;
}

.navbar ul{
gap:18px;
font-size:14px;
}

}

@media(max-width:600px){

.hero h1{
font-size:36px;
}

.hero p{
font-size:18px;
}

.gallery{
grid-template-columns:1fr 1fr;
gap:10px;
}

section{
padding:70px 20px;
}

.aboutText h2,
.projects h2,
.contact h2{
font-size:34px;
}

.logo{
font-size:22px;
}

.navbar ul{
display:none;
}

}

.hidden{
opacity:0;
transform:translateY(70px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

.topButton{
position:fixed;
left:30px;
bottom:30px;
width:55px;
height:55px;
border-radius:50%;
background:linear-gradient(135deg,#4d88ff,#7757ff);
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
cursor:pointer;
color:#fff;
opacity:0;
pointer-events:none;
transition:.4s;
box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.topButton.visible{
opacity:1;
pointer-events:auto;
}

.projectCard{
transition:
transform .35s,
box-shadow .35s;
}

.gallery img{
transition:.35s;
}

.gallery img:hover{
filter:brightness(1.15);
}

.hero video{
transition:transform .2s linear;
}

/* ==========================
        LIGHTBOX
========================== */


.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:9999;

    padding:30px;

}


.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

    box-shadow:0 30px 80px rgba(0,0,0,.7);

    animation:zoom .35s ease;

}



.close{

    position:absolute;

    top:25px;

    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;

}



@keyframes zoom{

    from{

        transform:scale(.7);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}