/* Travel Tours Elementor Widget Styles */

.tt-elementor-widget {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tt-widget-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.tt-tour-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.tt-tour-grid.tt-columns-1 {
    grid-template-columns: 1fr;
}

.tt-tour-grid.tt-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tt-tour-grid.tt-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tt-tour-grid.tt-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.tt-tour-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tt-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tt-tour-image {
    position: relative;
    overflow: hidden;
}

.tt-tour-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tt-tour-card:hover .tt-tour-image img {
    transform: scale(1.05);
}

.tt-tour-content {
    padding: 1.5rem;
}

.tt-tour-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tt-tour-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tt-tour-title a:hover {
    color: var(--theme-palette-color-9, #00a884);
}

.tt-tour-excerpt {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tt-tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #333;
}

.tt-tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tt-tour-meta i {
    color: var(--theme-palette-color-9, #00a884);
}

.tt-price {
    font-weight: 600;
    color: #00a884; /* Sea pickle green */
    font-size: 1rem;
}

.tt-tour-actions {
    text-align: center;
}

.tt-book-btn {
    display: inline-block;
    background: #00a884; /* Sea pickle green */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tt-book-btn:hover {
    background: #008f72; /* Darker green on hover */
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.tt-no-tours {
    text-align: center;
    padding: 2rem;
    color: #333;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tt-tour-grid.tt-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tt-tour-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .tt-tour-grid.tt-columns-3,
    .tt-tour-grid.tt-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tt-tour-grid {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .tt-widget-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .tt-tour-grid.tt-columns-2,
    .tt-tour-grid.tt-columns-3,
    .tt-tour-grid.tt-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .tt-tour-grid {
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .tt-tour-content {
        padding: 1rem;
    }
    
    .tt-widget-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}