:root {
    --primary: #9c8a5a;
    --primary-light: #b9a87d;
    --primary-dark: #7d6d48;
    --secondary: #1a2639;
    --light: #f8f9fa;
    --dark: #343a40;
    --accent: #e8dfc7;
    --font-primary: 'Rufina', serif;
}

.hero {
    background-image: url('../image/packbg.jpg');
    background-size: cover;
    background-position:bottom;
    
    height: 730px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    
}

h1 {
    font-family: var(--font-primary);
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
}

.tour-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 350px;
    max-width: 400px;
    position: relative;
    transition: transform 0.3s ease;
}

.tour-card img {
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.tour-card:hover .tour-card-overlay {
    opacity: 1;
}

.tour-card:hover {
    transform: scale(1.05);
}

.tour-card p {
    height: 3em;
    line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-card-container {
    display: grid;
    padding: 15px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    overflow: visible;
}

h2 {
    color: #9c8a5a; /* Changed back to gold */
    font-family: var(--font-primary);
}

.number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9c8a5a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .tour-card-container {
        grid-template-columns: 1fr;
    }

    .tour-card img {
        height: 300px;
    }
}