/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #fff;
     letter-spacing: 0.5px;
}

/* HEADER */
header {
    background: #000;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid gold;
}

header h1 {
    margin-bottom: 10px;
}

/* MENIU */
nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: gold;
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: url('../src/exemplu2.png') center/cover no-repeat;
    position: relative;
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0; /* IMPORTANT */
}

/* text și buton */
.hero h2,
.hero p,
.hero .btn {
    position: relative;
    z-index: 1; /* IMPORTANT */
    .hero p {
    margin-bottom: 30px;
}
}
.hero .btn {
    display: inline-block;
    margin-top: 10px;
}
/* BUTON */
.btn {
    padding: 14px 30px;
    background: gold;
    color: black;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: orange;
    transform: scale(1.05);
}

/* INFO */
.about {
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    margin: 10px 0;
    color: #ccc;
}

/* GALERIE */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* CONTACT */
.contact {
    padding: 50px;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 320px;
    margin: auto;
}

.contact input,
.contact textarea {
    margin: 10px 0;
    padding: 12px;
    border: none;
    border-radius: 6px;
}

.contact textarea {
    height: 100px;
}

button {
    padding: 12px;
    background: gold;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: orange;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.modal img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
}
.item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* overlay general */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    color: white;
    transform: translateY(100%);
    transition: 0.3s;
    font-weight: bold;
}

/* hover apare */
.item:hover .overlay {
    transform: translateY(0);
}

/* culori diferite */
.disponibil {
    background: rgba(0, 150, 0, 0.8);
}

.vandut {
    background: rgba(200, 0, 0, 0.8);
}
.features {
    text-align: center;
    padding: 60px 20px;
}

.features-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.features-box div {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    transition: 0.3s;
}

.features-box div:hover {
    transform: translateY(-5px);
    background: #333;
}