/* Custom Font Styles */
body {
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, 
.title_primary, 
.shortcode_title .title_primary {
    font-family: 'Cinzel', serif !important;
}

/* Ensure headings have a more consistent weight and style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons .fa-facebook:hover {
    color: #3b5998;
}

.social-icons .fa-instagram:hover {
    color: #e1306c;
}

.social-icons .fa-whatsapp:hover {
    color: #25d366;
}

/* Safari Packages Section Styling */
.safari-packages-section {
    background: linear-gradient(135deg, rgba(255,179,0,0.1) 0%, rgba(255,255,255,0.1) 100%);
    border-top: 3px solid #ffb300;
    border-bottom: 3px solid #ffb300;
    padding-top: 60px;
    padding-bottom: 60px;
}

.package-filter-menu {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.package-filter-menu .btn-group {
    background-color: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.package-filter-menu .btn {
    margin: 0 5px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.package-filter-menu .btn.active {
    background-color: #ffb300;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.package-filter-menu .btn:not(.active) {
    background-color: transparent;
    color: #333;
    border: 2px solid transparent;
}

.package-filter-menu .btn:not(.active):hover {
    border-color: #ffb300;
    color: #ffb300;
}

.package-item {
    transition: all 0.3s ease;
    transform: scale(1);
    opacity: 1;
}

.package-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.package-item .post_images {
    position: relative;
    overflow: hidden;
}

.package-item .post_images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
    z-index: 1;
}

.package-item .price {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ffb300;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
}

.package-item .wrapper_content {
    padding: 15px;
    background-color: white;
}

.package-item .read_more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
}

.package-item .read_more .item_rating {
    color: #ffb300;
}

.package-item .read_more .read_more_button {

    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.package-item .read_more .read_more_button:hover {
    color: #333;
}

/* Gallery Section Styling */
.gallery-section {
    background-color: #f9f9f9;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.gallery-item-wrap {
    position: relative;
    overflow: hidden;
}

.gallery-item-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-wrap:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #fff;
}

.gallery-caption {
    font-size: 0.9em;
    margin-bottom: 15px;
    color: #ddd;
}

.gallery-overlay .btn-primary {
    background-color: #ffb300;
    border-color: #ffb300;
    color: #fff;
    transition: all 0.3s ease;
}

.gallery-overlay .btn-primary:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .package-filter-menu .btn {
        margin: 5px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex-basis: calc(50% - 20px);
    }
    
    .gallery-item-wrap img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        flex-basis: 100%;
    }
    
    .gallery-item-wrap img {
        height: 200px;
    }
}
