*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:Tahoma,Arial,sans-serif;
background:#000;
color:#fff;

background-image:
linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.65)),
url("assets/Images/Hero.png");

background-size:cover;
background-position:center;
background-repeat:no-repeat;

min-height:100vh;

overflow-x:hidden;

}

/* ================= HEADER ================= */

header{

position:fixed;

top:0;
left:0;
right:0;

height:90px;

display:flex;
align-items:center;

padding:0 60px;

background:rgba(0,0,0,.35);

backdrop-filter:blur(12px);

z-index:999;

}

nav{

display:flex;
gap:35px;

}

.logo{
    margin-left:auto;
}

nav{

display:flex;
gap:35px;

}



.logo img{

height:130px;

}

nav{

display:flex;
gap:35px;

}

nav a{

color:#fff;

text-decoration:none;

font-size:18px;

transition:.3s;

}

nav a:hover{

color:#D4AF37;

}

/* ================= HERO ================= */

.hero{

min-height:100vh;

display:flex;
justify-content:flex-start;
align-items:center;

padding:0 8%;

position:relative;

}

.hero-content{

max-width:650px;

padding-top:90px;

text-align:right;

animation:fadeUp 1.2s ease;

}

.hero-content{

max-width:900px;

padding:20px;

}

.hero h1{

font-size:84px;

color:#D4AF37;

letter-spacing:8px;

margin-bottom:20px;

}

.hero h2{

font-size:34px;

font-weight:400;

margin-bottom:18px;

}

.hero p{

font-size:20px;

color:#ddd;

margin-bottom:30px;

}

.line{

width:130px;

height:3px;

background:#D4AF37;

margin:35px auto;

}



.buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:10px;
}



.buttons a{

    padding:18px 40px;

    border:1px solid #D4AF37;

    border-radius:45px;

    color:#D4AF37;

    text-decoration:none;

    font-size:18px;

    transition:.3s;

}


.buttons a:hover{

background:#D4AF37;

color:#000;

}

.phone{

margin-top:35px;

}

.phone a{

display:inline-block;

direction:ltr;

unicode-bidi:isolate;

font-size:28px;

color:#fff;

text-decoration:none;

}

/* ================= MOBILE ================= */

@media(max-width:900px){

header{

padding:15px;

flex-direction:column;

height:auto;

gap:15px;

}

.logo img{

height:55px;

}

nav{

flex-wrap:wrap;

justify-content:center;

gap:18px;

}

.hero{

padding:160px 20px 50px;

}

.hero h1{

font-size:44px;

letter-spacing:2px;

}

.hero h2{

font-size:24px;

}

.hero p{

font-size:17px;

}

.buttons{

flex-direction:column;

align-items:center;

}

.buttons a{

width:240px;

text-align:center;

}

.phone a{

font-size:22px;

}

}


@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(50px);

}

100%{

opacity:1;

transform:translateY(0);

}

}
/* ===== MOBILE ===== */

@media (max-width:768px){

header{
    padding:12px 18px;
    flex-direction:column;
    height:auto;
    gap:12px;
}

.logo img{
    height:50px;
}

nav{
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
}

nav a{
    font-size:15px;
}

.hero{
    min-height:100dvh;
    padding:140px 20px 40px;
}

.hero-content{
    max-width:100%;
    text-align:center;
}

.hero h1{
    font-size:40px;
    letter-spacing:2px;
}

.hero h2{
    font-size:22px;
}

.hero p{
    font-size:16px;
}

.buttons{
    flex-direction:column;
    align-items:center;
}

.buttons a{
    width:240px;
}

.phone a{
    font-size:22px;
}

.contact-page{
    min-height:100dvh;
    padding:90px 20px 20px;
}

.contact-page h1{
    font-size:32px;
}

.contact-page p{
    font-size:18px;
}

}

/* ===========================
   Karen Motors About Page
=========================== */


.about-image{

    width:100%;

    height:auto;

    max-height:100%;

    object-fit:contain;

    object-position:center;

    display:block;

}


.about-image-area{

    width:100%;

    height:auto;

    overflow:hidden;

}


.about-image{

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

}



/* آسفالت پایین */

.asphalt-area{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:65vh;


    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.85)
    ),
    #444;


    display:flex;

    justify-content:center;

    align-items:center;

    padding:15px;

}



.about-content{

    width:95%;

    max-width:1000px;

    text-align:center;

    color:white;

}



