/* GLOBAL RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
    margin:0;
    background:#111;
    font-family:Arial;
    color:white;
}

/* HERO */

.hero{
    width:100%;

    text-align:center;

    padding:120px 20px 80px 20px;
}

.hero h1{
    font-size:60px;
}

.hero p{
    font-size:22px;
    color:#ccc;
}

/* SECȚIUNE MAȘINI */

.cars-section{

    width:100%;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

    padding:50px 20px 100px 20px;

}

/* CARD */

.car-card{

    background: rgba(15,15,15,0.45);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 8px 32px rgba(0,0,0,0.35);

    border-radius: 24px;
}
/* FUNDAL */

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: url("background final.jpg");
	background-size: cover;
	background-position: center;
	filter: brightness(0.35) saturate(1.2);
	z-index: -3;
}

/* OVERLAY */

.overlay {
	position: fixed;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.7),
		rgba(0, 0, 0, 0.9)
	);
	z-index: -2;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 50px;
	z-index: 1000;
    transition: 0.4s ease;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

/* LOGO */

.logo {
	font-size: 50px;
	font-weight: bold;
	color: #00d084;
	text-shadow: 0 0 15px rgba(0, 208, 132, 0.5);
}
.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-img{
    width: 70px;
    height:70px;
    object-fit:contain;
}

.logo-text{
    font-size:50px;
    font-weight:bold;
    color:#00d084;
}
.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
}

header img{
    max-width:70px;
    height:auto;
}

/* NAV */

nav {
	display: flex;
	gap: 35px;
}

nav a {
	text-decoration: none;
	color: silver;
	font-size: 18px;
	transition: 0.3s;
}

nav a:hover {
	color: #00d084;
	text-shadow: 0 0 10px #00d084;
}

/* HERO */

.hero {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
}

/* CONTENT */

.hero-content {
	max-width: 900px;
	animation: fadeIn 2s ease;
}

.hero h1 {
	font-size: 75px;
	margin-bottom: 25px;
	color: white;
	text-shadow: 0 0 25px rgba(0, 208, 132, 0.5);
}

.hero p {
	font-size: 24px;
	color: silver;
	margin-bottom: 40px;
}

/* BUTTONS */

.buttons {
	display: flex;
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
}

button {
	padding: 18px 40px;
	border: none;
	border-radius: 50px;
	font-size: 18px;
	cursor: pointer;
	transition: 0.3s;
}

/* WHATSAPP */

.reserve-btn {
	background: #00d084;
	color: black;
	font-weight: bold;
	box-shadow: 0 0 20px rgba(0, 208, 132, 0.5);
}

.reserve-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 0 30px rgba(0, 208, 132, 0.9);
}

/* OFERTE */

.cars-btn {
	border: 2px solid #00d084;
	color: #01402a;
}

.cars-btn:hover {
	background: #00d084;
	color: black;
}

/* SERVICII */

.services {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
    justify-content: center;

}

/* CARD */

.card {
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(0, 208, 132, 0.2);
	border-radius: 25px;
	padding: 40px;
	transition: 0.4s;
    .card{
    text-decoration:none;
    color:none;
}
}

.card:hover {
	transform: translateY(-10px);
	border-color: #00d084;
	box-shadow: 0 0 30px rgba(0, 208, 132, 0.3);
}

.card h2 {
	margin-bottom: 20px;
	color: #00d084;
	font-size: 32px;
}

.card p {
	color: silver;
	line-height: 1.7;
}
/* CARDS */

.cars-container{

    display:flex;

    flex-wrap:wrap;

    gap:40px;

    justify-content:center;

    padding:50px;
}

.car-card{

    width:320px;
    height:450px;
    padding:30px;
    border-radius:25px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
justify-content:space-between;
    text-align:center;
}
.car-card:hover{

    transform:translateY(-15px);
}
.car-card img{

    width: 100%px;

    height: 150px;

    object-fit:fill;

    transition:0.5s;
}
.car-card:hover img{
    transform:scale(1.08);
}

.car-info{
    padding:30px;
}

.car-info h3{

    font-size:30px;

    margin:none;
}
.car-info p{

    color:#00d084;

    margin-bottom:20px;

    font-size:20px;
}

.car-info button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:15px;

    background:linear-gradient(
        135deg,
        #00d084,
        #00a86b
    );
    
    color:white;

    cursor:pointer;

    transition:0.4s;
}

