* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
}

/* HEADER */
header {
    background: #0a3d62;
    color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

/* 🔥 SMOOTH INFINITE SLIDER */
.slider {
    overflow: hidden;
    background: #000;
    padding: 15px 0;
}

.slide-track {
    display: flex;
    width: calc(280px * 8); /* 8 slides total */
    animation: scroll 20s linear infinite;
}

/* pause animation on hover */
.slider:hover .slide-track {
    animation-play-state: paused;
}

.slide {
    width: 260px;
    margin: 0 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

/* zoom effect */
.slide:hover {
    transform: scale(1.1);
}

/* PERFECT LOOP */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 4)); /* move half */
    }
}

/* HERO */
.hero {
    height: 80vh;
    background: url('pngs/20230405_101224.jpg') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero h2 {
    font-size: 50px;
    background: rgba(0,0,0,0.5);
    padding: 20px;
}

/* SECTIONS */
.section {
    padding: 50px;
    text-align: center;
}

.destinations {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    padding: 10px;
}

/* FORM */
form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin: 10px 0;
    padding: 10px;
}

form button {
    background: #0a3d62;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
}