/*
|--------------------------------------------------------------------------
| DESTINATION PAGE - SMALL DISPLAY (DEFAULT/MOBILE)
|--------------------------------------------------------------------------
*/

/* Hero Section */
.hero-destination {
    background: url("../../images/img/Destination.webp") no-repeat center center/cover;
    height: 90vh;

}


.hero-text {
    text-align: center;
    max-width: 500px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-text h1 {
    margin: 0;
    line-height: 0.9;
    font-size: 3rem;
}


/* Destinations Grid */
.destinations-grid-section {
    padding: 4rem 1rem;
    max-width: var(--maxw);
    margin: 0 auto;
    text-align: center;
}

.destinations-grid-section h2 {
    padding-left: 0; 
    padding-right: 0;
    margin-bottom: 2rem;
    color: var(--nav);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background-color: var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.destination-card .card-info {
    padding: 1.5rem;
}

.destination-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    padding: 0; /* Remove padding inherited from h3 base styles */
}

.destination-card p {
    font-size: 1rem;
    color: var(--ink2);
    margin-bottom: 1rem;
    padding: 0; /* Remove padding inherited from p base styles */
}

.destination-card .learn-more {
    display: inline-block;
    color: var(--nav);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.destination-card .learn-more:hover {
    color: var(--link-hover);
    border-color: var(--link-hover);
}


/*
|--------------------------------------------------------------------------
| DESTINATION PAGE - LARGE DISPLAY (DESKTOP OVERRIDES)
|--------------------------------------------------------------------------
*/
@media (min-width: 1200px) {
    .destinations-grid-section {
        padding: 6rem 4rem;
        text-align: left;
    }
    .destinations-grid-section h2 {
        text-align: left;
    }

    .hero-text {
    text-align: left;
    max-width: 500px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}
}
