/* 
 * Petrabax Tours Integration Styles
 * Description: Premium and elegant styling for Petrabax Tours.
 */

:root {
    --ptb-primary: #86b817; /* Petrabax green */
    --ptb-secondary: #ffb800; /* New! orange/yellow */
    --ptb-dark: #2c3e50;
    --ptb-light: #f8f9fa;
    --ptb-text: #333333;
    --ptb-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --ptb-hover-shadow: 0 15px 40px rgba(134, 184, 23, 0.2);
    --ptb-radius: 12px;
    --ptb-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.petrabax-tours-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ptb-text);
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Tabs Navigation */
.petrabax-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eef0f2;
    padding-bottom: 15px;
}

.petrabax-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-radius: var(--ptb-radius);
    transition: var(--ptb-transition);
    position: relative;
    overflow: hidden;
}

.petrabax-tab-btn:hover {
    color: var(--ptb-primary);
    background: rgba(134, 184, 23, 0.05);
}

.petrabax-tab-btn.active {
    color: #fff;
    background: var(--ptb-primary);
    box-shadow: 0 4px 15px rgba(134, 184, 23, 0.3);
}

/* Content Area */
.petrabax-content {
    position: relative;
}

.petrabax-tab-content {
    display: none;
    animation: ptbFadeIn 0.5s ease;
}

.petrabax-tab-content.active {
    display: block;
}

.petrabax-category-title {
    font-size: 28px;
    color: var(--ptb-dark);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.petrabax-category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: var(--ptb-primary);
    border-radius: 4px;
}

/* Grid Layout */
.petrabax-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Tour Card */
.petrabax-tour-card {
    background: #fff;
    border-radius: var(--ptb-radius);
    overflow: hidden;
    box-shadow: var(--ptb-shadow);
    transition: var(--ptb-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.petrabax-tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ptb-hover-shadow);
}

.petrabax-tour-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.petrabax-tour-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}

.petrabax-tour-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--ptb-secondary);
    color: var(--ptb-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.petrabax-tour-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.petrabax-tour-name {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--ptb-dark);
    line-height: 1.3;
}

.petrabax-tour-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.petrabax-tour-visiting {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.petrabax-btn {
    display: inline-block;
    text-align: center;
    background: var(--ptb-primary);
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--ptb-transition);
    border: 2px solid var(--ptb-primary);
    margin-top: auto;
}

.petrabax-btn:hover {
    background: transparent;
    color: var(--ptb-primary);
    text-decoration: none;
}

/* Animations */
@keyframes ptbFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .petrabax-tours-grid {
        grid-template-columns: 1fr;
    }
    .petrabax-tabs {
        flex-direction: column;
    }
    .petrabax-tab-btn {
        width: 100%;
        text-align: center;
    }
}
