@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn', sans-serif;
}

body{
    background: radial-gradient(circle at top,#0f0f0f,#000000 70%);
    color:#ffffff;
    overflow-x:hidden;
}

/* ===== HEADER ===== */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 80px;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(212,175,55,0.2);
}

.logo{
    font-size:28px;
    font-weight:900;
    background:linear-gradient(45deg,#D4AF37,#FFD700,#FFF1A8);
    
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;

    letter-spacing:1px;
}


/* ===== NAVIGATION ===== */

nav{
    display:flex;
    gap:15px;
}

nav a{
    text-decoration:none;
    color:#ccc;
    padding:10px 22px;
    border-radius:12px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(212,175,55,0.2);
    transition:all .3s ease;
    font-weight:500;
    backdrop-filter:blur(8px);
}

nav a:hover{
    color:#000;
    background:linear-gradient(45deg,#D4AF37,#FFD700);
    border:1px solid #FFD700;
    box-shadow:0 0 20px rgba(255,215,0,0.6);
    transform:translateY(-3px);
}

/* ===== HERO ===== */

.hero{
    height:85vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
}

.hero h1{
    font-size:56px;
    font-weight:900;
    color:#FFD700; /* متن شارپ و طلایی */
    text-shadow:
        0 0 15px rgba(255,215,0,0.5),
        0 0 35px rgba(255,215,0,0.3);
    transition:opacity 0.6s ease, transform 0.6s ease;
}

.fade-out{
    opacity:0;
    transform:translateY(-10px);
}

.fade-in{
    opacity:1;
    transform:translateY(0);
}

.hero p{
    margin:25px 0;
    font-size:20px;
    color:#bbb;
}

button{
    padding:14px 40px;
    border:none;
    border-radius:40px;
    font-weight:bold;
    cursor:pointer;
    font-size:16px;
    background:linear-gradient(45deg,#D4AF37,#FFD700);
    color:#000;
    transition:.3s;
    box-shadow:0 0 20px rgba(255,215,0,0.4);
}

button:hover{
    transform:translateY(-5px);
    box-shadow:0 0 40px rgba(255,215,0,0.7);
}

/* ===== FEATURES ===== */

.features{
    display:flex;
    justify-content:center;
    gap:40px;
    padding:100px 60px;
    flex-wrap:wrap;
}

.card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(212,175,55,0.3);
    backdrop-filter:blur(15px);
    padding:40px;
    border-radius:25px;
    width:280px;
    text-align:center;
    transition:.4s;
}

.card h3{
    margin-bottom:15px;
    color:#FFD700;
}

.card p{
    color:#aaa;
    font-size:15px;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(255,215,0,0.4);
    border:1px solid #FFD700;
}

/* ===== RESPONSIVE ===== */

@media(max-width:768px){
    header{
        padding:20px;
    }

    .hero h1{
        font-size:36px;
    }

    .features{
        padding:60px 20px;
    }
}
.page-header{
    padding:120px 20px 80px;
    text-align:center;
}
.hero{
    min-height:85vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px 80px;
}

.hero-content{
    max-width:900px;
}

.hero h1{
    font-size:56px;
    font-weight:900;
    color:#FFD700;
    text-shadow:
        0 0 15px rgba(255,215,0,0.5),
        0 0 35px rgba(255,215,0,0.3);
    margin-bottom:20px;
}
/* ===== PAGE HEADER ===== */

.page-header{
    padding:140px 20px 60px;
    text-align:center;
}

.page-header h1{
    font-size:48px;
    font-weight:900;
    color:#FFD700;
    text-shadow:
        0 0 15px rgba(255,215,0,0.5),
        0 0 35px rgba(255,215,0,0.3);
    margin-bottom:15px;
}

.page-header p{
    color:#bbb;
}
.models{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    padding:80px 20px;
    flex-wrap:wrap;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.project-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.project-card h3 {
    margin: 10px 0 5px 0;
}
.project-card p {
    font-size: 0.9rem;
}
.project-card .btn {
    margin-top: 10px;
    display: inline-block;
}
.models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px;
}

.card {
    background: #111;
    border: 1px solid #d4af37;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;   /* مهم ترین خط 🔥 */
    border-radius: 15px;
    margin-bottom: 15px;
}
/* ===== PROJECT IMAGE ===== */

.project-view{
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

.project-main-img{
    width:60%;
    max-width:700px;
    border-radius:25px;
    transition:all .5s ease;
    box-shadow:0 0 40px rgba(255,215,0,0.2);
}

/* افکت هنگام رعد */
.thunder-blur{
    transform:scale(1.05);
    filter:blur(6px) brightness(1.4);
}
/* ===== PROJECT INFO CARD ===== */

.project-info-card{
    max-width:900px;
    margin:60px auto 0;
    display:flex;
    gap:40px;
    flex-wrap:wrap;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(212,175,55,0.3);
    backdrop-filter:blur(15px);
    border-radius:30px;
    padding:40px;
    box-shadow:0 0 40px rgba(255,215,0,0.15);
}

.project-title-box{
    flex:1;
    min-width:250px;
    border-left:1px solid rgba(212,175,55,0.2);
    padding-left:20px;
}

.project-title-box h2{
    font-size:36px;
    color:#FFD700;
    text-shadow:
        0 0 10px rgba(255,215,0,0.4),
        0 0 25px rgba(255,215,0,0.2);
}

.project-description-box{
    flex:2;
    min-width:300px;
}

.project-description-box p{
    color:#ccc;
    line-height:2;
    font-size:16px;
}
/* ===== ULTRA PROJECT BOX ===== */

.project-wrapper{
    max-width:900px;
    margin:80px auto;
    padding:20px;
}

.project-box{
    background:linear-gradient(145deg,#0a0a0a,#111);
    border-radius:25px;
    padding:40px;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,215,0,0.2);
    box-shadow:
        0 0 30px rgba(255,215,0,0.15),
        inset 0 0 20px rgba(255,215,0,0.05);
    transition:0.4s;
}

.project-box:hover{
    box-shadow:
        0 0 50px rgba(255,215,0,0.35),
        inset 0 0 30px rgba(255,215,0,0.1);
    transform:translateY(-5px);
}

/* Header */
.box-header{
    font-size:26px;
    color:#FFD700;
    margin-bottom:30px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,215,0,0.3);
    text-shadow:0 0 15px rgba(255,215,0,0.5);
}

/* Rows */
.box-row{
    display:flex;
    border-bottom:1px solid rgba(255,215,0,0.15);
}

.box-row:last-child{
    border-bottom:none;
}

/* Left label */
.box-label{
    width:30%;
    padding:20px;
    font-weight:bold;
    color:#FFD700;
    border-left:1px solid rgba(255,215,0,0.2);
    background:rgba(255,215,0,0.03);
}

/* Right value */
.box-value{
    width:70%;
    padding:20px;
    color:#ddd;
    line-height:2;
}

/* Back button */
.back-section{
    text-align:center;
    margin-top:40px;
}

.back-btn{
    padding:14px 40px;
    border:none;
    border-radius:50px;
    background:linear-gradient(45deg,#FFD700,#b8860b);
    color:#000;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 0 20px rgba(255,215,0,0.4);
    transition:0.3s;
}

.back-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 40px rgba(255,215,0,0.8);
}
/* ===== HERO ===== */


.video-background{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-2;
    overflow:hidden;
    background:#000; /* این مهمه */
}

.video-background video{
    width:100%;
    height:100%;
    object-fit:cover;
    filter: brightness(0.85) contrast(1.1);
}

.video-background::after{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6); /* تیرگی بیشتر */
}




