/* goolge font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

/* hero */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url("../images/destinations/destinations-hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 3rem;
    color: #fff;
}

.hero-overlay p {
    color: #ddd;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* destinations */
.destinations {
    padding: 50px 8%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* image */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}


.price {
    margin: 15px 0;
    font-weight: bold;
    color: #0077ff;
}


button {
    padding: 10px;
    border: none;
    background: #0077ff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #005fcc;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card:hover img {
    transform: scale(1.1);
}

/* tablet */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* mobile */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }
}