/*
Theme Name: Optimal Elevator
Version: 3.0
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
scroll-behavior:smooth;
}

body{
background:#fff;
color:#222;
line-height:1.7;
overflow-x:hidden;
padding-top:110px;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

img{
max-width:100%;
display:block;
}

/* ===== NAVBAR ===== */

header{
position:fixed;
top:0;
left:0;
width:100%;
background:#03152b;
padding:15px 0;
z-index:9999;
box-shadow:0 2px 20px rgba(0,0,0,0.2);
backdrop-filter:blur(10px);
}

header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:75px;
width:auto;
display:block;
}

nav{
margin-left:auto;
}

nav ul{
display:flex;
align-items:center;
gap:35px;
list-style:none;
}

nav ul li a{
color:#fff;
text-decoration:none;
font-size:18px;
font-weight:500;
transition:0.3s;
}

nav ul li a:hover{
color:#fca311;
}

/* ===== HERO ===== */

.hero{
height:100vh;
background:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
display:flex;
align-items:center;
position:relative;
padding-top:120px;
}

.hero::before{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.65);
}

.hero-content{
position:relative;
color:#fff;
max-width:700px;
background:rgba(0,0,0,0.4);
padding:40px;
border-radius:12px;

backdrop-filter:blur(5px);
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.hero h1{
font-size:70px;
line-height:1.1;
margin-bottom:20px;
}

.hero p{
font-size:24px;
margin-bottom:30px;
}

/* ===== BUTTON ===== */

.btn{
display:inline-block;
padding:15px 35px;
background:#fca311;
color:#fff;
text-decoration:none;
border-radius:6px;
font-weight:bold;
transition:0.3s;
}

.btn:hover{
background:#ffba42;
transform:translateY(-4px);
box-shadow:0 10px 20px rgba(0,0,0,0.3);
}

/* ===== SECTION ===== */

section{
padding:100px 0;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:45px;
color:#03152b;
margin-bottom:15px;
}

/* ===== ABOUT ===== */

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.about-grid img{
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.about-grid h3{
font-size:40px;
margin-bottom:20px;
}

/* ===== SERVICES ===== */

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.service-card{
background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.3s;
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.service-card img{
height:240px;
width:100%;
object-fit:cover;
}

.service-card-content{
padding:25px;
}

.service-card h3{
margin-bottom:15px;
font-size:24px;
}

/* ===== PROJECTS ===== */

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.project-card{
overflow:hidden;
border-radius:15px;
}

.project-card img{
height:250px;
width:100%;
object-fit:cover;
transition:0.4s;
}

.project-card:hover img{
transform:scale(1.08);
}

/* ===== CONTACT ===== */

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:15px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:6px;
font-size:16px;
}

.contact-form button{
border:none;
cursor:pointer;
}

/* ===== FOOTER ===== */

footer{
background:#03152b;
color:#fff;
text-align:center;
padding:40px 0;
}

/* ===== WHATSAPP ===== */

.whatsapp{
position:fixed;
right:25px;
bottom:25px;
background:#25d366;
color:#fff;
padding:15px 20px;
border-radius:50px;
text-decoration:none;
font-weight:bold;
z-index:99999;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

body{
padding-top:140px;
}

header .container{
flex-direction:column;
}

.logo{
margin-bottom:15px;
}

nav{
margin-top:15px;
}

nav ul{
flex-direction:column;
gap:15px;
}

.hero{
height:auto;
padding:160px 0 100px;
}

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

.about-grid,
.contact-grid{
grid-template-columns:1fr;
}

.section-title h2{
font-size:34px;
}
/* ===== ANIMATIONS ===== */

.service-card,
.project-card,
.about-image,
.about-content{
transition:0.5s ease;
}

.service-card:hover{
transform:translateY(-12px);
}

.project-card{
position:relative;
overflow:hidden;
}

.project-card img{
transition:0.5s;
}

.project-card:hover img{
transform:scale(1.1);
}

.about-image img{
border-radius:15px;
}

.about-content h3{
font-size:38px;
margin-bottom:20px;
color:#03152b;
}

.about-content p{
margin-bottom:20px;
font-size:18px;

}