.about-content h1{

    color:#d4af37;

    font-size:25px;

    margin-bottom:8px;

}



.about-content h2{

    font-size:18px;

    margin:10px 0;

}



.about-content p{

    font-size:12px;

    line-height:1.8;

    margin:5px;

}



.line{

    width:70px;

    height:2px;

    background:#d4af37;

    margin:10px auto;

}




/* سه کارت */

.about-boxes{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:15px;

}



.about-item{

    width:30%;

    padding:12px;

    background:rgba(0,0,0,.6);

    border:1px solid rgba(212,175,55,.5);

    border-radius:15px;

}



.about-item h3{

    color:#d4af37;

    font-size:16px;

}



.about-item p{

    font-size:12px;

}



/* موبایل */

@media(max-width:600px){


.about-image-area{

    height:38vh;

}


.asphalt-area{

    height:62vh;

}


.about-content h1{

    font-size:22px;

}


.about-content h2{

    font-size:15px;

}


.about-content p{

    font-size:12px;

}



.about-boxes{

    gap:6px;

}



.about-item{

    padding:8px 5px;

}



.about-item h3{

    font-size:12px;

}


.about-item p{

    font-size:10px;

}


}

/* ===========================
   Cars Page
=========================== */

.cars-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
max-width:1200px;
margin:50px auto;
padding:0 25px;
}

.car-card{
background:#111;
border:1px solid rgba(212,175,55,.25);
border-radius:18px;
overflow:hidden;
transition:.35s;
box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.car-card:hover{
transform:translateY(-8px);
border-color:#d4af37;
}

/* ===== Cars Image Final ===== */

.car-card img{
    width:100%;
    height:300px;
    object-fit:contain;
    display:block;
    background:#111;
    padding:10px;
}


/* موبایل */

@media(max-width:600px){

    .car-card img{
        height:230px;
    }

}


/* لپ تاپ */

@media(min-width:768px){

    .car-card img{
        height:300px;
    }

}

/* تنظیم اندازه متن صفحه خدمات */

.services-page p{
    font-size:16px;
    line-height:2;
}


/* ===========================
   Karen Motors Services
===========================*/

.services-layout{

    min-height:calc(100vh - 90px);

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;

    padding:40px 7%;

}

.services-text{

    flex:1;

    max-width:520px;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(8px);

    padding:35px;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.25);

}

.services-text h1{

    color:#d4af37;

    font-size:42px;

    margin-bottom:20px;

}

.services-text p{

    font-size:18px;

    line-height:1.9;

}

.services-text ul{

    margin:25px 0;

    padding:0;

}

.services-text li{

    list-style:none;

    margin:12px 0;

    font-size:17px;

}

.services-image{

    flex:1;

    text-align:center;

}

.services-image img{

    width:100%;

    max-width:700px;

    height:auto;

    object-fit:contain;

}

/* موبایل */

@media(max-width:900px){

.services-layout{

    flex-direction:column-reverse;

    min-height:auto;

    padding:30px 20px;

}

.services-text{

    max-width:100%;

}

.services-image img{

    max-width:100%;

}

}


/* تماس با ما مشابه دکمه‌های صفحه اصلی */

.contact-btn{

    display:inline-block;

    padding:14px 36px;

    border:1px solid rgba(255,255,255,.25);

    border-radius:50px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.contact-btn:hover{

    background:#d4af37;

    border-color:#d4af37;

    color:#000;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(212,175,55,.35);

}


/* ===== Karen Motors About Final ===== */

.about-page{

    min-height:100vh;

    position:relative;

    background:#000;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:90px 20px 40px;

}


.about-hero{

    width:100%;

    height:calc(100vh - 90px);

    margin-top:90px;

    position:relative;

    background-image:
    linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.65)),
    url("assets/Images/about-hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    justify-content:flex-end;

    align-items:flex-end;

}



.about-content{

    width:100%;

    max-width:850px;

    text-align:center;

}



.about-content h1{

    font-size:32px;

    color:#d4af37;

    margin-bottom:10px;

}



.about-content h2{

    font-size:20px;

    color:white;

    margin:15px 0;

}



.about-content p{

    font-size:15px;

    line-height:1.9;

    color:#eee;

    margin:8px auto;

    max-width:750px;

}



.about-box{

    display:flex;

    justify-content:center;

    gap:15px;

    margin:25px 0;

}



