:root {
    --primary: #5D8736;
    --primary-light: #809D3C;
    --primary-dark: #4A6C2C;
    --secondary: #1a2639;
    --light: #f8f9fa;
    --dark: #343a40;
    --accent: #F4FFC3;
    --font-primary: 'Playfair Display', serif;
}
body {
   font-family: 'Playfair Display', serif;
}
/* Hero Section Redesign */
.hero {
    background-image: url('../image/packagebgg.jpg');
    background-size: cover;
    background-position: center;
    height: 85vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-diagonal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(93, 135, 54, 0.7) 100%);
    transform: skewX(-20deg) translateX(20%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-hero {
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(93, 135, 54, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s infinite ease-in-out;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.floating-icon i {
    font-size: 1.5rem;
}

.floating-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    right: 25%;
    animation-delay: 1.5s;
}

.floating-3 {
    top: 40%;
    right: 35%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

h1 {
    font-family: var(--font-primary);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Tour Card Redesign - Simplified Version with DB Data Only */
.tour-card-container {
    display: grid;
    padding: 15px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tour-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}

/* Image container and effects */
.tour-card-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.tour-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.tour-card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.tour-card-badge-wrapper {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tour-card-badge {
    background-color: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tour-card-duration {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-card-duration i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Card body content */
.tour-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tour-card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.tour-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.tour-card-button {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--accent);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tour-card-button i {
    transition: transform 0.3s ease;
}

/* Shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Card hover effects */
.tour-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) rotate3d(0.5, 1, 0, 2deg);
}

.tour-card:hover .tour-card-img {
    transform: scale(1.05);
}

.tour-card:hover .tour-card-title {
    color: var(--primary);
}

.tour-card:hover .tour-card-button {
    background-color: var(--primary);
    color: white;
}

.tour-card:hover .tour-card-button i {
    transform: translateX(3px);
}

.tour-card:hover .card-shine {
    transform: translateX(100%);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        height: 70vh;
    }
    
    .hero-diagonal-overlay {
        width: 100%;
        transform: skewX(0) translateX(0);
        opacity: 0.3;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .floating-icon {
        display: none;
    }

    .tour-card-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .tour-card-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .tour-card-img-wrapper {
        height: 200px;
    }
    
    .hero-content {
        padding: 20px !important;
    }

    .tour-card-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-text {
        font-size: 1rem !important;
    }
    
    .btn-hero {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .tour-card-container {
        grid-template-columns: 1fr;
    }
    
    .tour-card-img-wrapper {
        height: 220px;
    }
    
    .tour-card:hover {
        transform: translateY(-3px);
    }
}