/* ===== Home Page Styles (Redesigned) ===== */

/* --- Hero Section --- */
.hero-section {
    background: url('https://images.unsplash.com/photo-1552465011-b4e21bf6e79a?q=80&w=2039&auto=format&fit=crop') no-repeat center center/cover;
    min-height: 85vh; /* Taller, more immersive */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Ensure content is readable */
    color: #ffffff; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better text contrast */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-title {
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    color: #ffffff !important;
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-search-wrapper {
    transition: var(--transition);
}
.hero-search-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* --- Utilities --- */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }

/* --- Collection Cards (Destinations) --- */
.collection-card {
    height: 400px; /* Fixed height for consistency */
    border-radius: var(--radius);
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.collection-card .card-img {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.collection-card:hover .card-img {
    transform: scale(1.08); /* Slow zoom effect */
}

.gradient-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* --- Article Cards --- */
.article-card .card-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.article-card .card-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.article-card .icon-link i {
    transition: transform 0.3s ease;
}

.article-card:hover .icon-link i {
    transform: translateX(5px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section { min-height: 600px; }
    .hero-title { font-size: 2.5rem; }
    .collection-card { height: 300px; }
}