.about-item{

    width:190px;

    padding:15px;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(8px);

    border:1px solid rgba(212,175,55,.35);

    border-radius:14px;

}



.about-item h3{

    font-size:15px;

    color:#d4af37;

    margin-bottom:8px;

}



.about-item p{

    font-size:13px;

    line-height:1.7;

}



.contact-btn{

    display:inline-block;

    margin-top:15px;

    padding:10px 28px;

    font-size:15px;

}

.about-page{
    height:100vh;
    overflow:hidden;
    position:relative;
    background:#000;
}


.about-image-area{
    width:100%;
    height:45vh;
    overflow:hidden;
}


.about-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    display:block;
}

.asphalt-area{

    position:absolute;
    bottom:0;
    left:0;

    width:100%;

    height:55vh;

    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.75)
    ),
    #444;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:15px;

    overflow:hidden;

}

    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.75)
    ),
    #444;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:20px;

}


.about-title{
    color:#d4af37;
    font-size:32px;
    text-align:center;
}


.about-text{
    color:white;
    text-align:center;
    line-height:1.8;
    font-size:16px;
}


.about-boxes{

    display:flex;
    gap:15px;
    width:90%;
}


.about-box{

    flex:1;
    background:rgba(0,0,0,.65);
    border:1px solid #d4af37;
    border-radius:12px;
    padding:15px;
    text-align:center;
    color:white;

}


/* FIX ABOUT IMAGE FINAL */

.about-image-area{
    width:100%;
    height:auto !important;
    overflow:hidden;
}

.about-image{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
    display:block !important;
    margin:0 !important;
}


/* Fix About Image */

.about-image-area{

    width:100%;
    height:70vh !important;
    overflow:hidden;

}


.about-image{

    width:100% !important;
    height:100% !important;

    object-fit:contain !important;

    object-position:center bottom !important;

    display:block !important;

}

/* FINAL ABOUT IMAGE FIX */

.about-image-area{
    width:100%;
    height:60vh;
    overflow:hidden;
}


.about-image{

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center center;

    display:block;

}

.about-image-area{

    width:100%;
    height:45vh;
    overflow:hidden;

}


.about-image{

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

}




/* =======================================
   Karen Motors About Hero
======================================= */

.about-hero{

    width:100%;
    height:100vh;

    background:
    linear-gradient(
    rgba(0,0,0,.20),
    rgba(0,0,0,.60)
    ),
    url("assets/Images/about.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    justify-content:flex-end;

    align-items:flex-end;

}



.about-overlay{

    width:100%;

    height:100%;

    display:flex;

    justify-content:flex-end;

    align-items:flex-end;

}



.about-text{

    width:480px;

    margin:0 7% 8% 0;

    color:#fff;

    text-align:right;

}



.about-text h1{

    color:#d4af37;

    font-size:42px;

    margin-bottom:15px;

}



.about-text h2{

    font-size:24px;

    margin:18px 0;

    color:#fff;

}



.about-text p{

    font-size:17px;

    line-height:2;

    color:#ddd;

}



.line{

    width:90px;

    height:3px;

    background:#d4af37;

}


.contact-page{
    min-height:100vh;
    padding:120px 30px 40px;
    max-width:1800px;
    margin:0 auto;
    text-align:center;
}

.contact-page h1{
    font-size:42px;
    color:#d4af37;
    margin-bottom:15px;
}

.contact-page p{
    font-size:22px;
}



@media (min-width: 992px) {

    .services-text {
        transform: scale(1.25);
    }

}


@media (max-width:768px){

.contact-page h1{
    font-size:34px;
}

.contact-page p{
    font-size:18px;
}

.contact-phone{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:12px;
    direction:ltr;
    color:#fff;
    font-size:18px;
    margin-top:15px;
    margin-bottom:15px;
}

.contact-phone a{
    color:#fff;
    text-decoration:none;
    display:block;
    font-size:18px;
    line-height:1.8;
}

.contact-page{
    min-height:auto;
    padding:98px 20px 0;
    margin-bottom:-20px;
}
.buttons a{
    width:200px;
    padding:10px 18px;
    font-size:15px;
}

.channel-btn{
    width:200px;
    padding:7px 15px;
    font-size:13px;
    line-height:1.4;
}

  .contact-page div[style*="text-align:left"]{
    font-size:16px !important;
}

.contact-page div[style*="text-align:left"] a{
    font-size:16px !important;
}  
    
}
