/*==========================================
  RONIKA PALACE
==========================================*/

:root{

    --gold:#C6A86A;
    --gold-dark:#A88645;

    --white:#ffffff;

    --black:#111111;

    --text:#666666;

    --glass:rgba(20,20,20,.65);

    --transition:.35s ease;

    --shadow:0 20px 60px rgba(0,0,0,.20);

}

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Vazirmatn",sans-serif;

    background:#fff;

    color:#333;

    overflow-x:hidden;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1400px,92%);

    margin:auto;

}

/*============================
HEADER
============================*/

#header{

    position:fixed;

    top:0;

    right:0;

    left:0;

    z-index:1000;

    padding:28px 0;

    transition:.4s;

}

#header.scrolled{

    background:#fff;

    box-shadow:0 5px 25px rgba(0,0,0,.08);

    padding:16px 0;

}

#header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    width:170px;

}

nav ul{

    display:flex;

    gap:42px;

}

nav a{

    color:#fff;

    font-size:15px;

    transition:.3s;

}

#header.scrolled nav a{

    color:#222;

}

nav a:hover{

    color:var(--gold);

}

.menu-btn{

    display:none;

    cursor:pointer;

}

.menu-btn span{

    display:block;

    width:28px;

    height:2px;

    margin:6px 0;

    background:#fff;

    transition:.3s;

}

#header.scrolled .menu-btn span{

    background:#111;

}

/*============================
HERO
============================*/

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero-bg{

    position:absolute;

    inset:0;

}

.hero-image{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:opacity .8s ease;

}

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    filter:
        brightness(.88)
        contrast(1.15)
        saturate(1.12);

    transform:scale(1.04);

    transition:all .8s ease;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;

    background:
        linear-gradient(
            90deg,
            rgba(8,12,18,.45) 0%,
            rgba(8,12,18,.20) 45%,
            rgba(8,12,18,.05) 100%
        );
}

.hero-content{
    position:relative;
    z-index:5;
}

.hero-content{

    position:relative;

    z-index:5;

    height:100%;

    display:flex;

    align-items:center;

    padding-bottom:170px;

}

.hero-content h4{

    color:var(--gold);

    font-size:18px;

    letter-spacing:5px;

    margin-bottom:18px;

}

.hero-content h1{

    font-size:84px;

    color:#fff;

    line-height:1;

    margin-bottom:20px;

    font-weight:800;

}

.hero-content p{

    color:#fff;

    font-size:22px;

    line-height:2;

    margin-bottom:40px;

    max-width:650px;

}

.buttons{

    display:flex;

    gap:18px;

}

.btn-gold{

    background:var(--gold);

    color:#fff;

    padding:18px 42px;

    border-radius:8px;

    transition:var(--transition);

}

.btn-gold:hover{

    background:var(--gold-dark);

    transform:translateY(-4px);

}

.btn-white{

    background:#fff;

    color:#111;

    padding:18px 42px;

    border-radius:8px;

    transition:var(--transition);

}

.btn-white:hover{

    transform:translateY(-4px);

}





/*==========================================
PROJECT BAR
==========================================*/

.projects-bar{

    position:absolute;

    left:0;
    right:0;
    bottom:35px;

    z-index:20;

}

.projects-slider{

    width:min(1450px,94%);

    margin:auto;

    display:flex;

    gap:0;

    overflow-x:auto;

    overflow-y:hidden;

    scroll-behavior:smooth;

    scrollbar-width:none;

    background:rgba(18,18,18,.72);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    box-shadow:0 25px 70px rgba(0,0,0,.35);

}

.projects-slider::-webkit-scrollbar{

    display:none;

}

.project{

    position:relative;

    flex:0 0 260px;

    min-width:260px;

    padding:28px;

    cursor:pointer;

    transition:.35s;

    border-left:1px solid rgba(255,255,255,.08);

}

.project:last-child{

    border-left:none;

}

.project span{

    color:var(--gold);

    font-size:14px;

    font-weight:700;

}

.project h3{

    color:#fff;

    margin-top:12px;

    font-size:18px;

    font-weight:700;

}

.project p{

    color:#cfcfcf;

    margin-top:8px;

    font-size:14px;

}

.project::after{

    content:"";

    position:absolute;

    right:0;

    bottom:0;

    width:0;

    height:4px;

    background:var(--gold);

    transition:.35s;

}

.project:hover{

    background:rgba(255,255,255,.06);

}

.project:hover::after{

    width:100%;

}

.project.active{

    background:rgba(255,255,255,.08);

}

.project.active::after{

    width:100%;

}

/*============================
Fade Animation
============================*/

.fade{

    animation:fade .8s;

}