.car-info button:hover{
    transform:scale(1.03);
}


/* ANIMAȚIE */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* RESPONSIVE */

@media (max-width: 900px) {
	header {
		padding: 20px;
		flex-direction: column;
		gap: 20px;
	}

	nav {
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero h1 {
		font-size: 48px;
	}

	.hero p {
		font-size: 20px;
	}
    .whatsapp-box{
    position: relative;
    display: inline-block;
}

.contact-btn{
    background: linear-gradient(135deg,#0f0,#0a0);
    color: #00d984;
    border: none;
    padding: 14px 30px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s;
}

.contact-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,0,0.5);
}

.contact-box{
    position: relative;
    display: inline-block;
}

.contact-btn{
    background: #0f0;
    color: black;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.contact-options{
    position: absolute;
    top: 65px;
    left: 0;

    display: none;
    flex-direction: column;
    gap: 10px;

    background: #0f0;;
    padding: 12px;
    border-radius: 14px;

    min-width: 190px;
}

.contact-options a{
    text-decoration: none;
    color: white;
    background: #0f0;;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.contact-options a:hover{
    background: #25D366;
    color: black;
}
.contact-section{
    display: flex;
    justify-content: center;
    align-items: center;
}
.details-page{
    background:
    linear-gradient(rgba(0,0,0,0.7),
    rgba(0,0,0,0.9)),
    url("audi A6.jpg");

    background-size:cover;
    background-position:center;

    min-height:100vh;

    color:white;
}

.car-details{
    display:flex;
    gap:50px;
    padding:80px;
    align-items:center;
}

.car-details img{
    width:50%;
    border-radius:25px;

    box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

.details-text{
    width:50%;
}

.details-text h1{
    font-size:55px;
    margin-bottom:25px;
}

.details-text p{
    font-size:20px;
    line-height:1.8;
    color:#ddd;
}

.price-big{
    font-size:50px;
    color:rgb(0, 208, 132);
    margin:30px 0;
}

#whatsappBtn{
    padding:18px 40px;

    border:none;
    border-radius:50px;

    background:#25D366;

    color:white;

    font-size:18px;
    cursor:pointer;

    transition:0.3s;
    position:center;
}

#whatsappBtn:hover{
    transform:scale(1.05);
}
.details-page{
    background:
    linear-gradient(rgba(0,0,0,0.7),
    rgba(0,0,0,0.9)),
    url("bmw-m4.jpg");

    background-size:cover;
    background-position:center;

    min-height:100vh;

    color:white;
}

.car-details{
    display:flex;
    gap: 70px;

    padding:80px;

    align-items:center;
}

.car-details img{
    width:500px;
    border-radius:25px;

    box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

.details-text{
    width:500px;
    align-items:center;
}

.details-text h1{
    font-size: 50px;
    margin-bottom: 20px;
}

.details-text p{
    font-size: 22px;
    line-height: 1.7em;
    color:#00d084;
}

.price-big{
    font-size:50px;
    color:#00d084;

    margin:30px 0;
}

#whatsappBtn{
    padding:18px 40px;

    border:none;
    border-radius:50px;

    background:#25D366;

    color:white;

    font-size:18px;
    cursor:pointer;

    transition:0.3s;
}

#whatsappBtn:hover{
    transform:scale(1.05);
}
.email-link{
    color:#00d084;
    text-decoration:none;

    font-size:20px;

    transition:0.3s;
}

.email-link:hover{
    color:white;

    letter-spacing:1px;
}
.rent-box{
    background:rgba(15,15,15,0.95);

    padding:45px;

    border-radius:30px;

    color:white;

    max-width:550px;

    margin:auto;

}

.rent-box h2{
    font-size:45px;

    margin-bottom:25px;

    color:rgb(0, 208, 132);
}

.rent-box p{
    font-size:22px;

    margin-bottom:15px;

    color:#ddd;
}

.rent-box label{
    font-size:25px;
}

.rent-box input{
    width:100%;

    padding: 25px;

    margin-top: 20px;

    border:none;

    border-radius:18px;

    font-size:22px;

    background:#222;

    color:white;
}

.price-section{
    margin-top:35px;
}

.price-section h3{
    margin-bottom:20px;

    font-size:32px;
}

#finalTotal{
    color:gold;

    font-size:40px;
}

}