/* css/destinations.css */

.destinations-content {
    background-color: #f9f9f9;
    padding: 24px 5%;
}

.destinations-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('/images/safari_landscape3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 7rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.destinations-hero .eyebrow {
    color: var(--theme-orange, #F37021);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.destinations-hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.2;
    font-family: var(--font-heading, serif);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.destinations-hero .subtitle {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.15rem;
    color: #f0f0f0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.destinations-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 
   Destination Grid 
*/
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.destination-grid a {
    text-decoration: none;
    display: block;
}

.destination-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.destination-card:hover img {
    transform: scale(1.08);
}

.destination-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.destination-card-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.destination-card h3 {
    color: var(--theme-white, #fff);
    margin: 0;
    font-size: 32px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.destination-card:hover h3 {
    color: var(--theme-orange, #F37021);
}