@keyframes fade{

    from{

        opacity:0;

        transform:scale(1.03);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*============================
Floating Buttons
============================*/

.buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.btn-gold,
.btn-white{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:180px;

}

/*============================
Hero Transition
============================*/

.hero-image{

    opacity:1;

    transition:opacity .8s ease;

}


/*==========================================
RESPONSIVE
==========================================*/

@media (max-width:1200px){

.hero-content h1{

font-size:70px;

}

.hero-content p{

font-size:20px;

}

.project{

flex:0 0 240px;

min-width:240px;

}

}

@media (max-width:992px){

nav{

display:none;

}

.menu-btn{

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

width:45px;

height:45px;

cursor:pointer;

z-index:999;

}

.menu-btn span{

width:28px;

height:2px;

margin:4px 0;

background:#fff;

transition:.35s;

}

#header.scrolled .menu-btn span{

background:#111;

}

.hero-content{

padding-bottom:220px;

}

.hero-content h1{

font-size:58px;

}

.hero-content h4{

font-size:15px;

letter-spacing:3px;

}

.hero-content p{

font-size:18px;

max-width:500px;

}

.buttons{

flex-wrap:wrap;

}

.projects-bar{

bottom:15px;

}

.project{

flex:0 0 220px;

min-width:220px;

padding:22px;

}

}

@media (max-width:768px){

.container{

width:94%;

}

.logo img{

width:120px;

}

.hero-content{

text-align:center;

justify-content:center;

}

.hero-content .container{

display:flex;

flex-direction:column;

align-items:center;

}

.hero-content h1{

font-size:46px;

}

.hero-content p{

font-size:17px;

line-height:1.9;

}

.buttons{

justify-content:center;

width:100%;

}

.btn-gold,

.btn-white{

width:220px;

}

.projects-slider{

border-radius:10px;

}

.project{

flex:0 0 190px;

min-width:190px;

}

}

@media (max-width:480px){

.hero-content{

padding-bottom:210px;

}

.hero-content h1{

font-size:36px;

}

.hero-content h4{

font-size:13px;

}

.hero-content p{

font-size:15px;

}

.btn-gold,

.btn-white{

width:100%;

}

.project{

flex:0 0 170px;

min-width:170px;

padding:18px;

}

.project h3{

font-size:15px;

}

.project p{

font-size:12px;

}

}

/*==========================================
MOBILE MENU
==========================================*/

.mobile-menu{

position:fixed;

top:0;

right:-100%;

width:320px;

height:100vh;

background:#111;

padding:120px 40px;

transition:.45s;

z-index:998;

}

.mobile-menu.active{

right:0;

}

.mobile-menu ul{

display:flex;

flex-direction:column;

gap:30px;

}

.mobile-menu a{

color:#fff;

font-size:18px;

transition:.3s;

}

.mobile-menu a:hover{

color:var(--gold);

}

/*==========================================
SCROLL ANIMATION
==========================================*/

.fade-up{

opacity:0;

transform:translateY(50px);

transition:all .8s ease;

}

.fade-up.show{

opacity:1;

transform:translateY(0);

}

/*==========================================
HEADER ANIMATION
==========================================*/

#header{

backdrop-filter:blur(0px);

}

#header.scrolled{

backdrop-filter:blur(18px);

}

/*==========================================
HOVER
==========================================*/

.project{

transition:
transform .35s,
background .35s,
box-shadow .35s;

}

.project:hover{

transform:translateY(-8px);

box-shadow:0 15px 40px rgba(0,0,0,.25);

}

/*==========================================
BUTTON EFFECT
==========================================*/

.btn-gold,
.btn-white{

position:relative;

overflow:hidden;

}

.btn-gold::before,
.btn-white::before{

content:"";

position:absolute;

top:0;

left:-100%;

width:100%;

height:100%;

background:rgba(255,255,255,.18);

transform:skewX(-25deg);

transition:.6s;

}

.btn-gold:hover::before,
.btn-white:hover::before{

left:120%;

}

/* ====== لایه تیره و لوکس روی تصویر ====== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.25),
        rgba(0,0,0,.65)
    );
    z-index: 1;
}


/* ====== منوی شیشه ای ====== */

.navbar {
    position: relative;
    z-index: 5;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,.18);
    border-radius: 0 0 25px 25px;
    padding: 15px 35px;
}


.navbar a {
    color:white !important;
    font-size:16px;
    transition:.3s;
    text-shadow:0 2px 8px #000;
}


.navbar a:hover {
    color:#d5b46f !important;
}






/*==========================================
IMAGE LOADING
==========================================*/

.hero-image{

will-change:opacity,transform;

}

/*==========================================
END CSS
==========================================*/