/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0f2c, #0f1b4d);
    color: white;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 🔥 IMPORTANT */
    padding: 15px 30px;
}

.logo img {
    width: 100px;
    margin-top: 30px;
    margin-left: 85px;

 }

 .nav-links{
    display: flex;
    align-items: center;
 }
/* NAV LINKS */
.nav-links a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    
    display: flex;
}

/* HOVER */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00d4ff;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: 
        linear-gradient(rgba(10,15,44,0.7), rgba(10,15,44,0.9)),
        url("cover img.jpeg") center/cover no-repeat;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 600px;
}

/* BUTTON */
.btn {
    background: #00d4ff;
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00d4ff;
}

/* ================= CONTENT ================= */
.content {
    padding: 80px 20px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

/* ================= FORM ================= */
form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    border: none;
}

/* ================= SLIDER ================= */
.slider {
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 15px;
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 12s infinite;
}

.slides img{
    width:100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* ANIMATION */
@keyframes slide {
    0%,33% {transform: translateX(0);}
    40%,66% {transform: translateX(-100%);}
    73%,100% {transform: translateX(-200%);}
}

/* ================= CARDS ================= */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 50px auto;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card h3 {
    color: #b3cae4;
}

.card p {
    font-size: 13px;
    opacity: 0.7;
}

/* PRICE */
.price {
    display: inline-block;
    background: #d6dfe9;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: black;
}

/* ================= DIVIDER ================= */
.divider {
    width: 100%;
    height: 6px;
    margin: 50px auto;
    background: linear-gradient(to right, transparent, #007BFF, transparent);
}

.divider-animated {
    text-align: center;
    margin: 60px 0;
}

.divider-animated span {
    font-size: 22px;
    font-weight: bold;
    color: #007BFF;
    position: relative;
    animation: glow 2s infinite alternate;
}

/* lignes */
.divider-animated span::before,
.divider-animated span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: #007BFF;
}

.divider-animated span::before { left: -120px; }
.divider-animated span::after { right: -120px; }

/* glow */
@keyframes glow {
    from { text-shadow: 0 0 5px #007BFF; }
    to { text-shadow: 0 0 20px #00d4ff; }
}

/* ================= FOOTER ================= */
.footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.footer-right a {
    margin-left: 15px;
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    color: #00d4ff;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 32px;
    }

    .slides img {
        height: 250px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* GRAND ECRAN */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 60px;
    }

    .hero p {
        font-size: 18px;
    }
}
.cover{
    border-radius: 20px;
    margin-right: 50px;
}